diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-19 09:47:13 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-19 09:47:13 +0000 |
commit | 855a5928ce74f72352c454c3d613eea60d39682c (patch) | |
tree | 11ed47e82529b4318f0ce8a3f720e5e5c1d29e17 /themes | |
parent | 2438dba3961265e92cbc804ca07e893ba50e03d1 (diff) |
Create a new pattern for Site Admin controllers:
1) They must all start with "admin_". This pattern is not directly
routable.
2) Their urls must be /admin/xxx.
3) The Admin_Controller will take the xxx and look for Admin_Xxx_Controller
and will delegate to that admin controller, after doing security checks.
Moved the users and dashboard views into individual modules for now.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/admin_default/views/dashboard.html.php | 57 | ||||
-rw-r--r-- | themes/admin_default/views/users.html.php | 13 |
2 files changed, 0 insertions, 70 deletions
diff --git a/themes/admin_default/views/dashboard.html.php b/themes/admin_default/views/dashboard.html.php deleted file mode 100644 index 1cfd8e23..00000000 --- a/themes/admin_default/views/dashboard.html.php +++ /dev/null @@ -1,57 +0,0 @@ -<? 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> - -<div class="gBlock"> - <h2>Status Messages</h2> - <ul class="gBlockContent gMessages"> - <li class="gWarning"><a href="#" title="">Gallery 3.1 is available, you're running Gallery 3.0. Update now!</a></li> - <li class="gError"><a href="#" title="">Unable to write to /home/username/gallery3/var</a></li> - <li class="gSuccess"><a href="#" title="">Permissions issues fixed</a></li> - <li class="gInfo"><a href="#" title="">Just a plain information message</a></li> - <li class="gHelp"><a href="#" title="">Contextual help or tip<br/>And here's a second line</a></li> - </ul> -</div> - -<div id="gPhotoStream" class="gBlock"> - <h2>Photo Stream</h2> - <div class="gBlockContent"> - <p>Recent photos added to your Gallery</p> - <img src="<?= $theme->url("images/photostream.png") ?>" alt="" /> - <p class="gWarning">Slider type of display. Show titles underneath or on hover. Draw a keyline around albums, or differentiate some how. Each will be linked to item view</p> - </div> -</div> - -<div id="gLogEntries" class="gBlock"> - <h2>Recent Comments</h2> - <ul class="gBlockContent"> - <li><a href="">hacker</a> 2008-12-10 23:02:23 Something happened</li> - <li><a href="">username</a> 2008-12-10 23:02:23 Someone logged in</li> - <li><a href="">username</a> 2008-12-10 23:02:23 New module installed</li> - <li><a href="">username</a> 2008-12-10 23:02:23 Someone logged in</li> - <li><a href="">username</a> 2008-12-10 23:02:23 RSS feed updated</li> - </ul> -</div> - -<div id="gLogEntries" class="gBlock"> - <h2>Log Entries</h2> - <ul class="gBlockContent"> - <li>2008-12-10 23:02:23 Something happened</li> - <li>2008-12-10 23:02:23 Someone logged in</li> - <li>2008-12-10 23:02:23 New module installed</li> - <li>2008-12-10 23:02:23 Someone logged in</li> - <li>2008-12-10 23:02:23 RSS feed updated</li> - </ul> -</div> diff --git a/themes/admin_default/views/users.html.php b/themes/admin_default/views/users.html.php deleted file mode 100644 index 5e43fae9..00000000 --- a/themes/admin_default/views/users.html.php +++ /dev/null @@ -1,13 +0,0 @@ -<? defined("SYSPATH") or die("No direct script access."); ?> -<div class="gBlock"> - <a href="" class="gClose">X</a> - <h2>User Administration</h2> - <div class="gBlockContent"> - <p>These are the users in your system</p> - <table> - <? foreach ($users as $i => $user): ?> - <tr><td><?= $user->name ?></td></tr> - <? endforeach ?> - </table> - </div> -</div> |