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 /core/views | |
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 'core/views')
-rw-r--r-- | core/views/admin_dashboard_main.html.php | 2 | ||||
-rw-r--r-- | core/views/admin_dashboard_sidebar.html.php | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/core/views/admin_dashboard_main.html.php b/core/views/admin_dashboard_main.html.php new file mode 100644 index 00000000..cfe7bac2 --- /dev/null +++ b/core/views/admin_dashboard_main.html.php @@ -0,0 +1,2 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<?= $theme->admin_dashboard_blocks() ?> diff --git a/core/views/admin_dashboard_sidebar.html.php b/core/views/admin_dashboard_sidebar.html.php new file mode 100644 index 00000000..b9bce0ef --- /dev/null +++ b/core/views/admin_dashboard_sidebar.html.php @@ -0,0 +1,14 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<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() ?> |