summaryrefslogtreecommitdiff
path: root/final/app/include/ludo/html_elements.inc.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-05 00:34:06 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-05 00:34:06 +0200
commite7cf0e99f41ab8ba3bab8aed516123c6f4ff3979 (patch)
tree979d1bd14bd76882f44704b51873404adf297809 /final/app/include/ludo/html_elements.inc.php
parent35a23f6145bb772b9bfa8c8eeb500aa8c02437d3 (diff)
download2007-AWOR-e7cf0e99f41ab8ba3bab8aed516123c6f4ff3979.tar.gz
2007-AWOR-e7cf0e99f41ab8ba3bab8aed516123c6f4ff3979.tar.bz2
2007-AWOR-e7cf0e99f41ab8ba3bab8aed516123c6f4ff3979.zip
Version final-03-27-12h
Diffstat (limited to 'final/app/include/ludo/html_elements.inc.php')
-rw-r--r--final/app/include/ludo/html_elements.inc.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/final/app/include/ludo/html_elements.inc.php b/final/app/include/ludo/html_elements.inc.php
index 35eaa68..a252662 100644
--- a/final/app/include/ludo/html_elements.inc.php
+++ b/final/app/include/ludo/html_elements.inc.php
@@ -16,9 +16,9 @@ echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n"
<script type="text/javascript" src="script.js"></script>
<?php
//print_r($_COOKIE['aworcustom_css']);
- if ( /*isset($_COOKIE['aworcustom_css'])*/ false )
+ if ( isset($_COOKIE['aworchoose_css']) )
{
- $cssfilemain = $_COOKIE['aworcustom_css'];
+ $cssfilemain = $_COOKIE['aworchoose_css'];
}
else
{
@@ -27,7 +27,7 @@ echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n"
}
echo ' <link href="css/' . $cssfilemain . '.css" rel="stylesheet" type="text/css" />' . "\n";
echo ' <link href="css/' . $cssfilemain . '_nohelp.css" rel="stylesheet" type="text/css" title="nohelp" />' . "\n";
-
+/*
if ( isset($CONFIG['CSS']['CHOOSER_LIST']) )
{
foreach ( $CONFIG['CSS']['CHOOSER_LIST'] as $cssname => $cssfile )
@@ -39,6 +39,7 @@ echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n"
}
}
}
+*/
?>
<link href="css/print.css" rel="alternate stylesheet" type="text/css" title="print"/>
</head>
@@ -101,15 +102,15 @@ function generate_html_div_css_chooser()
if ( ! is_array($CONFIG['CSS']['CHOOSER_LIST']) ) { return false; }
- if ( isset($_COOKIE['aworcustom_css'] ) ) { $css_selected=$_COOKIE['aworcustom_css']; }else{$css_selected='';};
+ if ( isset($_COOKIE['aworchoose_css'] ) ) { $css_selected=$_COOKIE['aworchoose_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 '>' . htmlentities($name, ENT_QUOTES) . '</option>' /*. "$DEBUG:file=$file, css_selected=$css_selected"*/ . "\n";
+ echo ' <option value="' . $name . '"';
+ if ( $name == $css_selected ) { echo ' selected="selected"'; }
+ echo '>' . htmlentities($file, ENT_QUOTES) . '</option>' /*. "$DEBUG:file=$file, css_selected=$css_selected"*/ . "\n";
}
echo ' </select>'. "\n";
echo '</div>'. "\n";
@@ -120,10 +121,10 @@ function generate_html_div_footer()
?>
<div id="footer">
<ul>
- <li class="left">
+ <li class="csschooser">
<?php generate_html_div_css_chooser(); ?>
</li>
- <li class="center">
+ <li class="wwwc">
<a href="http://validator.w3.org/check/referer">
<img src="./images/vxhtml.gif" alt="Validate" height="31" width="88" />
</a>
@@ -134,8 +135,8 @@ function generate_html_div_footer()
<img src="./images/wai.gif" alt="W3C-WAI level A conformance icon" height="31" width="88" />
</a>
</li>
- <li class="right">
- <span class="discret">Application r&eacute;alis&eacute;e par J&eacute;r&eacute;mie D&eacute;noyer,<br /> Ludovic Pouzenc, Julien S&eacute;r&eacute; et Andriana Semouchtchak</span>
+ <li class="author">
+ Application r&eacute;alis&eacute;e par :<ul><li>J&eacute;r&eacute;mie D&eacute;noyer</li><li>Ludovic Pouzenc</li><li>Julien S&eacute;r&eacute;</li><li>Andriana Semouchtchak</li></ul>
</li>
</ul>
</div>