Commit Graph

214 Commits

Author SHA1 Message Date
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
Chad Kieffer
b2d0b3ebbb Fix sidebar block admin layout. Don't hardcode block list height, use the equal_heights() function to set it. 2009-10-18 23:38:27 -06:00
Chad Kieffer
5f56cbf997 Wrap all admin views in g-block and g-block content. This provides the means to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's. 2009-10-18 20:22:10 -06:00
Tim Almdal
301754db73 Create a administration page that allows the administrator to change the the Identity provider if more than two are Identity providers are installed 2009-10-18 18:16:19 -07:00
Chad Kieffer
91ab6f161f Apply g-block and g-block-content, remove hover effect, alternate row color. 2009-10-18 18:01:42 -06:00
Tim Almdal
090c4d016b Merge branch 'master' into talmdal_dev
Conflicts:
	lib/gallery.common.css
	themes/admin_wind/views/admin.html.php
	themes/night_wind/views/sidebar.html.php
	themes/wind/views/sidebar.html.php
2009-10-18 09:28:48 -07:00
Chad Kieffer
ad0497a8d2 Drop our g-clearfix in favor of using jQuery UI's ui-helper-clearfix. 2009-10-17 12:58:31 -06:00
Tim Almdal
78ee4193b7 Remove all non Identity API methods from Identity.php. Created an MY_Session class to provide the user state changes in the session and a login.php helper that has the login form. 2009-10-16 10:06:58 -07:00
Tim Almdal
00eacd659f Start simplifying the interface by moving the static methods from user.php and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module. 2009-10-16 08:53:31 -07:00
Tim Almdal
be6765336e Finish integrating the move of the user edit/update functions into the user module. The premise is that the plugable user module will provide the update screens if the user backend supports updates. 2009-10-16 08:53:30 -07:00
Chad Kieffer
9ce46c1df6 Apply g-dialog-link class directly to login link markup, not via jQuery. 2009-10-16 08:50:58 -07:00
Chad Kieffer
eb3e36f132 Apply g-dialog-link class directly to login link markup, not via jQuery. 2009-10-16 00:56:37 -06:00
Tim Almdal
1ca835cea7 Merge branch 'master' into talmdal_dev 2009-10-15 07:58:46 -07:00
Tim Almdal
0d5d4c81bc Move the ui for user adminsitration back to the user module. 2009-10-14 21:20:30 -07:00
Tim Almdal
2af4806011 Refactor the ui component of the user module into the gallery core module. 2009-10-13 13:19:17 -07:00
Tim Almdal
052491e258 If the Identity backend is not writable don't display the "Forgot Your Password" link 2009-10-08 06:26:12 -07:00
Tim Almdal
03d0311618 Implement a user::is_writable() API method and disable the user add, updates and display if the Identity driver does not support writes. This is set in the config.identity.php 2009-10-07 21:40:05 -07:00
Tim Almdal
fa2ec8825d Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_dev 2009-10-07 19:09:10 -07:00
Chad Kieffer
121fcab5c8 Replaced most clear fix hacks with generic class. 2009-10-07 00:46:02 -06:00