summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
AgeCommit message (Collapse)Author
2008-12-06Switch the slideshow link from text to icon. Chad Kieffer
2008-12-05Added album and item view icons (album, hybrid, slideshow, full size). Added ↵Chad Kieffer
"Options" menu placeholder to display item options (add, edit, subscribe, permissions, etc.). Renamed gAlbumHeaderMenu to gItemMenu which can be used on both album and item views.
2008-11-27Make header buttons, line them up nicely and float them to the rightBharat Mediratta
so that they don't push the album grid down.
2008-11-27Use the dimensions of the real imageBharat Mediratta
2008-11-25Move comment listing into the comment moduleBharat Mediratta
2008-11-22Move all block callbacks from View::block_type() toBharat Mediratta
$theme->block_type() so that the themer has a consistent interface. Also added a bunch more callbacks and normalized the names so that the module author has plenty of options for where stuff gets put on the page. Especially renamed album/photo/sidebar to be album_blocks() photo_blocks() and sidebar_blocks() to make it clear that those are going to be larger content sections and not just basic insertion points. Used __call() to collapse all functions in the theme, which incidentally makes it trivially easy to add a new insertion point.
2008-11-212nd attempt at inserting html by modules.Tim Almdal
2008-11-21Restored most heading styles, still need to restore table and list styles. ↵Chad Kieffer
Removed unused CSS. CSS format updates. Applied jQuery tab styles to gSiteMenu. Removed gBlockHeader, all we need is a good old h3 element for a heading.
2008-11-21Revert module block approachTim Almdal
2008-11-20A look at away to allow modules to define html head contents (links and js) ↵Tim Almdal
and also allow modules to contribute blocks to the layout.
2008-11-19slideshow::link() returns the entire anchor elementTim Almdal
2008-11-19Change the album and photo templates to call the slideshow helper to get the ↵Tim Almdal
slideshow link and button text. The slideshow link will only show up if the slideshow module is installed.
2008-11-19Integrate Piclens lite as the slideshowTim Almdal
2008-11-18The start of the slideshow module. Mostly framework stuff, no real ↵Tim Almdal
implementation yet
2008-11-18Added the is_installed to the module helper and change to photo.html to not ↵Tim Almdal
try to display a comment if it is not installed
2008-11-16Several large changes:Bharat Mediratta
1) Changed the way that we get forms. Now, if you want to get a form for a REST resource you prefix /form to the resource id. So: /form/photo/1 : returns a form for editing photo id 1 /form/comments/1 : returns a form for adding a comment to photo id 1 /form/comment/1 : returns a form for editing comment id 1 2) Changed the comment module to have two controllers: comment: deals with a single comment resource comments: deal with collections of comments attached to an item Related stuff: - Moved the comments js into the theme - Reworked Comment_Helper for clarity - Moved form generation code down into Comment_Helper - Cleaned up routes (eliminating new comment ones added in recent rev) - Added form() function to all REST controllers - Changed comment module to use a block instead of an arbitrary helper call from the theme - Comment controller only returns HTML currently, but returns a 201 Created status code when a new comment is added, which the Ajax code can catch and act upon. - Got rid of a lot of extra views in comment module
2008-11-11Display comments from the database.Jozef Selesi
2008-11-10jQuery edit in place is so easy, seems like it oughta be added to the photo ↵Chad Kieffer
view :)
2008-11-09IE fixes, sidebar is now fixed in IE (we were missing a yui-g class). ↵Chad Kieffer
Removed .first class, it's not needed, at least not now. Moved all top-level layout containers to page.html.php so that if themers want to replace YUI grids with something else, like Blueprint, they only really need to edit page.html.php.
2008-11-07Updated CSS organization and headings, removed unused styles, added ↵Chad Kieffer
placeholders for a few styles, including gThumbnail. Simplified album grid loop, the thumbnail container markup for albums and items was almost identical, no need to repeat all of it. Switched album grid markup from <div> to <ul>. Updated element nesting in photo template.
2008-11-06Change the theming module again, per a discussion with Chad and Jakob.Bharat Mediratta
Now we have an overall page layout (page.html.php) which has a $content variable, and that $content will be one of several possible secondary views. Currently, it is either photo.html.php or album.html.php. header, footer, breadcrumb, sidebar, anything common to all pages is in page.html.php.
2008-11-05* Add thumbnail and resize dimensions to the item table and use themBharat Mediratta
properly in the theme. * Move thumbnail and resize generation down into the model for consistency. * Add a sample thumbnail for albums * Fix a bug in the ORM to clear the cache when we reload an object. * Add Kohana docs to the scaffold.
2008-11-05Add the photo controller, and tie it to the photo page in our theme.Bharat Mediratta
Implement a real breadcrumb.
2008-11-04Lots of new stuff!Bharat Mediratta
Replace theme HTML with *almost* the latest stuff from the mockups. (it doesn't include r18467 yet). Our theme format is now modelled after WordPress / Habari's style where you have one entry point per type (eg: album.php) which can load up whatever parts it needs (eg: $theme->display("header")) Created album and photo helpers which have create() functions that form the base of our new API, along with tests for them. Created our own version of the ORM_MPTT since the existing versions were too buggy and unsupported to depend upon. Only has a minimal implementation so far, and the tests are not yet committed. Added path(), thumbnail_path() and resize_path() to Item_Model Extended the scaffolding to allow you to add lots of photos/albums into your hierarchy. Deleted modules/mptt -- we're not going to use this anymore.