aboutsummaryrefslogtreecommitdiff
path: root/www/inc/header.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/inc/header.inc.php')
-rw-r--r--www/inc/header.inc.php24
1 files changed, 15 insertions, 9 deletions
diff --git a/www/inc/header.inc.php b/www/inc/header.inc.php
index 483b6ef..970c651 100644
--- a/www/inc/header.inc.php
+++ b/www/inc/header.inc.php
@@ -1,14 +1,20 @@
<div class="stylenavbar">
-[ style:
-<?php
-foreach ($themes as $skin => $url) {
- echo "<a href=\"#\" title=\"$skin\"";
- echo " onclick=\"setActiveStyleSheet('$skin')\">";
- echo "$skin</a> \n";
-}
-?>
-]
+ <div id="styleshiden" style="display: block;">
+ <p><a href="javascript:toggle_div('styleshiden');toggle_div('stylesshown');">show styles</a></p>
+ </div>
+ <div id="stylesshown" style="display: none;">
+ <ul>
+ <?php
+ foreach ($themes as $skin => $url) {
+ echo "<li><a href=\"javascript:setActiveStyleSheet('$skin')\" title=\"$skin\">";
+ echo "$skin</a></li> \n";
+ }
+ ?>
+ </ul>
+ <p><a href="javascript:toggle_div('styleshiden');toggle_div('stylesshown');">hide styles</a></p>
+ </div>
</div>
+
<?php
echo "<h1 class=\"title\"><a href=\"http://$HostName$ThisScript\">Photo Gallery<span /></a></h1>\n\n";
?>