Commit Graph
244 Commits
Author SHA1 Message Date
Bharat Mediratta afa1805f15 Remove redundant "Gallery" 2009-02-10 08:32:33 +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 079a518334 convert ' to " to match our HTML standards. 2009-02-10 05:00:29 +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 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
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
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
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 b4f92c7de6 Add delete support as a quick-edit option 2009-01-29 09:26:39 +00:00
Bharat Mediratta 8d4b0afa4f Support making an album the album cover for its parent 2009-01-29 03:14:43 +00:00
Bharat Mediratta 76d9e95fb6 Fix selector after latest refactor, so that select_toolkit() is called again 2009-01-25 02:09:57 +00:00
Bharat Mediratta 70c050d995 Delete the rearrange module; it's been subsumed by the move controller 2009-01-25 01:44:26 +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
Bharat Mediratta eed57674f9 Add move support. Use the move icon in the quick pane. You can't
move an item into its own hierarchy, or into an album where you don't
have edit permission.
2009-01-24 05:14:44 +00:00
Bharat Mediratta b9e8ce4190 Quick edit now lets you set the album cover. 2009-01-20 08:54:15 +00:00
Bharat Mediratta be1f9d6892 fix indentation 2009-01-20 08:25:21 +00:00
Bharat Mediratta 3ba056d714 Add a quick edit pane for albums, too. 2009-01-20 07:11:14 +00:00
Bharat Mediratta c136a2e84a Packager now does a clean reinstall of just the packages we want, then
rebuilds the install.sql and init_var.php files accordingly.
2009-01-19 05:16:55 +00:00
Bharat Mediratta 8ec0e8471f Drag and drop in the admin dashboard now saves the location.
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00
Tim Almdal f0e3a220d9 Remove the packaging tab from the scaffolding and move the create
install.sql to the action tab
2009-01-18 08:06:06 +00:00
Bharat Mediratta 7b68ca9946 Refactor dashboard -> block_manager since it'll manage blocks site
wide, not just in the dashboard.
2009-01-18 06:55:04 +00:00
Tim Almdal b60e790e90 Here's the rest of the change, new tool and forgot to add some files :-) 2009-01-18 01:06:17 +00:00
Tim Almdal 71db2ca32a Add a scaffolding tab that allows packaging up the installation for installation. At the moment, it just creates an *.sql table for each defined table. I still need to zip this and put some install code around it so it is self installing. The ajax call will build the tables, but it doesn't return the resilt correctly. What it does is return my json response(expected) and the entire welcome.html page as well (unexpected) and i'm havinf trouble figuring out why. Something stupid i bet 2009-01-16 23:58:48 +00:00
Bharat Mediratta 72fa5736ff Rename Change xxx_task::available() to xxx_task::available_tasks()
Fix a bug in admin_maintenance.html.php where we were only showing the first task
2009-01-16 04:49:56 +00:00
Andy Staudacher e4a9b19bf9 Changing t() placeholder syntax from {{replace_me}} to %replace_me. 2009-01-15 10:02:41 +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 ca36a04f28 Fix preamble 2009-01-14 01:20:42 +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 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
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 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 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 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 11fb04cdde Only the admin dashboard has a sidebar now.
admin.html.php looks for $sidebar and renders the page appropriately
if one exists.  But only admin_dashboard has one currently.
2009-01-12 04:04:55 +00:00
Bharat Mediratta 70b9608275 Fix up the colors and background images for rows in gAdminMaintenance. 2009-01-11 22:56:52 +00:00
Bharat Mediratta b98f498ed6 Change admin/graphics to avoid using radio buttons. Instead, when you
hover over a toolkit it changes color and your cursor becomes a
pointer.  Clicking changes the toolkit.
2009-01-11 22:14:44 +00:00
Bharat Mediratta 01666c5579 Fix all file structure issues (tabs, bad preambles, etc).
Note: installer/install.php is now on the "direct access" list.
2009-01-11 02:27:00 +00:00
Bharat Mediratta 0033887ba8 Rework the way we do theme selection. Show the currently active theme
and then thumbnails for all the other available themes.  If you select
one of the other available themes, it gives you a preview pane where
you can look at either the main page or the site admin page with the
new theme, then choose to activate it if you like it.
2009-01-11 00:24:39 +00:00
Felix Rabinovich 705c55fb79 Submit theme values 2009-01-10 22:04:49 +00:00
Bharat Mediratta 3385105842 Markup cleanup. It's more semantic now, but it doesn't look quite as nice (yet). 2009-01-10 19:19:36 +00:00
Felix Rabinovich 006f18dc7a Split themes into two tabs for regular and admin themes 2009-01-10 08:00:43 +00:00
Felix Rabinovich 48e73e9081 Theme Administration cleanup initialization 2009-01-09 23:54:40 +00:00