diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-12 04:04:55 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-12 04:04:55 +0000 |
commit | 11fb04cddecff9d91e047dea8ad9fbb02bd5cc78 (patch) | |
tree | 09c75a89522fca01a8e0a9718a00750bef4f1ddb /themes | |
parent | 5fdcdc0e682f3ae42652bddea274e824e2a51974 (diff) |
Only the admin dashboard has a sidebar now.
admin.html.php looks for $sidebar and renders the page appropriately
if one exists. But only admin_dashboard has one currently.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/admin_default/views/admin.html.php | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index c94e64ee..e8c25f84 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -52,21 +52,11 @@ </div> </div> </div> + <? if ($sidebar): ?> <div id="gSidebar" class="yui-b"> - <div id="gAvailableBlocks" class="gBlock"> - <form class="gBlockContent"> - <fieldset> - <legend>Add Dashboard Blocks</legend> - <label for="">Available blocks</label> - <select name="" id=""> - <option>Somthing</option> - <option>Somthing else</option> - </select> - </fieldset> - </form> - </div> - <?= $theme->admin_sidebar_blocks() ?> + <?= $sidebar ?> </div> + <? endif ?> </div> <div id="ft"> <div id="gFooter"> |