summaryrefslogtreecommitdiff
path: root/themes/colors/toplinks.php
diff options
context:
space:
mode:
authorRob Peters <makitso@gmail.com>2010-07-10 14:16:09 +0000
committerRob Peters <makitso@gmail.com>2010-07-10 14:16:09 +0000
commitd2f3bca9950dd37ffa13d5167ca48e5adb6e6757 (patch)
tree0300718e9f23f077e803e7d264d31a3259d6f57b /themes/colors/toplinks.php
parentf0e6ff0c595751cd98d029d789c13ee1e95a792e (diff)
downloadwebtrees-d2f3bca9950dd37ffa13d5167ca48e5adb6e6757.tar.gz
webtrees-d2f3bca9950dd37ffa13d5167ca48e5adb6e6757.tar.bz2
webtrees-d2f3bca9950dd37ffa13d5167ca48e5adb6e6757.zip
Consolidate toplinks into header script
Diffstat (limited to 'themes/colors/toplinks.php')
-rw-r--r--themes/colors/toplinks.php40
1 files changed, 18 insertions, 22 deletions
diff --git a/themes/colors/toplinks.php b/themes/colors/toplinks.php
index 6a1f788e8e..81aa1c27db 100644
--- a/themes/colors/toplinks.php
+++ b/themes/colors/toplinks.php
@@ -33,13 +33,12 @@ if (!defined('WT_WEBTREES')) {
}
$menubar = new MenuBar();
-?>
-<table id="toplinks">
- <tr>
- <td class="toplinks_left">
- <table align="<?php print $TEXT_DIRECTION=="ltr"?"left":"right" ?>">
- <tr>
-<?php
+
+echo '<table id="toplinks">',
+ '<tr>',
+ '<td class="toplinks_left">',
+ '<table align="', $TEXT_DIRECTION=="ltr"?"left":"right", '">',
+ '<tr>';
$menu = $menubar->getGedcomMenu();
if($menu->link != "") {
echo "<td>";
@@ -112,19 +111,16 @@ $menubar = new MenuBar();
$menu->printMenu();
echo "</td>";
}
-?>
- </tr>
- </table>
- </td>
-<?php if(empty($SEARCH_SPIDER)) { ?>
- <td class="toplinks_right">
- <div align="<?php echo $TEXT_DIRECTION=="rtl"?"left":"right" ?>" >
- <?php echo color_theme_dropdown(); ?>
- </div>
- </td>
-<?php } ?>
- </tr>
- </table>
-<!-- close div for div id="header" -->
-<div id="content">
+echo '</tr>',
+ '</table>',
+ '</td>';
+ if(empty($SEARCH_SPIDER)) {
+ echo '<td class="toplinks_right">',
+ '<div align="', $TEXT_DIRECTION=="ltr"?"left":"right", '">',
+ 'color_theme_dropdown()',
+ '</div>',
+ '</td>';
+ }
+echo '<tr>',
+ '</table>';