Separate permanent messages out of the message helper and put them

into site_status.  Show site status in the header in the admin theme.
This commit is contained in:
Bharat Mediratta
2008-12-29 00:35:31 +00:00
parent ed8689f768
commit b46bfdd492
5 changed files with 161 additions and 53 deletions

View File

@@ -28,6 +28,8 @@
<div id="doc4" class="yui-t5 gView">
<div id="hd">
<div id="gHeader">
<?= $theme->site_status() ?>
<?= $theme->admin_header_top() ?>
<ul id="gLoginMenu">
<li><?= html::anchor("albums/1", "Browse Gallery") ?></li>
<li id="gLogoutLink"><a href="<?= url::site("logout?continue=albums/1") ?>">Logout</a></li>
@@ -36,11 +38,10 @@
<div id="gSiteAdminMenu" class="gClearFix">
<?= $theme->admin_menu() ?>
</div>
<?= $theme->admin_header_bottom() ?>
</div>
</div>
<?= $theme->messages() ?>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
@@ -70,9 +71,10 @@
</div>
<div id="ft">
<div id="gFooter">
<?= $theme->admin_footer(); ?>
<?= $theme->admin_footer() ?>
Footer
</div>
<?= $theme->admin_credits() ?>
</div>
</div>
<?= $theme->admin_page_bottom() ?>