Tim Almdal
0d5d4c81bc
Move the ui for user adminsitration back to the user module.
2009-10-14 21:20:30 -07:00
Tim Almdal
2af4806011
Refactor the ui component of the user module into the gallery core module.
2009-10-13 13:19:17 -07:00
Chad Kieffer
121fcab5c8
Replaced most clear fix hacks with generic class.
2009-10-07 00:46:02 -06:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Chad Kieffer
9145331fd4
Renamed and moved gOdd/gEven CSS classes.
2009-10-03 12:33:53 -06:00
Chad Kieffer
e1e8904e4a
Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog.
2009-09-30 22:49:36 -06:00
Chad Kieffer
1f252f0609
Missed g-right application on add group
2009-09-30 21:52:51 -06:00
Chad Kieffer
72672bda39
Replaced gButtonLink with g-button.
2009-09-30 08:04:49 -06:00
Chad Kieffer
daa3a2b43c
First round of CSS refactor updates. Added calls to gallery.common.css from wind and admin_wind. Replaced basic text align and block float classes. Removed section #2 from both themes screen styles.
2009-09-30 00:32:52 -06:00
Andy Staudacher
2bc73e2e36
Fix XSS vectors in HTML attributes (mostly t() calls)
2009-08-31 21:51:57 -07:00
Andy Staudacher
b9bd1681a3
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
2009-08-29 22:54:20 -07:00
Andy Staudacher
a5dfc81a8f
Merge commit 'upstream/master'
...
Conflicts:
modules/akismet/views/admin_akismet.html.php
modules/comment/helpers/comment_rss.php
modules/gallery/helpers/gallery_rss.php
modules/gallery/libraries/I18n.php
modules/gallery/views/permissions_browse.html.php
modules/gallery/views/simple_uploader.html.php
modules/info/views/info_block.html.php
modules/organize/controllers/organize.php
modules/organize/views/organize.html.php
modules/organize/views/organize_album.html.php
themes/default/views/album.html.php
themes/default/views/movie.html.php
themes/default/views/photo.html.php
2009-08-29 14:17:48 -07:00
Andy Staudacher
c01ac42c46
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
...
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
2009-08-29 12:48:40 -07:00
Tim Almdal
445a8fb1b6
Change galleryPanel and galleryDialog widgets to gallery_panel and gallery_dialog respectively
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-08-08 02:08:42 +08:00
Tim Almdal
a302a9c3fa
Refactor the gallery dialog into a jQuery widget
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-08-08 02:08:28 +08:00
Bharat Mediratta
41b8f943a6
Convert instances of theme_url() to just url() to match the API change
...
made in dbeadc1407
2009-07-23 10:20:49 -07:00
Bharat Mediratta
6e8a8c53e6
Rename $theme->url() to $theme->theme_url() for consistency wiht
...
$theme->theme_script().
2009-06-28 19:49:48 -07:00
unostar
08a5b75345
Add string to localizer
2009-06-15 02:02:25 -07:00
Bharat Mediratta
3d89951c77
Create gallery::date_time(), gallery::date() and gallery::time()
...
functions that format a unix timestamp into a date+time/date/time
string.
Partial fix for ticket #347 .
Signed-off-by: <unostar@danalan.info >
2009-06-13 20:10:24 +08:00
jhilden
277c96c2f6
user admin facelift
...
* added drag & drop help message for empty groups
* fixed overflow issue with more than ~10 members in one group
* CSS improvements
2009-05-31 18:25:43 -04:00
Bharat Mediratta
9369ccab7f
Run all variables that come from user-entered data through p::clean()
2009-05-31 01:02:51 -07:00
Chad Kieffer
2966289b14
Quick fix for ticket #144 . Reapply event handler for delete link gDialog when group is refreshed.
2009-05-26 05:05:04 +00:00
Chad Kieffer
94e36344b2
Link to gallery.panel.js from the head, not body.
2009-05-26 05:00:19 +00:00
Chad Kieffer
88e1f02c1a
Split out re-used JavaScript for common functions (messages, valign), panel toggle, and forms to external files.
2009-05-26 03:59:35 +00:00
Bharat Mediratta
7abe611a62
Make the 'this user cannot be deleted' link actually not clickable.
2009-05-13 03:59:42 +00:00
Bharat Mediratta
b9aeec634d
Colorize admin user rows to make them stand out
2009-05-13 03:44:55 +00:00
Tim Almdal
f1eec57221
Add a weight column to the items model. Change the album ordering to
...
use this as the default instead of id. This prepares the way for
manual reordering in the organize functionality.
2009-04-05 16:57:51 +00:00
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
07310c8499
Add slightly more visual feedback when you're hovering over a
...
draggable user. Also, drag the icon and name not just the icon.
2009-02-26 03:05:29 +00:00
Chad Kieffer
1ef090cd15
Remove second Add User button, don't need it, at least not now.
2009-02-23 01:51:18 +00:00
Chad Kieffer
d739d1ea46
Button mania continues. Make edit and delete user/group links buttons, buttons, buttons!
2009-02-11 05:35:11 +00:00
Chad Kieffer
cdae043999
Clean up add user and group buttons to move the + icon to the left. The + icon doesn't appear within the button outline with buttons that aren't floated. Will have to debug later.
2009-02-08 20:45:09 +00:00
Chad Kieffer
67d551d5e3
jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page.
2009-02-06 06:34:47 +00:00
Chad Kieffer
d656b6a3e6
Beginning of edit user panel fix. Form is displayed again. Added display of user email address to list.
2009-02-03 06:45:43 +00:00
Chad Kieffer
8a4eb9eed2
For consistency with the rest of the admin UI, display User list as table, not list. Apply cursor: move to jQuery UI draggable and sortable. Clean up admin table styles a bit.
2009-02-01 18:37:45 +00:00
Bharat Mediratta
6091350c94
Fix lint errors
2009-01-29 03:23:46 +00:00
Bharat Mediratta
6bfadc14ed
Fully implement the user administration backend with drag/drop to add
...
users to groups.
2009-01-28 22:42:50 +00:00
Bharat Mediratta
1a62a26a36
Add drag and drop support to the admin_users interface. This is still
...
a work in progress but it actually works mostly.
2009-01-28 09:50:15 +00:00
Bharat Mediratta
ca8e92376a
Add gravatars to users
2009-01-27 21:57:41 +00:00
Bharat Mediratta
9048a5afca
Clean up indentation
2009-01-27 21:54:22 +00:00
Chad Kieffer
57f5cdeb30
Use url:site() on add user link, change user list from class to id to make it unique, changed gFirstRow to gHeaderRow to make more semantically meaningful. Fixed closing span that I broke after Bharat fixed it last night.
2009-01-25 21:17:04 +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
b0ad4e0222
Fix all 'add' links and make them open in a dialog
2009-01-25 02:29:01 +00:00
Bharat Mediratta
7c317fa6f2
Fix indentation which helped me to find an extra </span>. Simplified
...
some of the logic.
2009-01-25 02:21:53 +00:00
Chad Kieffer
55cd2afde5
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-24 20:06:13 +00:00
Chad Kieffer
6941af664f
Ajaxified user edit forms. They're populated, but don't submit yet.
2009-01-23 06:19:19 +00:00
Jakob Hilden
1cc5d36657
toggling of user edit panel works now.
...
added groups to the admin_user view, so you will eventually be able to edit users, groups and memberships on one admin page.
2009-01-22 08:37:58 +00:00
Chad Kieffer
ddb995eaf6
Added new UI element, gPanel, which is a similar mechanism to gDialog. Panels are hidden inline elements that can be revealed within list items, tables cells, etc. Still need to add the toggle off and ajaxify content.
2009-01-22 06:35:55 +00:00
Jakob Hilden
6d99c29172
totally incomplete version of user admin UI.
2009-01-20 22:16:25 +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