Commit Graph

7 Commits

Author SHA1 Message Date
Bharat Mediratta
b878ed174d Refactor Menu code to create allow you to create menus using a
chainable factory interface and retrieve them by ids.  Streamlined the
HTML creation code a little bit in the process, moved the basic menu
functionality into Theme_View and created the option to have different
menus other than site_navigation().
2008-12-08 06:14:34 +00:00
Bharat Mediratta
8592aad2bb Replace protected array and __get() with just class variables. This is faster and tighter. 2008-12-08 04:55:39 +00:00
Tim Almdal
ee2299d6d0 Restructure Menu processing to respect the differnent types of menu items (Menu's, Menu_Link, Menu_Dialog) 2008-12-08 00:23:33 +00:00
Tim Almdal
ba2b39624b correct menu processing such that urls=# aren't given class gDialogLink 2008-12-07 22:19:26 +00:00
Tim Almdal
3449827c5a Change the menu processing to add the gDialogLink class if the url starts with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that 2008-12-07 22:10:23 +00:00
Tim Almdal
5f9e35bf93 Remove debugging code 2008-12-07 21:34:19 +00:00
Tim Almdal
954fcf0342 Merge gallery3/branches/menus back into gallery3/trunk 2008-12-07 19:45:46 +00:00