Commit Graph
827 Commits
Author SHA1 Message Date
Bharat Mediratta fe2881a22a Rename Flash_Uploader to just Uploader. Modules that want to replace
this will just replace the controller.  This makes overriding that
much easier in the future.
2010-07-15 12:37:44 -07:00
Bharat Mediratta 4c77f9ebde When limiting the length of album titles, purify after truncating so
that the truncation happens on entity boundaries.  Fixes ticket #1184.
2010-07-10 08:34:08 -07:00
Tim Almdal d66c496fb1 Change the theme option page to display using tabs if the site theme has an admin page. 2010-06-25 06:45:09 -07:00
Tim Almdal 3b05db2685 Move the themeroller files to the themes from gallery/lib. These are visual related and make more sense to be in the theme. Both three_nids and browny_wind* have created copies for their visual standard. So this just makes it consistent across the board. 2010-06-23 11:16:56 -07:00
mamouneyyaandTim Almdal c41bd46a74 fix the footer padding for RTL, complete the last commit 2010-06-23 23:33:13 +08:00
mamouneyyaandTim Almdal cedfd9d364 flip the padding of footer for RTL 2010-06-23 23:33:04 +08:00
mamouneyyaandTim Almdal acc9ec8180 remove the original padding 2010-06-23 23:32:53 +08:00
mamouneyyaandTim Almdal 5494751a33 oops.. remove the padding in RTL for admin-wind, since it seems that it's zero (why the rule is duplicated with different values in the file in lines: 159, 301?) 2010-06-23 23:32:53 +08:00
mamouneyyaandTim Almdal b8800c69e1 flip the padding direction for sidebar blocks contents in RTL 2010-06-23 23:32:40 +08:00
Tim Almdal a804c11513 1) revert e468ed7bd3
2) Add the padding to both the button and flash object so they always line up
3) Add some top padding to the uploadifyQueue panel  to seprate it from the button.
2010-06-21 10:11:38 -07:00
Bharat Mediratta d82863421d Rename "simple_uploader" to "flash_uploader" to make room for an HTML
uploader.
2010-06-20 21:10:22 -07:00
Bharat Mediratta e468ed7bd3 Add a margin above the "Select photos..." button. 2010-06-20 17:43:22 -07:00
Bharat Mediratta 66bea24482 Use text::limit_chars() to keep individual elements in breadcrumbs
from going over 15 chars.  Fixes ticket #1108.
2010-06-20 11:59:46 -07:00
Bharat Mediratta 1783c04692 Remove the title attribute for menus using JS since we're showing that
text anyway.  This may be turn into an accessibility issue, but it's
pretty annoying to have a tooltip show up with the text in it.
2010-06-20 11:15:53 -07:00
mamouneyya 3b89a56caf Flip some margin/padding values for RTL 2010-06-18 14:10:05 +03:00
Tim Almdal 2bbce8dddb Fix for ticket #1117 align videos to the center. 2010-06-17 09:10:01 -07:00
Tim Almdal 6e54286ef2 Add the theme::resize_top and theme::resize_bottom to the movie view to be consistent with the photo view. 2010-06-17 09:03:39 -07:00
Bharat Mediratta 6b01022a97 Hide the admin menu and show it after it's loaded to minimize flicker.
Normalize the comment text about this interaction between admin_wind
and wind.
2010-06-13 20:44:13 -07:00
Bharat Mediratta 1240878df0 Fix-ups for d98b85f7d3
- Pass the CSS selector of the active image in as an arg to site_menu
  so that quick operations know what they're operating on.
