Overview
SHA1:f7d2a56ab1814c494ce78bacec744c53181ab389
Date: 2016-06-25 12:33:49
User: bohwaz
Comment:Ajout de balise #URL_CSS_DEFAUT pour que la CSS pointe sur la version modifiée si elle l'a été
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-07-20
13:05
[e148c3909c] Fix typo CSS, signalé par @sebastien (user: bohwaz, tags: trunk)
2016-06-25
12:33
[f7d2a56ab1] Ajout de balise #URL_CSS_DEFAUT pour que la CSS pointe sur la version modifiée si elle l'a été (user: bohwaz, tags: trunk)
2016-06-24
13:34
[6719940972] typo (user: bohwaz, tags: trunk, stable)
Changes

Modified src/include/lib/Garradin/Squelette.php from [67661ea4c3] to [26448fef49].

210
211
212
213
214
215
216






217
218
219

220
221
222
223
224
225
226
227
228

        $this->assign('url_racine', WWW_URL);
        $this->assign('url_site', WWW_URL);
        $this->assign('url_atom', WWW_URL . 'feed/atom/');
        $this->assign('url_elements', WWW_URL . 'squelettes/');
        $this->assign('url_admin', WWW_URL . 'admin/');







        $lang = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) 
            ? preg_replace('/^.*(\w{2}).*$/Ui', '$1', $_SERVER['HTTP_ACCEPT_LANGUAGE'])
            : '';

        
        $this->assign('langue_visiteur', strtolower($lang));
    }

    public function __construct()
    {
        $this->_registerDefaultModifiers();
        $this->_registerDefaultTags();
    }







>
>
>
>
>
>
|
<
<
>
|
|







210
211
212
213
214
215
216
217
218
219
220
221
222
223


224
225
226
227
228
229
230
231
232
233

        $this->assign('url_racine', WWW_URL);
        $this->assign('url_site', WWW_URL);
        $this->assign('url_atom', WWW_URL . 'feed/atom/');
        $this->assign('url_elements', WWW_URL . 'squelettes/');
        $this->assign('url_admin', WWW_URL . 'admin/');

        $url = file_exists(DATA_ROOT . '/www/squelettes/default.css')
            ? WWW_URL . 'squelettes/default.css'
            : WWW_URL . 'squelettes-dist/default.css';

        $this->assign('url_css_defaut', $url);

        $lang = \Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);


        $lang = strtolower(substr($lang, 0, 2));

        $this->assign('langue_visiteur', $lang);
    }

    public function __construct()
    {
        $this->_registerDefaultModifiers();
        $this->_registerDefaultTags();
    }

Modified src/www/squelettes-dist/entete.html from [b267a242f4] to [a49afe476b].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="utf-8" />
    <title>[(#TITRE) - ]#NOM_ASSO</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, target-densitydpi=device-dpi" />
    <link rel="stylesheet" type="text/css" href="[(#URL_SITE)]squelettes-dist/default.css" media="screen,projection,handheld" />
    <link rel="alternate" type="application/atom+xml" title="Actualité de #NOM_ASSO" href="#URL_ATOM" />
    <!--[if lte IE 8]>
    <script type="text/javascript">
  	'article aside footer header nav section time'.replace(/\w+/g,function(n){document.createElement(n)})
	</script>
    <![endif]-->
</head>






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="utf-8" />
    <title>[(#TITRE) - ]#NOM_ASSO</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, target-densitydpi=device-dpi" />
    <link rel="stylesheet" type="text/css" href="[(#URL_CSS_DEFAUT)]" media="screen,projection,handheld" />
    <link rel="alternate" type="application/atom+xml" title="Actualité de #NOM_ASSO" href="#URL_ATOM" />
    <!--[if lte IE 8]>
    <script type="text/javascript">
  	'article aside footer header nav section time'.replace(/\w+/g,function(n){document.createElement(n)})
	</script>
    <![endif]-->
</head>