Bharat Mediratta
cd1d023754
Change the preamble for views in two ways:
...
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
have short_tags enabled (the app won't work, but we need to make sure that we're
still secure)
2009-01-01 00:23:29 +00:00
Bharat Mediratta
11d2788af8
Refactor common dialog JS code out into lib/gallery.dialog.js
2009-01-01 00:06:52 +00:00
Bharat Mediratta
22a7983bbd
Re-add $theme->messages(), which got accidentally removed.
2008-12-29 04:12:21 +00:00
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
0bef37eb0b
To reset a form use resetForm
2008-12-26 05:36:08 +00:00
Felix Rabinovich
7f95c80e88
User Administration. Edit users. Take 3
2008-12-26 00:58:15 +00:00
Chad Kieffer
847d42682d
Switch gFailure back to gError. Makes more sense semantically.
2008-12-25 23:31:41 +00:00
Chad Kieffer
caaa521927
Update message CSS: gFailure, gInfo, gSuccess, gWarning. Removed gHelp, it's not a message type.
2008-12-25 23:22:38 +00:00
Bharat Mediratta
3d42234d57
Clone dialog support over from themes/default (for now)
2008-12-25 22:29:26 +00:00
Felix Rabinovich
82ed38d78e
Ajaxify 'add users'
2008-12-25 20:59:33 +00:00
Bharat Mediratta
da7fe5154a
Merge in updated jquery-ui which contains the accordion widget, delete
...
explicit references to accordion widget from admin ui.
2008-12-25 08:14:41 +00:00
Bharat Mediratta
5ca952fe61
jquery-ui.packed.js --> jquery-ui.js
2008-12-25 08:11:46 +00:00
Felix Rabinovich
481352c382
User administration: 1. Add users; 2. Group administration; 3. General cleanup
2008-12-25 02:16:41 +00:00
Felix Rabinovich
c76d730a7c
Edit user - first draft
2008-12-23 21:44:35 +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
68e9dcf027
Move Platform and Project News admin sidebar blocks into the new
...
modular structure.
2008-12-20 01:08:39 +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
30d541cb26
Copy this from the default theme and change <h3> to <h2>
2008-12-20 00:51:15 +00:00
Bharat Mediratta
855a5928ce
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.
2008-12-19 09:47:13 +00:00
Chad Kieffer
12e9c136f2
Add a bit more space under gHeader.
2008-12-19 06:10:45 +00:00
Chad Kieffer
6a58deb3a1
Missed this in last commit. Say it with me, run svn status before svn ci :)
2008-12-19 02:02:38 +00:00
Chad Kieffer
4a4ec2b486
Restored admin menu. Restored call to default theme's style sheet during development, to simplify the process. Admin specific styles go in admin_default/css/screen.css. Moved jquery files out to css and js.
2008-12-19 01:54:53 +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
Tim Almdal
bc40b48729
revert the creation of a global gallery3 javascript variable
2008-12-15 05:08:22 +00:00
Tim Almdal
30c6ba48ea
Forgot the quotes
2008-12-15 04:55:09 +00:00
Tim Almdal
e665a21038
Set up a global gallery3 javascript variable where we can put things that need to be passed into the javascript
2008-12-15 04:53:16 +00:00
Felix Rabinovich
a91492bc29
added missing png file to admin theme
2008-12-15 02:42:30 +00:00
Bharat Mediratta
2812f34732
Rename default_admin to admin_default.
2008-12-15 01:55:07 +00:00
Bharat Mediratta
2842a1a8be
Argh, fix a bad rename.
2008-12-15 01:52:04 +00:00
Bharat Mediratta
1127257f63
Rename default_admin to admin_default.
2008-12-15 01:50:52 +00:00