diff options
Diffstat (limited to 'themes/colors')
| -rw-r--r-- | themes/colors/header.php | 30 | ||||
| -rw-r--r-- | themes/colors/theme.php | 2 |
2 files changed, 16 insertions, 16 deletions
diff --git a/themes/colors/header.php b/themes/colors/header.php index e355226ae5..f6b4ffdad2 100644 --- a/themes/colors/header.php +++ b/themes/colors/header.php @@ -70,7 +70,7 @@ echo echo - $javascript, + $javascript, '<script type="text/javascript" src="js/jquery/jquery.min.js"></script>', '<script type="text/javascript" src="js/jquery/jquery-ui.min.js"></script>', '<script type="text/javascript" src="js/jquery/jquery.tablesorter.js"></script>', @@ -84,27 +84,27 @@ echo <?php if ($TEXT_DIRECTION=='rtl') { ?> <link type="text/css" href="<?php echo WT_THEME_DIR?>jquery/jquery-ui_theme_rtl.css" rel="Stylesheet" /> -<?php } +<?php } echo '<link rel="stylesheet" href="', $modules, '" type="text/css" />', '<link rel="stylesheet" href="', $stylesheet, '" type="text/css" media="all" />'; - + if ($BROWSERTYPE!='other') { ?> <link rel="stylesheet" href="<?php echo $THEME_DIR.$BROWSERTYPE; ?>.css" type="text/css" media="all" /> -<?php +<?php } - - -if ((!empty($rtl_stylesheet))&&($TEXT_DIRECTION=="rtl")) {?> - <link rel="stylesheet" href="<?php echo $rtl_stylesheet; ?>" type="text/css" media="all" /> + + +if ((!empty($rtl_stylesheet))&&($TEXT_DIRECTION=="rtl")) {?> + <link rel="stylesheet" href="<?php echo $rtl_stylesheet; ?>" type="text/css" media="all" /> <?php } echo '</head><body id="body" ', $bodyOnLoad, '>'; ?> <!-- Remove header for edit windows --> <!-- begin header section --> -<?php +<?php if ($view!='simple') { echo '<div id="header" class="', $TEXT_DIRECTION, '">', @@ -114,7 +114,7 @@ if ($view!='simple') { '<div class="title">'; print_gedcom_title_link(TRUE); echo '</div></td><td>'; - if (empty($SEARCH_SPIDER)) { + if (empty($SEARCH_SPIDER)) { echo '<div style="float:', WT_CSS_REVERSE_ALIGN, ';"><ul class="makeMenu">'; if (WT_USER_ID) { echo @@ -141,21 +141,21 @@ if ($view!='simple') { if ($ALLOW_THEME_DROPDOWN && get_site_setting('ALLOW_USER_THEMES')) { echo ' | ', MenuBar::getThemeMenu()->getMenuAsList(); } - echo + echo '</span> | <form style="display:inline;" action="search.php" method="get">', '<input type="hidden" name="action" value="general" />', '<input type="hidden" name="topsearch" value="yes" />', '<input type="text" name="query" size="15" value="', i18n::translate('Search'), '" onfocus="if (this.value==\'', i18n::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', i18n::translate('Search'), '\';" />', '<input type="image" src="', WT_THEME_DIR, 'images/go.gif', '" align="top" alt="', i18n::translate('Search'), '" title="', i18n::translate('Search'), '" />', '</form>', - '</ui></div>'; + '</ui></div>'; } echo '</td></tr></table></div>'; ?> <!--end header section --> <!--begin menu section --> -<?php +<?php echo '<table id="toplinks"><tr><td class="toplinks_left">', '<table align="', $TEXT_DIRECTION=="ltr"?"left":"right", '">', @@ -196,7 +196,7 @@ if ($view!='simple') { echo '<td>', $menu->getMenu(), '</td>'; } $menus=MenuBar::getModuleMenus(); - foreach ($menus as $m=>$menu) { + foreach ($menus as $m=>$menu) { if ($menu) { $menu->addLabel('', 'none'); echo '<td>', $menu->getMenu(), '</td>'; @@ -208,7 +208,7 @@ if ($view!='simple') { echo '<td>', $menu->getMenu(), '</td>'; } echo '</tr></table></td>'; - if (empty($SEARCH_SPIDER)) { + if (empty($SEARCH_SPIDER)) { echo '<td class="toplinks_right"><div align="', $TEXT_DIRECTION=="rtl"?"left":"right", '">'; echo color_theme_dropdown(); echo '</div></td>'; diff --git a/themes/colors/theme.php b/themes/colors/theme.php index 4e0ba09d69..93f0eebc8f 100644 --- a/themes/colors/theme.php +++ b/themes/colors/theme.php @@ -50,7 +50,7 @@ function color_theme_dropdown($style=0) { /** * Define the default palette to be used. Set $subColor * to one of the collowing values to determine the default: - * + * */ $COLOR_THEME_LIST=array( |
