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.
This commit is contained in:
Bharat Mediratta
2009-01-12 04:04:55 +00:00
parent 5fdcdc0e68
commit 11fb04cdde
4 changed files with 21 additions and 14 deletions

View File

@@ -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">