Commit Graph
849 Commits
Author SHA1 Message Date
Tim Almdal 207d848989 Add some whitespace. 2010-09-17 17:47:12 -07:00
Tim Almdal a1e25313e3 Clean up white space 2010-09-15 20:12:05 -07:00
Tim Almdal 4251704175 Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway. 2010-09-15 18:20:27 -07:00
Bharat Mediratta 304dd9cb51 After replacing thumbnails, resize all .g-item boxes down to just a
bit larger than the image and then do equal_heights() on them.  This
tightens the grid back up again when appropriate after a rotation.
2010-09-10 23:13:47 -07:00
Bharat Mediratta 6e62d604a4 Resize the .g-item to contain the rotated image, and make all
.g-item's the same height and realign the photo vertically, both on
the .g-item and the hover placeholder.  Fixes ticket #1354.
2010-09-09 21:58:16 -07:00
Bharat Mediratta 6211ed69d7 Vertically realign thumbnails after rotation so that they stay
centered.  Partial fix for #1354.
2010-09-09 21:25:23 -07:00
Bharat Mediratta 32878ebfdc Replace the hook function hack I introduced in
cbba45fffc with a namespaced jQuery
custom event.  This is way more portable.
2010-09-09 21:04:18 -07:00
Bharat Mediratta 5cd34160af Remove unnecessary g2_import CSS (which we were loading on every page
-- doh!) and replace it with a new "enumeration" list style in the
admin_wind CSS.  Reshuffle the page a little bit to make it look cleaner.
2010-09-08 21:34:16 -07:00
Bharat Mediratta c51b6ab38d Fix full size dimensions after rotating an image on the photo view page.
The photo view page caches the dimensions of the full size and then
renders it in Javascript.  But after rotation, those dimensions are no
longer valid.  Create a new function on the items controller that
returns the appropriate dimensions, then add a hook on
$.gallery_replace_image and implement the hook on the photo view page
to have it make an async call to get the new dimensions.

Fixes ticket #1317
2010-09-04 15:54:07 -07:00
Bharat Mediratta b49d2e6e00 Make .g-unavailable a little more legible. 2010-09-04 14:01:23 -07:00
Bharat Mediratta 077cf53714 Don't try to compare ORM instances; compare their ids instead.
Follow on to the fix for #1318 that caused the show= param to get
dropped in the breadcrumbs.  See http://gallery.menalto.com/node/97790
2010-09-02 22:03:16 -07:00
Bharat Mediratta d5ebcb91ad Don't put in an <img> tag for non-existent thumbnails. Fixes ticket #1211. 2010-08-30 20:49:14 -07:00
Bharat Mediratta bc0d5e79cb Revert "Change the theme option page to display using tabs if the site theme has an admin page."
This reverts commit d66c496fb1.

Conflicts:

	modules/gallery/helpers/theme.php
	modules/gallery/views/admin_theme_options.html.php
	themes/admin_wind/css/screen.css
2010-08-29 23:09:52 -07:00
Bharat Mediratta 4c8445852d Bump gallery module to v36 and add a favicon_url variable, which we
expose in Admin > Appearance > Theme Options and defaults to
lib/images/favicon.ico.

Thix fixes ticket #1312.
2010-08-29 16:27:32 -07:00
Bharat Mediratta a08cd0db4e Add a "visible_title_length" variable that defaults to 15 and use that
as the max title length when we do title truncation in the wind theme.
Bump the gallery module to 35.
2010-08-28 21:58:28 -07:00
Bharat Mediratta b1275ab39d More clearly visually distinguish the active album in the permissions breadcrumbs. Fixes ticket #1187. 2010-08-25 22:01:12 -07:00
Tim Almdal 68b598d4fa Remove style information regarding the permission dialog from the gallery.css to the wind/screen.css. This should make it easier for themes to style the dialog. 2010-08-19 19:48:44 -07:00
Chad Kieffer 8c2ed0d681 Added text and submit classes to search form input and submit buttons, respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode. 2010-08-16 22:39:54 -06:00
Tim Almdal c90996341a Fix for ticket #1288. Add a containing <ul> element for the footer on the admin page. Also respect the "show credits" variable setting. 2010-08-11 08:02:16 -07:00
Tim Almdal aa40bdd8e0 Update the wind theme thumbnail to be more reflective of the actual theme (i.e. the layout has changed since the thumbnail was created.) 2010-08-04 11:05:42 -07:00
Bharat Mediratta 6899af367b Cleanup on the Admin > Languages page.
Hide the fieldset and legend in the theme, since they don't add any value.
Change l10n_client::_server_url() to use the short style GMC urls and make the
API a little tighter.
2010-07-20 12:45:04 -07:00
Chad Kieffer 04c89ef7b6 Minor Wind IE tweaks. Load fix-ie.css for IE 8 too. Add padding to g-short-form submit inputs to make them same height as the text input. 2010-07-18 00:25:56 -06:00
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
mamouneyya c41bd46a74 fix the footer padding for RTL, complete the last commit 2010-06-23 23:33:13 +08:00
mamouneyya cedfd9d364 flip the padding of footer for RTL 2010-06-23 23:33:04 +08:00
mamouneyya acc9ec8180 remove the original padding 2010-06-23 23:32:53 +08:00
mamouneyya 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
mamouneyya 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 DISEZ 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