Commit Graph
5668 Commits
Author SHA1 Message Date
Andy Staudacher c2eee47465 Move site default_locale into DB (vars) and add a per user locale preference.
There's no UI to select the locale yet.
2009-02-10 02:37:16 +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 af944f9433 Use jquery ui's progressbar 2009-02-09 05:28:30 +00:00
Chad Kieffer ad80e86208 Indent fixes. 2009-02-09 02:11:59 +00:00
Chad Kieffer 08ae48aeaa Add hover state for buttons. 2009-02-09 02:10:19 +00:00
Chad Kieffer 622bada112 And the JS file that belongs with the previous commit. 2009-02-09 01:58:06 +00:00
Chad Kieffer 5d8a19ac5b Added a few element checks to make sure elements exist before trying to manipulate/initiate them. 2009-02-09 01:55:29 +00:00
Chad Kieffer aca2729eb6 Remove the "more" link until something's implemented that needs it. 2009-02-09 01:20:42 +00:00
Chad Kieffer 767bf41287 Dialogs don't need to be resizeable, at least not yet. 2009-02-09 01:19:54 +00:00
Bharat Mediratta 9f4fdcd8d5 Just reset the tag form after submission; no need to replace it with one from the backend because it's going to be the same form anyway. 2009-02-09 00:30:13 +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
Bharat Mediratta 053fa63fa1 Superfish is now in gallery3/trunk/lib/superfish 2009-02-08 23:51:59 +00:00
Bharat Mediratta b6b60bdc57 Copy Superfish 1.4.8 from the vendor branch 2009-02-08 23:49:43 +00:00
Bharat Mediratta a68ac7d2ce Fix dialogs in IE7 so that they appear. The sizes are still wrong, though. 2009-02-08 23:39:25 +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
Bharat Mediratta b31c79a71f Fix a bug that I think I introduced in my last sendmail refactor where
I inverted the expectations on the result from mail() causing image
uploads to fail (even though the mail gets sent!)
2009-02-08 20:01:15 +00:00
Bharat Mediratta 0f13f12638 Fix spelling typo 2009-02-08 19:55:48 +00:00
Chad Kieffer aa1abbf82a Let the theme control overlay opacity for dialogs. 2009-02-08 19:35:10 +00:00
Chad Kieffer 8e3bb143c9 Removed duplicated images from vendor move. 2009-02-08 19:33:00 +00:00
Chad Kieffer 7156df3a23 Missed deleting these in move to lib. 2009-02-08 19:23:38 +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
Tim Almdal 3b944bca5d Use the ORM method delete_all to remove selected records from the
database instead of calling the Database::query with raw sql.
2009-02-08 18:03:31 +00:00
Tim Almdal 0f9c5feb89 Use the ORM method delete_all to remove selected records from the
database instead of calling the Database::query with raw sql.
2009-02-08 17:32:37 +00:00
Bharat Mediratta 3a83c4e76f Properly implement changing the thumbnail and resized image sizes by
updating the graphics rules as appropriate.
2009-02-08 10:18:09 +00:00
Bharat Mediratta 442d9295c6 Change mark_all_dirty to mark_dirty and specify what we want to mark dirty. This will be useful for Admin_Theme_Details 2009-02-08 06:40:57 +00:00
Tim Almdal 41ed142f5d A better fix for the problem with special characters (this simple 2
line change replaces r19995, r19998-r20001 (thanks Bharat)
2009-02-08 02:27:45 +00:00
Tim Almdal 1fc2307fab rollback r20001-r19998, r19995. This may require a reinstall 2009-02-08 02:21:28 +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 d9b4d96c67 Use Album or Photo in the title instead of Item 2009-02-07 22:11:44 +00:00
Bharat Mediratta 7494a93692 Merged /gallery3/vendor/exifer/modified:r20011
Now we have the Gallery3 preamble on all exifer files.
2009-02-07 22:09:29 +00:00
Tim Almdal 37d90e663c Adding exifer library 2009-02-07 21:44:19 +00:00
Bharat Mediratta 1d9a3f70b1 Fix indentation. 2009-02-07 21:37:42 +00:00
Tim Almdal 12701b1801 The start of the exif module. so I can merger the exifer library 2009-02-07 21:21:08 +00:00
Tim Almdal 54646583bc Remove the try/catch as it was being fixed twice 2009-02-07 21:05:04 +00:00
Chad Kieffer ce826c3048 Updated jQuery UI in lib to 1.6rc6. Removed opacity settings in openDialog, refactored showLoading() a bit. 2009-02-07 21:01:52 +00:00
Chad Kieffer 8f382c8f42 Removed done todo items, removed tr.gClassName to allow class to be applied to more than just table rows. 2009-02-07 19:28:26 +00:00
Tim Almdal 90277704a2 Changed the way album and photo creation guards against duplicate
names.
Added similiar code to insure that path names are not duplicated.
2009-02-07 18:12:06 +00:00
Tim Almdal 69e0d72b93 Updated comments on photo::create to reflect the inclusion of the
owner_id and shamelessly broke it into two changes to to the 20k commit.
2009-02-07 17:27:09 +00:00
Tim Almdal 43dff9f95f Updated comments on album::create to reflect the inclusion of the owner_id 2009-02-07 17:26:17 +00:00
Tim Almdal a3704c8dd8 Assign the Album|Photo path field explicitly instead of hiding that in
the item::__set magic method.
2009-02-07 17:16:48 +00:00
Tim Almdal 8a738ed241 Correct comment on factory 2009-02-06 22:10:08 +00:00
Tim Almdal 4e107dac41 Implement fix for ticket #35. *** Requires reinstall of core ***
* Added new field in items table (path) which is sanitized version of
name.
* Added __set method on Items_module to set the path field whenever
the name field is changed.
* Made some changes to the scaffolding so missing the path column
would not kill the scaffolding.
* Changed MY_url::site so not having a 3rd parameter won't throw an error.
2009-02-06 16:39:18 +00:00
Chad Kieffer 48acd42f9b Missed these in previous commit. Make view icons darker 2009-02-06 06:38:53 +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
Tim Almdal 80d4df3a4a Convert all item->type == "album" to item->is_album()
Convert all item->type == "photo" to item->is_photo()
2009-02-06 03:47:36 +00:00
Chad Kieffer 196ef392ab Move admin_default table styles to default for consistency. 2009-02-06 02:10:00 +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
Tim Almdal 04fe9da190 Addressed the issues in ticket 34.
Surround the the attempt to use gd_info with a try catch block.
Created a new class gInstalledToolkit which has the highlighting and
the over pointer definition.  Now if you mouse across an inactive
toolkit it remains inert.
2009-02-05 23:29:44 +00:00