summaryrefslogtreecommitdiff
path: root/themes/default/views/page.html.php
AgeCommit message (Collapse)Author
2008-11-24Revert the site_title changeTim Almdal
2008-11-23Add a site-config parameter to the config.php file. Created a ↵Tim Almdal
core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value.
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-21Use the new block mechanism to insert user related content into the html pagesTim Almdal
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-21Add jQuery UI, tabs, and accordion JS and CSS to build Adam Torres' hi-fi ↵Chad Kieffer
prototype. Dropped YUI Base CSS in favor of defining our own base styles in screen.css, headings will and other items may not look right until I do. Need to figure out how jQuery ThemeRoller CSS should be integrated, if at all.
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-20Content type and character encoding should be defined before <title>Chad Kieffer
2008-11-19The feed url can be relative.Bharat Mediratta
2008-11-19Integrate Piclens lite as the slideshowTim Almdal
2008-11-19Add the media rss feed link to the page header in the default themeTim Almdal
2008-11-18The start of the slideshow module. Mostly framework stuff, no real ↵Tim Almdal
implementation yet
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-15Now, only logged in users can edit stuff in-place.Bharat Mediratta
2008-11-15Revise the user login code.Bharat Mediratta
* Remove user registration link and popup from the theme; this shouldn't be done in a popup. Use ajaxform to simplify the way that we load the login popup. * Create form.html.php, this is a template for Forge based forms. * Move user validation rules into User_Model and let forms populate the rules into their forms as useful. * Undo r18688's changes regarding the REST code. We should never accept a null resource, this breaks the REST abstraction. * Change login and user controllers to use Forge which lets us delete login.html.php and user.html.php since those now are generated by the theme-owned form template
2008-11-14Rename login.js to user.jsTim Almdal
2008-11-12More updates for user management. The controllers don't work yet. But the ↵Tim Almdal
login link in the header wil open up a login box like the mockup
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-09change url::base() to url::file()Bharat Mediratta
2008-11-08Add support for in-place editing of data fields.Bharat Mediratta
2008-11-07convert tabs -> spacesBharat Mediratta
2008-11-07Added YUI 2.6.0 CSS collection to lib (reset-gonts-grids and base) and call ↵Chad Kieffer
these rather than CDN versions, for now. Renamed default theme's style sheet to screen.css, recommend that CSS files be named for the primary media they support. Removed unused YUI JS component calls from the default theme.
2008-11-06Break header/sidebar/footer out into separate templates.Bharat Mediratta
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-04Add a test to detect tabs in our code, and convert all tabs to spacesBharat Mediratta
so that the test passes.
2008-11-03Oops, left out the footer by accident.Bharat Mediratta
2008-11-03Default theme, built with YUI. A mock right now, not functional atBharat Mediratta
all (except in some very minor ways). It's unclear if this is the best final structure. Right now the album controller knows a considerable amount about the layout of the page, which may not be the best way to do things.