Commit Graph

232 Commits

Author SHA1 Message Date
Tim Almdal
1692ee1308 Currently Admin_Theme_Options controller assumes that all the themes will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme. 2009-11-18 14:37:49 -08:00
Chad Kieffer
3aa7a3fcda Address RTL issues reported in ticket #869. Placement of checkboxes and radio buttons and sidebar block management lists. 2009-11-17 22:32:25 -07:00
Chad Kieffer
401c9c21e1 White-space fix and quoting update. 2009-11-17 15:16:40 -07:00
Tim Almdal
14f1fc30b5 Use some hacky css to get the buttons alighned properly. Fixes ticket #880. 2009-11-16 07:49:17 -08:00
Bharat Mediratta
e0f4e6500d Use text::alternate() instead of hand-rolled even/odd code. 2009-11-15 19:34:44 -08:00
Bharat Mediratta
d7b13ee167 Try to keep users from leaving the upgrade page, or running the
upgrade twice.

1) Disable the "Upgrade all" link once clicked
2) Put up a "upgrade in progress" link to show that there's something
   happening.

Fixes ticket #837.
2009-11-15 17:12:26 -08:00
Bharat Mediratta
3481c8b58f Change "confirmation" to "dialog" in preparation for putting up a
"we're working, stay tuned" message.
2009-11-15 16:21:45 -08:00
Bharat Mediratta
9e5714aee8 Tweak upgrader html and css so that we set opacity properly for rows
that are done, and disable the upgrade link when there're no actions
to take.
2009-11-15 16:14:30 -08:00
Bharat Mediratta
6ec81006e7 Fix a bug where we were using <? ?> tags in css to figure out whether we
should gray out an element.
2009-11-15 16:02:39 -08:00
Bharat Mediratta
9df591c774 Close the confirmation box with a fade, instead of a slide. 2009-11-15 15:35:10 -08:00
Tim Almdal
670629fe10 In order for us to provide a button that is style the way we want it to, we need to make the object transparent and hide its button, then our styling shows through. But what worked the other day no longer works, so until thumb gets a chance to look at the style so the buttons line up, we will just go with the default button so it works. 2009-11-13 14:30:38 -08:00
Tim Almdal
8f975636d6 Add some padding to the add photo's button so when the focus goes on the flash object, it lines up with the button. 2009-11-11 20:30:57 -08:00
Tim Almdal
031d9aba5e Make the browse button look more like the current one. 2009-11-11 20:21:40 -08:00
Tim Almdal
421a975c0e Improve error handling. 2009-11-11 18:47:10 -08:00
Tim Almdal
9546e19e34 Pass two of uploadify... remove the default.css file, removed the folder option and create a status area where succesful uploads are listed. 2009-11-10 12:49:13 -08:00
Tim Almdal
d8beb6f530 First cut at replacing swfupload with uploadify. Probably need to review the css and remove extra swfupload selectors. Also changed the dialog so tags can be entered for all the files being uploaded. Probably need to add better start processing so the batch is started before the first image is loaded. Maybe add a module variable so the number of simultaneous uploads can be initiated (currently hard ocded to 10. 2009-11-09 13:54:55 -08:00
Chad Kieffer
d73de4f0a2 No need to abbreviate text in CSS class names. Thx bharat! 2009-11-08 09:00:49 -07:00
Chad Kieffer
23739bda01 Move the Remove all completed tasks back out of the th, shouldn't have put it there in the first place. 2009-11-07 16:02:20 -07:00
Tim Almdal
e300ede3d8 1) Change the name of the form and message to g-in-place-edit-form and g-in-place-edit-message.
2) Make sure the cancel button works and cleans up the dom appropriately.
2009-11-07 00:05:49 -08:00
Chad Kieffer
da8cabd3e9 Try not to set explicit font-sizes for log message display, use g-txt-small instead. 2009-11-06 21:10:53 -07:00
Tim Almdal
b5f2dbc2c4 Create a user_menu for the top of the page. Change the login, edit profile and logout portions of the banner to be rendered by the Theme_View::user_menu callback. This fires the user_menu event. Fixes Ticket #871. 2009-11-06 14:08:46 -08:00
Tim Almdal
b01056da91 Modify the Menu_Element class to allow for the specification of a custom view. Also allow the root element to specify a css id. 2009-11-06 13:03:48 -08:00
Tim Almdal
6984737a54 Clean up problem with cancelling the inplace edit left a whole bunch of css artifacts. 2009-11-05 21:35:40 -08:00
Tim Almdal
03408f3e39 Refactor the in place editting in tags admin out into a separate widget as part ofthe gallery module. Create the jQuery widget, form template and library to support generalized in place editting. Part of the fix for ticket #750. 2009-11-05 13:00:41 -08:00
jhilden
9a8e9bc7f5 Small CSS fix for language admin 2009-11-03 17:40:39 -05:00
Chad Kieffer
80dedf77d8 Cleanup RTL styles even further. I think this gets wind and admin_wind looking pretty good for RTL. Related to the previous commit, remove g-right from login menu, let the theme handle positioning. 2009-11-01 19:11:58 -07:00
Tim Almdal
7f4e71e526 fix an issue with the scroll bar appearing on the confirmation dialog and insure that dialog is removed if cancel is pressed, so we can correctly reshow it if required. 2009-10-31 14:15:17 -07:00
Tim Almdal
59b5a05496 Rename the login helper to auth. Create a login and logout helper function to allow for programmically login in and out. 2009-10-30 09:32:18 -07:00
Chad Kieffer
03b4b27498 Add type attribute to rest of our script tags. 2009-10-30 00:14:57 -06:00
Tim Almdal
385eec9feb Put the javascript initialization into a ready function so its invoked after the dom has been created. Fixes ticket #839 2009-10-28 21:13:48 -07:00
Tim Almdal
7ea13b3869 Normalize capitalization ticket #596 2009-10-28 12:15:52 -07:00
Chad Kieffer
fbc5517711 Initial RTL update work. Consolidated shared rtl-related css selectors in gallery.common. Applied g-right and g-left to a few banner items, including login menu and the logo. 2009-10-28 00:15:08 -06:00
Chad Kieffer
4241e03d75 Breadcrumb updates. Apply g-first and g-active consistently, use ems instead of px for nicer proportions, make font-size the same whether on the page or in a dialog. 2009-10-27 23:03:43 -06:00
Bharat Mediratta
13faf6035d Remove Menu::compact() in favor of putting an if-then clause in
menu.html.php.  This serves two purposes:

