summaryrefslogtreecommitdiff
path: root/themes/default
AgeCommit message (Collapse)Author
2008-11-05Move Google Maps block off into its own gmaps module.Bharat Mediratta
2008-11-05Item Info block is now off into the info module. Yay!Bharat Mediratta
2008-11-05Tags are now off in their own module, hooray!Bharat Mediratta
2008-11-05The carousel block is now off into its own module. TheBharat Mediratta
sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray!
2008-11-05Update to latest HTML/CSSBharat Mediratta
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.
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-04Restructure the theme code to be more like WordPress / Habari. Now,Bharat Mediratta
the controller initiates a request to a top level page (eg: album.html.php) which is then free to include whatever other page chunks it wants with calls like <?= $theme->display('header.html') ?> Variables like $item and $children are in the global space for all views. theme.php helper is now Theme.php library which lets us store the name of the theme inside the variable itself. This means that the theme does not have to know its own name because you can use $theme->url() for all urls to stuff inside the theme itself, which makes it possible to cline a theme without changing a single line. Still using the mock album UI.
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.