Commit Graph

9 Commits

Author SHA1 Message Date
Bharat Mediratta
b46bfdd492 Separate permanent messages out of the message helper and put them
into site_status.  Show site status in the header in the admin theme.
2008-12-29 00:35:31 +00:00
Felix Rabinovich
82ed38d78e Ajaxify 'add users' 2008-12-25 20:59:33 +00:00
Bharat Mediratta
c7193f9b2e Normalize our Admin controllers so that functions always print out
their results, as opposed to having them return their view back
upstream.  This is a little more code in every controller, but it's
much less magical and more consistent.

Look up the active_theme and active_admin_theme inside the view
itself, no need to do that in the controllers.  This makes view
initialization easier in the controllers.
2008-12-24 04:22:22 +00:00
Bharat Mediratta
bdc0876fa8 Add messaging system for reporting actions back to the user. Make
module install/uninstall work and tie it into the messaging system.
2008-12-22 06:50:20 +00:00
Bharat Mediratta
b526cc8c0b Add some admin theme callbacks and make them explicitly admin_xxx for consistency
with the callbacks in the xxx_block helpers.  So in the theme we have:

admin.html.php:
  $theme->admin_page_bottom()

then in the helpers:

core_block.php:
  function admin_page_bottom() { }
2008-12-22 03:53:36 +00:00
Bharat Mediratta
ac4bb34cf2 Add admin sidebar blocks, and move the stats block into that pattern. 2008-12-20 01:00:52 +00:00
Bharat Mediratta
aee3efe972 Create a pattern for admin dashboard blocks and make the "welcome"
block.
2008-12-20 00:52:20 +00:00
Bharat Mediratta
c67234974d Refactor site admin menu into a theme function and build the menus in
the various modules.  In the process, rename xxx_menu::site_navigation() to just
xxx_menu::site().  And add xxx_menu::admin().

The menus are the same as before, but I changed the HTML to be
consistent with the way that we do it in the regular site, and this
broke the superfish styles.  I don't know how to fix this.. help me
Chad!
2008-12-18 07:32:34 +00:00
Bharat Mediratta
20f6be62c8 Add Admin_View 2008-12-15 01:49:25 +00:00