Andy Staudacher
e4a9b19bf9
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
2009-01-15 10:02:41 +00:00
Andy Staudacher
e53916dd06
Simplifying the way t() is called. Refactoring localization function t($message, $options=array()) into 2 separate functions:
...
- the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation.
- t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-15 09:30: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
Bharat Mediratta
5bfde5ceb8
Rename 'xxx_changed' events to 'xxx_updated'
2009-01-15 02:53:13 +00:00
Bharat Mediratta
034f30190e
Rename 'xxx_changed' events to 'xxx_updated'
2009-01-15 02:52:42 +00:00
Bharat Mediratta
ad4f495e56
Rename events
...
album_created, photo_created -> item_created
album_updated, photo_updated -> item_updated
2009-01-15 02:51:16 +00:00
Bharat Mediratta
73c52c7140
whitespace fix.
2009-01-15 02:15:10 +00:00
Bharat Mediratta
2d7ab6f4da
Create Item_Model::thumb_tag() and Item_Model::resize_tag() to provide
...
an abstraction for when we add movie support.
2009-01-14 07:21:35 +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
Bharat Mediratta
2a7d4b4365
Remove the redirect to the installer; if we don't have a var dir this results in an infinite redirect. Let's put this back in when the installer works.
2009-01-14 05:07:52 +00:00
Bharat Mediratta
4dbb14a0a8
define $arguments so that we don't have an error.
2009-01-14 04:30:19 +00:00
Bharat Mediratta
84ea7eefdc
Delete DIRECTORY_SEPARATOR fixups. We're not on Windows.
2009-01-14 04:28:19 +00:00
Bharat Mediratta
9f0c33fdbd
priviledge -> privilege
2009-01-14 04:26:03 +00:00
Bharat Mediratta
891bcd231b
dir -> die
2009-01-14 04:14:35 +00:00
Bharat Mediratta
f3ba69c1d6
Make sure that helper functions are all static. Add new
...
File_Structure_Test to make sure we don't regress.
According to the PHP docs, the "public" keyword is implied on static
functions, so remove it. Also, require private static functions to
start with an _.
http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Tim Almdal
02af2d8b76
The installer. At this point, the core installs, the user module defines groups and users, but dies when attempting to create default permissions
2009-01-14 03:38:51 +00:00
Tim Almdal
383ec9c22c
Initialize the model_cache:: as an array and use sub arrays to maintain the cache
2009-01-14 03:22:17 +00:00
Tim Almdal
7305026fd8
make model_cache::get() a static function
2009-01-14 02:34:39 +00:00
Bharat Mediratta
ca36a04f28
Fix preamble
2009-01-14 01:20:42 +00:00
Tim Almdal
c9e6b1ef44
Correct the initial value get active blocks
2009-01-14 00:22:17 +00:00
Tim Almdal
7043d17040
Since module_Core is static the methods, get_var, set_var, etc should be static
2009-01-14 00:09:33 +00:00
Chris Kelly
1fb85dfac5
moved graphics toolkit logo images to g3. approval to redistribute from each project is in my email archives if this comes up in the future
2009-01-13 14:58:02 +00:00
Bharat Mediratta
074cbd860d
Call 'site' themes 'Gallery' themes since site means less to users. Fix swapped messages
2009-01-13 11:00:46 +00:00
Bharat Mediratta
38ddf559f0
Put up a nice message if there are no other themes available to
...
choose.
2009-01-13 10:57:38 +00:00
Bharat Mediratta
35a529cd86
Change admin/themes to show both styles of themes side by side. This
...
eliminates the menu, which is kind of clunky.
While I'm at it, let's call the "regular" themes a "site theme" so we
have "site" and "admin" themes.
2009-01-13 10:53:06 +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
2fb5a0efb1
fix up the selected theme, too.
2009-01-13 05:12:46 +00:00
Bharat Mediratta
16bebdca06
Make the admin/graphics UI mimic admin/themes with a single selected
...
toolkit above, and other available ones below.
2009-01-13 04:56:29 +00:00
Chad Kieffer
ac59df2395
Fixed vertical alignment of thumbs.
2009-01-13 04:27:35 +00:00
Bharat Mediratta
03e31ed5cc
Fix indentation.
2009-01-13 04:10:50 +00:00
Bharat Mediratta
a17b137f95
Update translations to put anchors directly into the translation.
2009-01-13 04:09:29 +00:00
Bharat Mediratta
1341d13ca5
Reverse the last change; forgot that {$key} is treated specially
...
inside a string. We could do "{{{$key}}}" but that's misleading.
2009-01-13 04:02:41 +00:00
Bharat Mediratta
174ea7cc9a
Use variable interpolation to reduce code size
2009-01-13 03:53:31 +00:00
Tim Almdal
fb73cc7bc4
Delete Mysql_Driver.php as it is no longer used
2009-01-13 01:18:54 +00:00
Bharat Mediratta
1fb620ff87
Redirect to the installer if we don't have a var dir. This way the
...
installer gets a fresh request and doesn't carry anything forward from
the production environment.
2009-01-13 01:14:31 +00:00
Bharat Mediratta
ff6791f576
Models should be named in adjective_noun form to make pluralizatoin
...
more intuitive.
Renamed Translations_Incoming to Incoming_Translation to suit.
2009-01-13 01:05:11 +00:00
Bharat Mediratta
4adff59169
Fix preambles
2009-01-13 01:00:40 +00:00
Chad Kieffer
9be9c5a3d1
Updated vertical alignment of thumbnails.
2009-01-12 23:54:52 +00:00
Bharat Mediratta
c5f77510a7
Refactor dashboard block handling out into a dashboard helper so that
...
module installers don't have to know the grotty details of how it works.
2009-01-12 08:51:54 +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
ce6d7b8d37
Keep CSS selector attribute definitions alphabetized.
2009-01-12 08:24:23 +00:00
Chad Kieffer
8a79d328ed
Minor markup cleanup.
2009-01-12 08:20:39 +00:00
Chad Kieffer
42e635bff0
Theme admin refinement. Make more room to show the preview by enlarging the iframe and removing the heading above it.
2009-01-12 07:57:13 +00:00
Bharat Mediratta
f4d5681faa
Update to Forge r172
2009-01-12 07:54:13 +00:00
Bharat Mediratta
ae73ef3d57
Updated for new Form_Submit API.
...
OLD:
$form->submit("Foo") --> <input type="submit" value="Foo">
New:
$form->submit("foo_button")->("Foo") --> <input type="submit" name="foo_button" value="Foo">
Mostly we don't care what the button is so we leave the name blank.
2009-01-12 07:50:04 +00:00
Bharat Mediratta
b19729435c
Dashboard blocks are now data driven, and you can add new blocks to
...
both the sidebar and the center content area from a dropdown at the
top of the dashboard sidebar.
2009-01-12 07:39:53 +00:00
Bharat Mediratta
ef303bde3e
Gallery version now lives in a variable
2009-01-12 07:39:02 +00:00
Bharat Mediratta
66abb6624e
Update to Forge r171
2009-01-12 07:37:34 +00:00
Chad Kieffer
a1c70d4a68
Remove gDraggable, we won't be using it. jQuery UI theme will handle this.
2009-01-12 07:31:40 +00:00