Commit Graph

32 Commits

Author SHA1 Message Date
Bharat Mediratta
63edb37076 Fix up the quick-edit code on the photos page. Everything but "move"
is implemented.  Can't do move easily because it's tricky to handle
the post-move redirect.
2009-04-06 08:10:42 +00:00
Chad Kieffer
a57d0d93a8 Add quick edit pane to resize images, ticket #189 2009-03-31 05:14:40 +00:00
Chad Kieffer
0695be1ccf Restore $extra_attrs in img tags. Roll back to using .gThumbnail in quick pane. 2009-03-20 04:39:27 +00:00
Tim Almdal
4da37ecb23 Fix for ticket #152. Somewhere along the line we we stopped using
gThumbnail as a class.  Changed the selector to select the image from
".gThumbnail" to ".Quick img"
2009-03-18 18:55:48 +00:00
Chad Kieffer
33eb05ef9a Applied jQuery UI buttons to quick edit pane. Not tested, but icons should display iin IE6 now. Rotate icons will need to be updated later. 2009-03-05 06:03:04 +00:00
Andy Staudacher
dce6548431 Add local localization functionality. Local = no means to upload / download translations to a translation server yet.
- Added an outgoing_translations table to store translations from the local translation UI.
 - I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority.
 - Not handling plural strings in the translations UI yet.
2009-02-09 08:42:13 +00:00
Andy Staudacher
fa1f49d99a Adding translation UI. Not backed by any model yet (submissions are ignored).
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166).
2009-02-09 07:29:24 +00:00
Bharat Mediratta
7ebbe189d4 Implement the "additional options" part of the quick menu. It's only
for albums, because we don't currently have additional options for
photos yet.
2009-02-08 00:42:17 +00:00
Bharat Mediratta
1d9a3f70b1 Fix indentation. 2009-02-07 21:37:42 +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
c166042313 Apply default link styles to links in dialogs, including the Forgot Password link. 2009-02-06 01:47:42 +00:00
Chad Kieffer
7521465ec3 Use jQuery UI close icon for full size close. Quote and code cleanup 2009-02-05 22:34:29 +00:00
Tim Almdal
4607c2521e Improve the close icon so it doesn't look as much like an envelope.
Also add resizing to the fullsize image if the windo size changes.
2009-02-05 20:44:24 +00:00
Tim Almdal
63ca443649 Add full size image display. Changes the core menu now checks that the
user has authotization before displaying the view fullsize icon.  It
probably needs a better icon, (but u make do with what u have or don't
have :-) )
2009-02-05 18:12:33 +00:00
Bharat Mediratta
b4f92c7de6 Add delete support as a quick-edit option 2009-01-29 09:26:39 +00:00
Bharat Mediratta
b9e8ce4190 Quick edit now lets you set the album cover. 2009-01-20 08:54:15 +00:00
Chad Kieffer
0bbde9e059 Added gQuick to album_top, started implementation, but incomplete so far. Need edit album methods added to the quick controller. 2009-01-15 06:19:26 +00:00
Chad Kieffer
e7d7396f7a Minor display updates for quick edit menu. 2009-01-15 04:32:34 +00:00
Chad Kieffer
c383b2fc35 Visually attach the quick edit menu to the thumbnail container. Added more edit options (move, select as album cover, delete, additional options).
Need to decide which belong in the bar and which belong in a dropdown menu under "options."
2009-01-14 06:36:47 +00:00
Chad Kieffer
5f17ae4f02 Update quick edit markup, styles, js. One step towards jquery ui theme. 2009-01-13 06:20:35 +00:00
Bharat Mediratta
712a97addd Don't make the overlay opaque when we're doing a dialog-based edit. 2009-01-06 04:32:15 +00:00
Bharat Mediratta
06b4145b76 Quick edit dialogs should stay on the same page and trigger a reload. 2009-01-05 08:20:07 +00:00
Bharat Mediratta
7482b6683e Add "quick edit" which lets you edit a photo's details from the albums
page.
2009-01-05 08:05:50 +00:00
Bharat Mediratta
99804a34b2 Rename:
gQuickEdit to gQuick
   quick_edit -> quick
2009-01-04 19:54:38 +00:00
Chad Kieffer
85574d7b82 CSS/JS formatting and selector updates. 2009-01-04 00:35:12 +00:00
Bharat Mediratta
8ed5200101 Add a loading dialog when we quickedit. 2009-01-03 20:13:08 +00:00
Bharat Mediratta
0402e326cb Resize the quickedit box after rotation. 2009-01-03 05:52:20 +00:00
Bharat Mediratta
e8f1ff580c Add a new quick-edit mode for editing photos when viewing albums.
Implement image rotation this way.
2009-01-03 05:36:16 +00:00
Tim Almdal
1af3b8e100 Changes to the Menu.php:
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively.
2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added.  All elements of class gMenuDialog have the gDialogLink class added.
3) Use Superfish for the menus so they now float properly.
2008-12-11 19:01:47 +00:00
Tim Almdal
ee2299d6d0 Restructure Menu processing to respect the differnent types of menu items (Menu's, Menu_Link, Menu_Dialog) 2008-12-08 00:23:33 +00:00
Tim Almdal
3449827c5a Change the menu processing to add the gDialogLink class if the url starts with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that 2008-12-07 22:10:23 +00:00
Tim Almdal
954fcf0342 Merge gallery3/branches/menus back into gallery3/trunk 2008-12-07 19:45:46 +00:00