diff options
Diffstat (limited to 'appli_3_alpha_old/include/ludo/html_elements.inc.php')
-rw-r--r-- | appli_3_alpha_old/include/ludo/html_elements.inc.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/appli_3_alpha_old/include/ludo/html_elements.inc.php b/appli_3_alpha_old/include/ludo/html_elements.inc.php index 511ea58..4275653 100644 --- a/appli_3_alpha_old/include/ludo/html_elements.inc.php +++ b/appli_3_alpha_old/include/ludo/html_elements.inc.php @@ -14,20 +14,20 @@ echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n" <meta name="description" content="Application Web d'Organisation de Réunion (AWOR). Facilite la vie des organisateurs !" /> <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 - if ( isset($_COOKIE['awor']['custom_css'] ) ) - { - $cssfile = $_COOKIE['awor']['custom_css']; - } - else - { - include 'config.inc.php'; - $cssfile=$CONFIG['CSS']['CHOOSER_LIST']['standard']; - } - echo '<link href="css/' . $cssfile . '.css" rel="stylesheet" type="text/css" />' . "\n"; - echo '<link href="css/' . $cssfile . '_nohelp.css" rel="alternate stylesheet" type="text/css" title="nohelp"/>' . "\n"; - echo '<!--<link href="css/print.css" rel="alternate stylesheet" type="text/css" title="print"/>-->' . "\n"; - ?> +<?php + if ( isset($_COOKIE['awor']['custom_css'] ) ) + { + $cssfile = $_COOKIE['awor']['custom_css']; + } + else + { + include 'config.inc.php'; + $cssfile=$CONFIG['CSS']['CHOOSER_LIST']['standard']; + } + echo ' <link href="css/' . $cssfile . '.css" rel="stylesheet" type="text/css" />' . "\n"; + echo ' <link href="css/' . $cssfile . '_nohelp.css" rel="alternate stylesheet" type="text/css" title="nohelp"/>' . "\n"; +?> + <link href="css/print.css" rel="alternate stylesheet" type="text/css" title="print"/> </head> <?php } @@ -122,13 +122,13 @@ function generate_html_dispo_non($idP, $idC) function generate_html_dispo_dire_oui($idR, $idC) { //~ echo '<img src="./images/button_ok.png" alt="Dire que je suis disponible" height="25" width="25" />' . "\n"; - echo "<a href=\"#dispo_idC${idC}\" onclick=\"loadid('include/ludo/majDispo.php?idR=$idR&idC=$idC&estDispo=oui','dispo_idC${idC}',false);\">"; + echo "<a href=\"#dispo_idC${idC}\" onclick=\"loadid('include/ludo/majDispo.php?idR=$idR&idC=$idC&estDispo=oui','dispo_idC${idC}',false);\">"; echo '<img src="./images/button_ok.png" alt="Dire que je suis disponible" height="25" width="25" /></a>' . "\n"; } function generate_html_dispo_dire_non($idR, $idC) { - echo "<a href=\"#dispo_idC${idC}\" onclick=\"loadid('include/ludo/majDispo.php?idR=$idR&idC=$idC&estDispo=non','dispo_idC${idC}',false);\">"; + echo "<a href=\"#dispo_idC${idC}\" onclick=\"loadid('include/ludo/majDispo.php?idR=$idR&idC=$idC&estDispo=non','dispo_idC${idC}',false);\">"; echo '<img src="./images/button_del.png" alt="Dire que je suis pas disponible" height="25" width="25" /></a>' . "\n"; } |