Bharat Mediratta
0f2ec1ef19
Rename 'Language Settings' -> 'Language' since it's under the Settings menu anyway
2009-02-10 09:09:27 +00:00
Bharat Mediratta
afa1805f15
Remove redundant "Gallery"
2009-02-10 08:32:33 +00:00
Bharat Mediratta
0782cbe78f
single -> double quotes.
2009-02-10 08:30:37 +00:00
Bharat Mediratta
df9268d80a
remove leading slash from Forge url.
2009-02-10 08:29:24 +00:00
Andy Staudacher
b2f20ff766
style fixes (style for method names, style for vars in locale.php)
2009-02-10 06:12:16 +00:00
Andy Staudacher
62f3724acb
Adding UI for site language selection and user language preference.
2009-02-10 05:37:42 +00:00
Bharat Mediratta
fe5240730a
Show the translation dashboard on admin pages also.
2009-02-10 05:12:31 +00:00
Bharat Mediratta
0b315b6fed
Normalize a few things to our standard.
2009-02-10 05:05:11 +00:00
Bharat Mediratta
079a518334
convert ' to " to match our HTML standards.
2009-02-10 05:00:29 +00:00
Bharat Mediratta
78efd9bd3d
Remove extra blank lines
2009-02-10 04:57:39 +00:00
Bharat Mediratta
007687dbd3
Add another TODO
2009-02-10 04:43:24 +00:00
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
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
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
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
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
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
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
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
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
79dda6a0c2
Rename "welcome" controller to "scaffold" so that we can eventually
...
have a welcome page.
2009-02-05 08:39:12 +00:00
Bharat Mediratta
3e54159d5c
Guard against the case where gd_info() isn't defined
2009-02-05 08:38:15 +00:00
Bharat Mediratta
1894a673bf
Move test-related extensions to Sendmail into a subclass that we only
...
use in the test code (Sendmail_For_Test).
2009-02-05 07:51:11 +00:00
Bharat Mediratta
9e2b84d406
Minor code style changes.
2009-02-05 05:52:03 +00:00
Bharat Mediratta
c63c843f18
Drop scaffolding menu link if welcome.php is missing.
2009-02-03 09:43:47 +00:00
Bharat Mediratta
cf45795525
Doh! Fix a bug in add_after() that caused it to drop the item we were adding it after.
2009-02-03 09:42:07 +00:00
Andy Staudacher
5d0b710d54
Fix sendmail tests (had mismatch between configured header separator and expected results)
2009-02-02 07:05:02 +00:00
Andy Staudacher
4842df9dc9
Do 1 DB query for l10n per HTTP request (per locale), not one per t() call.
2009-02-02 06:32:42 +00:00
Tim Almdal
a70f3bf386
Have the quick delete file "item_before_delete" so that search and
...
notification modules can do their thing. In addition, correct search
so it works properly and doesn't try to create an Item_id_Model class.
2009-02-02 04:58:19 +00:00
Tim Almdal
41dbe5cf6c
Changed the Sendmail library to allow the separator between mail
...
headers to be specified as a parameter. The documents say that it
should be "\r\n". Some sendmail programs seem to violate the
specification and get confused. In these cases the header separator
is just "\n".
This change allows the header separator to be set by the a
configuration parameter.
2009-02-02 02:58:12 +00:00
Tim Almdal
d49484c9a6
Update the handling of the to field if the input field is an array
2009-02-01 03:55:40 +00:00
Tim Almdal
7239a4d8bc
Add the ability to generate the id parameter on Menu Dialog.
2009-01-29 18:25:14 +00:00