From 3fc908d3a1d0f6c9b1fca690561098541a73266e Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 11:13:09 +0200 Subject: Version alpha_old5 2007-02-22+15:00:00 - 2007-03-11+16:30:15 --- .../app/include/ludo/html_elements.inc.php | 59 +++++++++++++++++----- 1 file changed, 46 insertions(+), 13 deletions(-) (limited to 'appli_3_alpha_old/app/include/ludo/html_elements.inc.php') diff --git a/appli_3_alpha_old/app/include/ludo/html_elements.inc.php b/appli_3_alpha_old/app/include/ludo/html_elements.inc.php index 4275653..f05f7e2 100644 --- a/appli_3_alpha_old/app/include/ludo/html_elements.inc.php +++ b/appli_3_alpha_old/app/include/ludo/html_elements.inc.php @@ -15,17 +15,29 @@ echo ''."\n" ' . "\n"; + + if ( isset($CONFIG['CSS']['CHOOSER_LIST']) ) + { + foreach ( $CONFIG['CSS']['CHOOSER_LIST'] as $cssfile ) + { + if ( $cssfile != $cssfilemain ) + { + echo ' ' . "\n"; + } + echo ' ' . "\n"; + } } - echo ' ' . "\n"; - echo ' ' . "\n"; ?> @@ -34,6 +46,7 @@ echo ''."\n" function generate_html_divs_menu() { +include 'config.inc.php'; ?>

AWOR

@@ -78,13 +94,14 @@ function generate_html_div_errmsg($errmsg) function generate_html_div_css_chooser() { - // TODO : fonction JS qui fait ce qu'il faut !! (a mettre dans le head ??) - require_once('config.inc.php'); + @include 'include/ludo/config.inc.php'; + @include 'config.inc.php'; + if ( ! is_array($CONFIG['CSS']['CHOOSER_LIST']) ) { return false; } - if ( isset($_COOKIE['awor']['custom_css'] ) ) { $css_selected=$_COOKIE['awor']['custom_css']; }; + if ( isset($_COOKIE['awor']['custom_css'] ) ) { $css_selected=$_COOKIE['awor']['custom_css']; }else{$css_selected='';}; echo '
' . "\n"; - echo ' ' . "\n"; foreach ( $CONFIG['CSS']['CHOOSER_LIST'] as $file => $name ) { echo '
'."\n"; @@ -106,30 +139,30 @@ function generate_html_div_back() function generate_html_dispo_inconnu($idP, $idC) { - echo 'Inconnu' . "\n"; + echo 'Inconnu' . "\n"; } function generate_html_dispo_oui($idP, $idC) { - echo 'Disponible' . "\n"; + echo 'Disponible' . "\n"; } function generate_html_dispo_non($idP, $idC) { - echo 'Non disponible' . "\n"; + echo 'Non disponible' . "\n"; } function generate_html_dispo_dire_oui($idR, $idC) { //~ echo 'Dire que je suis disponible' . "\n"; echo ""; - echo 'Dire que je suis disponible' . "\n"; + echo 'Dire que je suis disponible' . "\n"; } function generate_html_dispo_dire_non($idR, $idC) { echo ""; - echo 'Dire que je suis pas disponible' . "\n"; + echo 'Dire que je suis pas disponible' . "\n"; } function generate_html_reunion_detail_button($idR) -- cgit v1.2.3