- Change the ids from g-{photo,movie}-id to the generic g-item-id
- Initialize ajax handlers for site menu on the photo and movie page
- Drop the movie context menu, it's now in the site menu
2010-05-14 16:55:15 -07:00
Bharat Mediratta dc4fdca2ab Localize "Gallery Admin" 2010-05-14 16:54:50 -07:00
ckieffer d98b85f7d3 Drop context_menu for wind's photo/resize view. Move photo edit options to the site_menu. 2010-05-14 17:14:34 -06:00
ckieffer dcd09c09e8 Missed this in commit 9e3c0c08849b5842f9c345d7b4f90ee82359dedb. 2010-05-14 17:13:35 -06:00
Chad Kieffer e8eb23db42 Increase specificity for .g-item width to ensure it overrides the wind theme's default width when thumbnails are something other than the default. Fixes ticket #1053. 2010-03-20 14:55:41 -06:00
Romain LE DISEZandAndy Staudacher 06d0ed57a7 Fix a typo. 2010-03-03 02:32:49 +08:00
Andy Staudacher a19b97f8d6 First step towards fixing ticket #1038: Allowing for custom page <title> in admin pages, just like in non-admin pages.
TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
2010-02-28 13:35:58 -08:00
Chad Kieffer c1b13ddd9f Apply zoom to g-photo and g-movie to hold height and properly position g-context-menu, closes #1018 2010-02-15 19:05:45 -07:00
Chad Kieffer 7b08be1139 Initialize context-menu hover using g-photo/g-movie, not the image or movie object. Closes ticket #808 2010-02-15 13:24:28 -07:00
Chad Kieffer 4204d554b8 On search results, if g-item's onhover height is less than it's siblings set height, set the hover item's height equal to its siblings. 2010-02-14 17:27:08 -07:00
Chad Kieffer ed401fc8a6 Add zoom attribute to #g-banner to fix issue banner display. Closes #863 2010-02-14 15:05:38 -07:00
Andy StaudacherandTim Almdal 2dad1d7cd1 Some HTML validation fixes (don't render empty <ul> lists, empty id attributes, use &amp; not &) 2010-02-14 07:15:57 -08:00
Andy Staudacher 4977c00db1 Merge commit 'upstream/master' 2010-02-06 11:32:53 -08:00
Tim Almdal aa4ed45473 Differentiate between selected and non selected items. 2010-02-04 07:46:41 -08:00
Andy Staudacher be5f38adea Minir l10n message cleanup. Avoid <br/> in messages since the server normalizes them to <br />, i.e. leading to a mismatch. 2010-01-31 14:03:32 -08:00
Tim Almdal abdeb21ccb Add a user_menu method to the Admin_View and then use this method to get the
user menu.  Since the information displayed is identical in both admin and
theme views, it makes sense to combine the generation to it is done in a common
location.
2010-01-23 13:29:49 -08:00
Bharat Mediratta 25f936e1ed Show context menus for movie items. Fix for ticket #960. 2009-12-31 18:13:42 -08:00
Bharat Mediratta 8b7ef66065 Don't show the breadcrumb if we have no item 2009-11-25 14:50:04 -08:00
Bharat Mediratta 005cf8e828 Duh. Really make the site menu invisible this time around. 2009-11-20 20:25:19 -08:00
Bharat Mediratta abad4aae33 Hide the site menu and make it visible after the page has loaded, to minimize menu flicker 2009-11-20 20:22:08 -08:00
Tim Almdal f5b0ce1f47 Revert "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."
This reverts commit 1692ee1308.
2009-11-19 11:44:09 -08:00
Tim Almdal 57adefc5ba Revert "Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme."
This reverts commit 26114972c3.
2009-11-19 11:44:01 -08:00
Tim Almdal 8ce1d18806 Merge branch 'master' into talmdal_dev 2009-11-19 07:47:04 -08:00
Chad Kieffer a4d5269db5 Apply g-first to the sole breadcrumb when viewing the root album. 2009-11-18 23:02:15 -07:00
Chad Kieffer e232c39fe5 Rename g-pager to g-paginator after the recent pagination update. 2009-11-18 18:51:18 -07:00
Tim Almdal 26114972c3 Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme. 2009-11-18 15:36:13 -08:00
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
Tim Almdal fc41d09134 Revert "Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file."
This reverts commit 4fe5801c88.
2009-11-18 10:54:01 -08:00
Tim Almdal 4fe5801c88 Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file. 2009-11-18 10:34:39 -08:00
Chad Kieffer 9d45cc040d Flip the breadcrumb separator and play slideshow button for RTL languages. 2009-11-17 22:48:10 -07:00
Bharat Mediratta 1067e68292 Redesign the way that we consider page types to create buckets of page
types, and a subtype for specifics.  Currently the top level bucket

   collection, item, other

Here are the core subtypes so far:

   collection: album, search, tag
   item: movie, photo
   other: login, reset, comment-fragment, comment

It's legal to create new page_subtypes whenever you want.  Use the
appropriate page_type to get the coarse grain behavior that you want.
2009-11-17 14:04:45 -08:00
Chad Kieffer f4ad53d28b Be a bit more explicit in the application of the album icon. Apply it as a class to the span to hopefully make it's purpose a bit more obvious. 2009-11-15 22:57:27 -07:00