summaryrefslogtreecommitdiff
path: root/themes/wind/views
AgeCommit message (Collapse)Author
2012-05-05Add "X-Frame-Options: SAMEORIGIN" to all pages. Fixes #1850.Bharat Mediratta
2012-05-05Clean up title handling code in organize and wind theme for consistency.Bharat Mediratta
Fixes #1847.
2011-11-03Revert "Fix a bug introduced in dc21cf36b606048dc24532407d39bc8f5b4211fa where"Bharat Mediratta
It doesn't work for search because there are no children. And this just feels clunky to me - we should arrange for the root album to have the right dimensions of thumbnail instead. This reverts commit 4cb49b9152e82d0ab53b1038c7a7d7203c8bf97d.
2011-11-03Fix a bug introduced in dc21cf36b606048dc24532407d39bc8f5b4211fa whereBharat Mediratta
we're basing the thumb proportions on the album's thumbnail, but this will be messed up in the case of the root album which may not have a properly update thumbnail, so its proportions may not be representative of the album's contents. So instead, base the thumb proportions on the first child of the album.
2011-10-02Close the breadcrumb listTim Almdal
2011-08-27Merge branch 'master' into bharat_devBharat Mediratta
2011-08-07Initial commit of a patch for Ticket #1764. as discussed here: ↵Tim Almdal
https://github.com/gallery/gallery3/pull/58/files#r72949. Create a Breadcrumb library which has two static methods for_item (which takes a an item and builds the entire breadcrumb for the item) or build (which takes a variable number of Breadcrumb elements and creates a breadcrumb based on the specified elements). Used tag->url() to build the tag album url. Escaped the query string for the search. Tightened up the breadcrumb code in page.html.php. When adding the show query parameter, we can't blindly concatenate using the ? separator. We have to check that we use a & if a query parameter already exists.
2011-04-26Move wind and admin_wind RTL style definitions out to their own file. Call ↵Chad Kieffer
that file when an RTL language is selected.
2011-04-22Renamed apple_touch_url to apple_touch_icon_url.Chad Kieffer
2011-04-22Created apple-touch-icon and added to wind and admin_wind themes.Chad Kieffer
2011-03-20Change the $thumb_proportions variable to be a theme callback whichBharat Mediratta
takes an item as an argument. This will let us figure out proportions in the case where a module has defined custom thumbnail sizes.
2011-03-05Put external CSS before external JS, per:Bharat Mediratta
http://code.google.com/speed/page-speed/docs/rtt.html#PutStylesBeforeScripts ref: http://gallery.menalto.com/node/100693 Thanks Serge! Fixes #1633.
2011-01-21Add "html_attributes" theme callback to allow modules to inject attributes intoBharat Mediratta
the <html> element, including things like namespaces. Fixes #1615.
2011-01-10Create new APIs for allowing themers to control what CSS/JS getBharat Mediratta
combined and when. Backwards compatible in that old themes will work, but their CSS/JS will no longer be combined unless they make some changes. Fixes #1600.
2010-12-31Identify the case where the active sidebar blocks didn't produce anyBharat Mediratta
content and print out a more informative message in that case. Fixes
2010-12-29Add a minified version of json2.js from ↵Bharat Mediratta
https://github.com/douglascrockford/JSON-js/blob/master/json2.js by Douglas Crockford at 8d11dc6950eafc7d01f141ce91d4f585caa29f3b. Fixes #1351.
2010-12-24Use the item title wherever possible as the page title and get rid ofBharat Mediratta
the "Browse Album" text which shows up way too much. Fixes #1520.
2010-09-19When the lib/gallery.common.css was combined, the image urls did not point ↵Tim Almdal
to the correct location. So lets fix that up. But first undo the reverts: 93d1a8103e757a87fb006f2389f0ee24497367a7 "Revert '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.'" f14290f34f097f525a56bc00070b73fba1fb8e2c "Revert 'Clean up white space'" ff8ee5bdfcc0d35e14f3124d349625814ec8771a "Revert 'Add some whitespace.'"
2010-09-18Revert "Move the contents of lib/gallery.common.css into ↵Bharat Mediratta
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." This reverts commit 42517041753d460c337a2086c0346018ad582e8d.
2010-09-15Move the contents of lib/gallery.common.css into themes/wind/css/screen.php ↵Tim Almdal
and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway.
2010-09-09Replace the hook function hack I introduced inBharat Mediratta
cbba45fffc7368280e9529f55e108d0080175b6a with a namespaced jQuery custom event. This is way more portable.
2010-09-04Fix full size dimensions after rotating an image on the photo view page.Bharat Mediratta
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-02Don't try to compare ORM instances; compare their ids instead.Bharat Mediratta
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-08-30Don't put in an <img> tag for non-existent thumbnails. Fixes ticket #1211.Bharat Mediratta
2010-08-29Bump gallery module to v36 and add a favicon_url variable, which weBharat Mediratta
expose in Admin > Appearance > Theme Options and defaults to lib/images/favicon.ico. Thix fixes ticket #1312.
2010-08-28Add a "visible_title_length" variable that defaults to 15 and use thatBharat Mediratta
as the max title length when we do title truncation in the wind theme. Bump the gallery module to 35.
2010-07-18Minor Wind IE tweaks. Load fix-ie.css for IE 8 too. Add padding to ↵Chad Kieffer
g-short-form submit inputs to make them same height as the text input.
2010-07-15Rename Flash_Uploader to just Uploader. Modules that want to replaceBharat Mediratta
this will just replace the controller. This makes overriding that much easier in the future.
2010-07-10When limiting the length of album titles, purify after truncating soBharat Mediratta
that the truncation happens on entity boundaries. Fixes ticket #1184.
2010-06-20Rename "simple_uploader" to "flash_uploader" to make room for an HTMLBharat Mediratta
uploader.
2010-06-20Use text::limit_chars() to keep individual elements in breadcrumbsBharat Mediratta
from going over 15 chars. Fixes ticket #1108.
2010-06-17Add the theme::resize_top and theme::resize_bottom to the movie view to be ↵Tim Almdal
consistent with the photo view.
2010-06-13Hide the admin menu and show it after it's loaded to minimize flicker.Bharat Mediratta
Normalize the comment text about this interaction between admin_wind and wind.
2010-05-14Fix-ups for d98b85f7d3142676e6b4f407a18ed81564823f88Bharat Mediratta
- 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-14Drop context_menu for wind's photo/resize view. Move photo edit options to ↵ckieffer
the site_menu.
2010-03-20Increase specificity for .g-item width to ensure it overrides the wind ↵Chad Kieffer
theme's default width when thumbnails are something other than the default. Fixes ticket #1053.
2010-03-03Fix a typo.Romain LE DISEZ
2010-02-14Some HTML validation fixes (don't render empty <ul> lists, empty id ↵Andy Staudacher
attributes, use &amp; not &)
2010-01-31Minir l10n message cleanup. Avoid <br/> in messages since the server ↵Andy Staudacher
normalizes them to <br />, i.e. leading to a mismatch.
2009-11-25Don't show the breadcrumb if we have no itemBharat Mediratta
2009-11-20Duh. Really make the site menu invisible this time around.Bharat Mediratta
2009-11-20Hide the site menu and make it visible after the page has loaded, to ↵Bharat Mediratta
minimize menu flicker
2009-11-19Revert "Create theme::get_var(), theme::set_var() methods to set the options ↵Tim Almdal
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 26114972c3388f065220b94a0d5962f20a6ccd0c.
2009-11-19Merge branch 'master' into talmdal_devTim Almdal
2009-11-18Apply g-first to the sole breadcrumb when viewing the root album.Chad Kieffer
2009-11-18Rename g-pager to g-paginator after the recent pagination update.Chad Kieffer
2009-11-18Create theme::get_var(), theme::set_var() methods to set the options of the ↵Tim Almdal
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-17Redesign the way that we consider page types to create buckets of pageBharat Mediratta
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-15Be a bit more explicit in the application of the album icon. Apply it as a ↵Chad Kieffer
class to the span to hopefully make it's purpose a bit more obvious.
2009-11-14Rename "pager" to "paginator" so that we differentiate page.html.phpBharat Mediratta
from paginator.html.php