Bharat Mediratta
2f8b4df0f5
Protect menus and blocks against the fact that we don't have an item
...
on tag pages.
2008-12-15 21:23:00 +00:00
Bharat Mediratta
e65f8d5022
Remove head() for now.
2008-12-12 07:25:43 +00:00
Tim Almdal
1af3b8e100
Changes to the Menu.php:
...
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively.
2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added. All elements of class gMenuDialog have the gDialogLink class added.
3) Use Superfish for the menus so they now float properly.
2008-12-11 19:01:47 +00:00
Tim Almdal
f3d40c02ec
A a script block to the <head> of the page that creates a javascript variable (base_url) such that javascript on the page can find the base url of the site in order to generate ajax callbacks.
2008-12-11 18:53:54 +00:00
Bharat Mediratta
18a6614a11
Change all access API methods to take ORMs instead of ids. This will
...
minimize reloading objects from the database.
2008-12-10 07:05:49 +00:00
Bharat Mediratta
09364348c7
Remove navigation_top() and navigation_bottom() as they're subsumed by the new menu code
2008-12-10 04:25:20 +00:00
Bharat Mediratta
f198331065
Put profiler into page_bottom()
2008-12-10 04:23:48 +00:00
Bharat Mediratta
73496de94f
Tighten up head()
2008-12-08 04:39:21 +00:00
Tim Almdal
954fcf0342
Merge gallery3/branches/menus back into gallery3/trunk
2008-12-07 19:45:46 +00:00
Bharat Mediratta
723eb2f611
Move the ADMIN global nav option into the core module and only show it if we're logged in as an admin user
2008-11-27 11:43:48 +00:00
Bharat Mediratta
b22494a4ea
Move the in-place-edit JS into the page_footer callback and out of
...
Theme.php.
2008-11-25 04:37:21 +00:00
Tim Almdal
8b52d9cde4
Revert the site_title change
2008-11-24 05:58:38 +00:00
Tim Almdal
7491e3c44a
Add a site-config parameter to the config.php file. Created a 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-23 16:51:06 +00:00