summaryrefslogtreecommitdiff
path: root/core/libraries/Theme.php
AgeCommit message (Collapse)Author
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-16Second half of renaming the tags module. Change all occurrences ofBharat Mediratta
gTags to gTag in the CSS.
2008-11-15Add Theme::module() and module::get()Bharat Mediratta
2008-11-08Add support for in-place editing of data fields.Bharat Mediratta
2008-11-07Add automatic pagination. All you have to do is add <?= $theme->pagerBharat Mediratta
?> to your theme file and you get a well formed pager. Themes can customize this any way they want. A version that matches the mockup is provided in the default theme.
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-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.