Branch: refs/heads/displayContext
Home: https://github.com/gallery/gallery3
Commit: db89d2497ff0f27479db0c5c2b27b97e16a483f8
https://github.com/gallery/gallery3/commit/db89d2497ff0f27479db0c5c2b27b97e16a483f8
Author: Tim Almdal <tnalmdal@...>
Date: 2011-07-16 (Sat, 16 Jul 2011)
Changed paths:
M modules/gallery/helpers/gallery_rss.php
Log Message:
-----------
Fix for ticket #1752. Add an RSS field link for the current album. Or, in the case of a photo or movie, add a link to the rss field of the parent album.
Commit: c7c86b388ca10b21b8a2a6b9e02392c59a1e9df6
https://github.com/gallery/gallery3/commit/c7c86b388ca10b21b8a2a6b9e02392c59a1e9df6
Author: Automatic Build Number Updater <bharat+gallery3_build_number_updater@...>
Date: 2011-07-16 (Sat, 16 Jul 2011)
Changed paths:
M .build_number
Log Message:
-----------
Automated update of .build_number to 163 for branch master
Last update: e8382b960a3c19bb28140833e348e6c9c9db8a8a (1 commits ago)
Commit: fa4f37c678948882352d21371b52728c979c162e
https://github.com/gallery/gallery3/commit/fa4f37c678948882352d21371b52728c979c162e
Author: Tim Almdal <tnalmdal@...>
Date: 2011-07-16 (Sat, 16 Jul 2011)
Changed paths:
M modules/gallery/controllers/albums.php
M modules/gallery/controllers/movies.php
M modules/gallery/controllers/photos.php
M modules/gallery/helpers/item.php
M modules/gallery/libraries/Display_Context.php
A modules/gallery/libraries/Item_Display_Context.php
M modules/search/controllers/search.php
M modules/search/helpers/search.php
A modules/search/libraries/Search_Display_Context.php
M modules/tag/controllers/tag.php
M modules/tag/helpers/tag.php
A modules/tag/libraries/Tag_Display_Context.php
Log Message:
-----------
Encapsulate the context data into the Display_Context. The data can be set individually by using key value pairs; or, the data values can be set using an assocative array.
The context name is passed as an argument into the factory method. If the context name is null, we assume we are retreiving the context (on display) and get it from the session. If context name has been supplied, then we are initializing the context and create context based on the name. (i.e. a name of 'item' will instantiate a 'Item_Display_Context' class.
The method 'display_context' has been added which returns the page values that depend on which context the item is being displayed. The Display_Context class also contains a method to build the build crumb list.
Compare: https://github.com/gallery/gallery3/compare/7a0ac45...fa4f37c
|