1) It's more efficient since we're doing less passes over the Menu tree
2) We're allowing themers to decide whether or not to show empty menus
2009-10-27 14:00:32 -07:00
Bharat Mediratta
3b66ea3c3a Oops. Change "$this" to "$menu" in our menu component views. 2009-10-27 13:57:36 -07:00
Bharat Mediratta
76c0c7f3a1 Change our menu building blocks to use PHP templates so that themes
can override them and define their own menu formats.  I worry a little
bit that this approach may be too heavy since we're now doing a lot
more template includes than we were before.  Also, I had to change the
Menu API to stop using __toString() because you can't throw exceptions
from __toString() which would make it an unhappy experience for
developers.
2009-10-27 13:48:41 -07:00
Chad Kieffer
02b6366dd2 Switch instances of first to g-first. 2009-10-27 07:37:04 -07:00
Tim Almdal
24bd8e4c28 Remove a redundant comment, change the name of the identity change event to 'identity_before_change' and change the name of 'login::get_login_form()' to 'login::get_form()' 2009-10-24 11:32:09 -07:00
Chad Kieffer
040c840b66 Make g-inline more specific, replace universal selector with an li since this class will most often be used with order and unordered lists. Apply g-inline to the the login menu and footer credits. 2009-10-23 05:41:49 -07:00
Chad Kieffer
367e6a8983 Standardize message markup, make the update block status message translatable. 2009-10-23 05:41:41 -07:00
Tim Almdal
b74b131e25 Change Identity adminstration to use the uninstall/install methods when changing providers. 2009-10-22 22:30:25 -07:00
Tim Almdal
3c936d661a Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class 2009-10-22 13:11:03 -07:00
Tim Almdal
6502b61348 Merge branch 'master' into talmdal_dev 2009-10-22 07:36:37 -07:00
Bharat Mediratta
416470fcb2 Internationalize confirmation message. 2009-10-22 07:35:26 -07:00
Tim Almdal
a2048ab303 Merge branch 'master' into talmdal_dev
Conflicts:
	lib/gallery.common.css
2009-10-21 07:07:53 -07:00
Chad Kieffer
e025abea41 Added confirmation message for block admin actions. 2009-10-20 23:37:03 -06:00
Chad Kieffer
055c410126 Fix block management UI. Block list height is now dynamically set based on the total number of available blocks which will grow without hardcoding CSS heights and setting the div to be scrollable. 2009-10-20 23:20:38 -06:00
Chad Kieffer
fbb8e92497 Added generic .g-message class to mark form validation messages. Minor form layout updates. 2009-10-20 22:35:39 -06:00
Tim Almdal
098b57bf18 Simplify the user interface by moving the password reset functionality into the user module
Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names.
Make sure all the unit tests work.
2009-10-19 12:53:44 -07:00
Tim Almdal
1b530e4680 Merge branch 'master' into talmdal_dev
Conflicts:
	modules/user/views/admin_users.html.php
2009-10-19 06:27:18 -07:00