diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:29:21 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:29:21 +0200 |
commit | 4f0df31cc153855d099e4c06228a6cf1bf51eeca (patch) | |
tree | 0c93c6b44d7b7025935d822d4209172ef0eef2b8 /beta_old1/app/include/ludo/html_elements.inc.php | |
parent | 19cdd5e2fde57d53f05570cd50f5ffd223182566 (diff) | |
download | 2007-AWOR-4f0df31cc153855d099e4c06228a6cf1bf51eeca.tar.gz 2007-AWOR-4f0df31cc153855d099e4c06228a6cf1bf51eeca.tar.bz2 2007-AWOR-4f0df31cc153855d099e4c06228a6cf1bf51eeca.zip |
Version beta_old1 (sans la doc) 2007-02-22+15:00 - 2007-03-11+16:41:00
Diffstat (limited to 'beta_old1/app/include/ludo/html_elements.inc.php')
-rw-r--r-- | beta_old1/app/include/ludo/html_elements.inc.php | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/beta_old1/app/include/ludo/html_elements.inc.php b/beta_old1/app/include/ludo/html_elements.inc.php index 41fd812..b845f28 100644 --- a/beta_old1/app/include/ludo/html_elements.inc.php +++ b/beta_old1/app/include/ludo/html_elements.inc.php @@ -15,10 +15,10 @@ echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n" <meta name="author" content="Jérémie Dénoyer, Ludovic Pouzenc, Andriana Semouchtchak, Julien Sérè" /> <script type="text/javascript" src="script.js"></script> <?php - $cssfilemain=''; - if ( isset($_COOKIE['awor']['custom_css'] ) ) + //print_r($_COOKIE['aworcustom_css']); + if ( /*isset($_COOKIE['aworcustom_css'])*/ false ) { - $cssfilemain = $_COOKIE['awor']['custom_css']; + $cssfilemain = $_COOKIE['aworcustom_css']; } else { @@ -56,6 +56,7 @@ include 'config.inc.php'; <li><a href="listes.php">Listes</a></li> <li><a href="profil.php">Mon profil</a></li> <li><a href="ical.php">iCal</a></li> + <li><a href="apropos.php">A Propos</a></li> <?php if ( isset($_SESSION['session_loginP']) && (is_integer(array_search($_SESSION['session_loginP'],$CONFIG['SUPERUSERS'],true))) ) { echo ' <li><a href="admin.php">Administration</a></li>' . "\n"; } ?> @@ -75,7 +76,7 @@ function generate_html_div_help($help_file='') //if ( @fopen($help_file, 'r')!==false ) { echo '<div id="no_help">' . "\n<h2><a href=\"#css_standard\" onclick=\"setActiveStyleSheet('standard');\">?</a></h2>\n" . "</div>\n"; - echo '<div id="help">' . "\n<h2><a href=\"#css_nohelp\" onclick=\"setActiveStyleSheet('nohelp');\">Aide</a></h2>\n"; + echo '<div id="help">' . "\n"; readfile($help_file); echo "</div>\n"; } @@ -100,14 +101,15 @@ function generate_html_div_css_chooser() if ( ! is_array($CONFIG['CSS']['CHOOSER_LIST']) ) { return false; } - if ( isset($_COOKIE['awor']['custom_css'] ) ) { $css_selected=$_COOKIE['awor']['custom_css']; }else{$css_selected='';}; + if ( isset($_COOKIE['aworcustom_css'] ) ) { $css_selected=$_COOKIE['aworcustom_css']; }else{$css_selected='';}; echo '<div class="css_chooser">' . "\n"; + //print_r($_COOKIE); echo ' <select id="switcherCSS" onchange="switchCSS();">' . "\n"; foreach ( $CONFIG['CSS']['CHOOSER_LIST'] as $file => $name ) { - echo ' <option value="' . $file; - if ( $file == $css_selected ) { echo ' selected="selected'; } - echo '">' . $name . '</option>' . "\n"; + echo ' <option value="' . $file . '"'; + if ( $file == $css_selected ) { echo ' selected="selected"'; } + echo '>' . $name . '</option>' /*. "$DEBUG:file=$file, css_selected=$css_selected"*/ . "\n"; } echo ' </select>'. "\n"; echo '</div>'. "\n"; @@ -133,7 +135,7 @@ function generate_html_div_footer() </a> </li> <li class="right"> - <span class="discret">Application réalisée par Jérémie Dénoyer, Ludovic Pouzenc, Julien Séré et Andriana Semouchtchak</span> + <span class="discret">Application réalisée par Jérémie Dénoyer,<br /> Ludovic Pouzenc, Julien Séré et Andriana Semouchtchak</span> </li> </ul> </div> |