Bharat Mediratta
921f3a2eee
Put csrf token into Admin_View and Theme_View by default, then use it
...
directly wherever possible instead of access::csrf_token().
2009-03-27 03:43:21 +00:00
Bharat Mediratta
2067314186
untabify
2009-03-25 01:34:04 +00:00
Tim Almdal
863e353911
rollback of r20469... see trac #161
2009-03-20 17:20:17 +00:00
Tim Almdal
48c022e8cb
Rather than moving the themeroller and all of its associated files
...
into each theme. I chose to create methods Theme_View::file($path)
and Admin_View::file($path). These methods check for a theme override
file in the theme and return a link to it if it exists. So to
override the themeroller files. just create a lib/themeroller in the
theme and the files will be picked up.
2009-03-20 14:59:55 +00:00
Chad Kieffer
3dbf9e1c82
Remove YUI grids hd and ft ids, we don't need and they're cluttering our HTML.
2009-03-19 16:01:41 +00:00
Andy Staudacher
e031957354
File structure style fixes
2009-02-24 05:54:19 +00:00
Bharat Mediratta
bcea2a6228
Hide the menu until we can superfish it so that we don't see the
...
unstyled list appear which causes the page layout to flicker.
2009-02-15 22:52:01 +00:00
Chad Kieffer
d487558369
Fixed gViewMenu button issues. Fixed major admin_default theme issues, content now clears the menu. Added IE-specific stylesheet to admin theme.
2009-02-12 04:25:43 +00:00
Chad Kieffer
b15e0c7529
Move close X back over to the right of the titlebar.
2009-02-09 00:28:15 +00:00
Bharat Mediratta
fd9a0b2a5d
Superfish is now in gallery3/trunk/lib/superfish
2009-02-08 23:53:15 +00:00
Chad Kieffer
f7d226bd31
Move jQuery UI ThemeRoller css and images to lib. Should simplify future updates, keep default theme directories clean.
2009-02-08 19:17:19 +00:00
Chad Kieffer
ffa1fa45f6
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-25 06:55:24 +00:00
Bharat Mediratta
8ec0e8471f
Drag and drop in the admin dashboard now saves the location.
...
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00
Andy Staudacher
e4a9b19bf9
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
2009-01-15 10:02:41 +00:00
Bharat Mediratta
bc421a615a
Implement deleting dashboard blocks.
...
* Refactor blocks so that they have a separate id vs css_id. This way
we can have a unique identifier for each visual block.
* Store blocks with a random id as their unique identifier
* Add Admin_Dashboard::remove_block() and modify
themes/admin_default/views/block.html.php to call it when you click the
remove box.
2009-01-12 08:26:38 +00:00
Chad Kieffer
d880c0b7e2
If there's sidebar content, use yui-t5. If none, yui-t7.
2009-01-12 04:24:53 +00:00
Bharat Mediratta
11fb04cdde
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.
2009-01-12 04:04:55 +00:00
Chad Kieffer
5fdcdc0e68
Applied jquery ui dialog titlebar to dashboard blocks to add a close button. It's not semantically "nice" but it works for now.
2009-01-12 03:49:19 +00:00
Bharat Mediratta
59202b943e
Make the logos link back to the main album page for easy navigation.
2009-01-12 00:42:14 +00:00
Chad Kieffer
88246de0ff
Add all the files jquery ui needs, including css for each widget. ui.all.css includes calls to the widget css we're currently using. Add new widget css here.
2009-01-12 00:22:55 +00:00
Chad Kieffer
15c25d85ec
Switch the pager to use themeroller's icon sprites. I applied jquery ui css classes to newly added span classes in the pager templates directly, will likely move these out and apply through ui.init.js later.
2009-01-10 21:50:35 +00:00
Chad Kieffer
e82afcebfa
Site message placement and style adjustments.
2009-01-10 19:33:01 +00:00
Chad Kieffer
dd5c70fc39
Make the admin theme header fully visible at 1024px wide. Revert to larger Gallery logo.
2009-01-10 18:34:25 +00:00
Felix Rabinovich
006f18dc7a
Split themes into two tabs for regular and admin themes
2009-01-10 08:00:43 +00:00
Chad Kieffer
7569b39802
Updated to jquery ui 1.6rc4. Lots of changes, improved widget theme css and icons. No need to fix position dialogs anymore. Included the following in the combined file + i18n files. Requires push back up to vendor branch.
...
UI Core
Effects Core
Draggable - Req'd by Sortable
Resizeable - Image/watermark/avatar scaling
Sortable - Rearrange
Dialog - All over :)
Datepicker - Edit albums/items
Progressbar
Highlight - Message display, comment addition
Transfer - Adding tags from available list to field
Not fully integrated into the default theme yet.
2009-01-10 06:25:44 +00:00
Chad Kieffer
5690e58c45
Move site status message to the very top of the page, before the header.
2009-01-10 05:59:43 +00:00
Andy Staudacher
a631fe29f3
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
...
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00
Bharat Mediratta
3d4cf6f27e
Added avatar.jpg and pager.html.php (used in comments module)
2009-01-08 02:46:42 +00:00
Chad Kieffer
a57ede2f96
Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
2009-01-03 01:11:20 +00:00
Chad Kieffer
7db1758e93
More admin menu cleanup to reduce it's height. Removed redundant admin theme images, these are included in the default theme. Added a favicon.
2009-01-02 22:06:12 +00:00
Chad Kieffer
19d144496d
Remove Superfish navbar CSS. It's not being used.
2009-01-02 21:25:44 +00:00
Chad Kieffer
1ce19a994d
Set the admin layout to 100% of the window. Add IE fix stylesheet for admin theme, reduce height of admin header.
2009-01-02 20:09:28 +00:00
Chad Kieffer
5321c8d59d
Switched admin menu from navbar back to plain menu, plain dropdowns are more usable. Minor text formatting updates.
2009-01-02 07:09:25 +00:00
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
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
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
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