diff options
| author | Rob Peters <makitso@gmail.com> | 2010-04-07 23:44:58 +0000 |
|---|---|---|
| committer | Rob Peters <makitso@gmail.com> | 2010-04-07 23:44:58 +0000 |
| commit | 35b69a556d4c53c0e1f18a8cf68bc1271c583426 (patch) | |
| tree | ad7e5992bb4258a124de36481cae645be7e79757 /themes/colors/header.php | |
| parent | f23f1637181450424b49cf4fadc6a75ea9f04a4e (diff) | |
| download | webtrees-35b69a556d4c53c0e1f18a8cf68bc1271c583426.tar.gz webtrees-35b69a556d4c53c0e1f18a8cf68bc1271c583426.tar.bz2 webtrees-35b69a556d4c53c0e1f18a8cf68bc1271c583426.zip | |
Add image files, fix browser issues
Diffstat (limited to 'themes/colors/header.php')
| -rw-r--r-- | themes/colors/header.php | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/themes/colors/header.php b/themes/colors/header.php index eab6d4efb0..c96e81bc6e 100644 --- a/themes/colors/header.php +++ b/themes/colors/header.php @@ -53,11 +53,6 @@ if ($ENABLE_RSS && !$REQUIRE_AUTHENTICATION) { echo '<link href="', urlencode($SERVER_URL.'rss.php?ged='.WT_GEDCOM), '" rel="alternate" type="', $applicationType, '" title="', htmlspecialchars($GEDCOM_TITLE), '" />'; } -if ($use_alternate_styles && $BROWSERTYPE != "other") { ?> - <link rel="stylesheet" href="<?php echo $THEME_DIR.$BROWSERTYPE; ?>.css" type="text/css" media="all" /> -<?php -} - if (WT_USE_LIGHTBOX) { if ($TEXT_DIRECTION=='rtl') { echo @@ -103,6 +98,12 @@ echo '<link type="text/css" href="themes/colors/modules.css" rel="Stylesheet" />', '<link rel="stylesheet" href="', $stylesheet, '" type="text/css" media="all" />'; +if ($use_alternate_styles && $BROWSERTYPE != "other") { ?> + <link rel="stylesheet" href="<?php echo $THEME_DIR.$BROWSERTYPE; ?>.css" type="text/css" media="all" /> +<?php +} + + if ((!empty($rtl_stylesheet))&&($TEXT_DIRECTION=="rtl")) {?> <link rel="stylesheet" href="<?php echo $rtl_stylesheet; ?>" type="text/css" media="all" /> <?php } @@ -112,9 +113,6 @@ flush(); // Allow the browser to start fetching external stylesheets, javascript ?> <!-- begin header section --> -<?php -if ($view!='simple') - {?> <div id="header" class="<?php echo $TEXT_DIRECTION; ?>"> <!-- begin colors code --> @@ -144,7 +142,6 @@ if ($view!='simple') </tr> </table> </div> -<?php } ?> <!--end colors code --> <?php include($toplinks); } ?> |
