diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 00:52:20 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-20 00:52:20 +0000 |
| commit | aee3efe972317b49329703e354cc1d90afdf9488 (patch) | |
| tree | cf683bfe84b85270c7c8d1193da7495a931908b9 /core/views | |
| parent | 30d541cb26b1754afdf0f5130dcf75af40457251 (diff) | |
Create a pattern for admin dashboard blocks and make the "welcome"
block.
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/admin_dashboard.html.php | 16 | ||||
| -rw-r--r-- | core/views/admin_dashboard_welcome.html.php | 11 |
2 files changed, 12 insertions, 15 deletions
diff --git a/core/views/admin_dashboard.html.php b/core/views/admin_dashboard.html.php index 1cfd8e23..4603a8bf 100644 --- a/core/views/admin_dashboard.html.php +++ b/core/views/admin_dashboard.html.php @@ -1,19 +1,5 @@ <? defined("SYSPATH") or die("No direct script access."); ?> -<div class="gBlock"> - <h2>Welcome to Gallery 3!</h2> - <div class="gBlockContent"> - <p>This is your administration dashboard and it provides a quick overview of status messages, - recent updates, and frequently used options. Add or remove blocks and rearrange them - to tailor to your needs. The admin menu provides quick access to all of Gallery 3's options - and settings. Here are a few of the most used options to get you started.</p> - <ul> - <li><a href="#">General Settings</a> - General configuation options for your Gallery.</li> - <li><a href="#">Modules</a> - Manage available and installed modules.</li> - <li><a href="#">Presentation</a> - Choose a theme, set image sizes.</li> - </ul> - </div> -</div> - +<?= $theme->dashboard_blocks(); ?> <div class="gBlock"> <h2>Status Messages</h2> <ul class="gBlockContent gMessages"> diff --git a/core/views/admin_dashboard_welcome.html.php b/core/views/admin_dashboard_welcome.html.php new file mode 100644 index 00000000..996adc9f --- /dev/null +++ b/core/views/admin_dashboard_welcome.html.php @@ -0,0 +1,11 @@ +<p> + This is your administration dashboard and it provides a quick overview of status messages, + recent updates, and frequently used options. Add or remove blocks and rearrange them + to tailor to your needs. The admin menu provides quick access to all of Gallery 3's options + and settings. Here are a few of the most used options to get you started. +</p> +<ul> + <li><a href="#">General Settings</a> - General configuation options for your Gallery.</li> + <li><a href="#">Modules</a> - Manage available and installed modules.</li> + <li><a href="#">Presentation</a> - Choose a theme, set image sizes.</li> +</ul> |
