-<div id="notify" class="notify"><span id="notify_body"> </span></div>
-
-<div id="prefFooter">
- <?php if (defined('_DEBUG_USER_SWITCH')) { ?>
- <select id="userSwitch" onchange="userSwitch()">
- <?php
- foreach (array('admin', 'fox', 'test') as $u) {
- $op_sel = ($u == $_SESSION["name"]) ? "selected" : "";
- print "<option $op_sel>$u</option>";
- }
- ?>
- </select>
- <?php } ?>
- <a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> v<?php echo VERSION ?> © 2005-2007 <a href="http://bah.org.ru/">Andrew Dolgov</a>
+<div id="main" dojoType="dijit.layout.BorderContainer">
+
+<div dojoType="dijit.layout.TabContainer" region="center" id="pref-tabs">
+<div id="genConfigTab" dojoType="dijit.layout.ContentPane"
+ href="backend.php?op=pref-prefs"
+ title="<?php echo __('Preferences') ?>"></div>
+<div id="feedConfigTab" dojoType="dijit.layout.ContentPane"
+ href="backend.php?op=pref-feeds"
+ title="<?php echo __('Feeds') ?>"></div>
+<div id="filterConfigTab" dojoType="dijit.layout.ContentPane"
+ href="backend.php?op=pref-filters"
+ title="<?php echo __('Filters') ?>"></div>
+<div id="labelConfigTab" dojoType="dijit.layout.ContentPane"
+ href="backend.php?op=pref-labels"
+ title="<?php echo __('Labels') ?>"></div>
+<?php if ($_SESSION["access_level"] >= 10) { ?>
+ <div id="userConfigTab" dojoType="dijit.layout.ContentPane"
+ href="backend.php?op=pref-users"
+ title="<?php echo __('Users') ?>"></div>
+ <div id="systemConfigTab" dojoType="dijit.layout.ContentPane"
+ href="backend.php?op=pref-system"
+ title="<?php echo __('System') ?>"></div>
+<?php } ?>
+<?php
+ PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS,
+ "hook_prefs_tabs", false);
+?>