Commit Graph
17 Commits
Author SHA1 Message Date
Chad Kieffer c166042313 Apply default link styles to links in dialogs, including the Forgot Password link. 2009-02-06 01:47:42 +00:00
Bharat Mediratta cf45795525 Doh! Fix a bug in add_after() that caused it to drop the item we were adding it after. 2009-02-03 09:42:07 +00:00
Tim Almdal 7239a4d8bc Add the ability to generate the id parameter on Menu Dialog. 2009-01-29 18:25:14 +00:00
Bharat Mediratta 43b30c0ee2 Add Menu::add_after() 2009-01-28 19:25:01 +00:00
Bharat Mediratta 97bf6761b2 Properly implement 'root' as a legal factory type 2009-01-07 09:07:45 +00:00
Bharat Mediratta dedda72297 Add 'root' as a legal factory type 2009-01-07 09:05:30 +00:00
Bharat Mediratta 294db39c96 Tabs -> spaces 2009-01-06 00:12:54 +00:00
Chad Kieffer f7f2fa10cd Started to wire up album and photo view menus. Need photo's parent album link added. Also need add the slideshow link to the menu. 2009-01-04 03:43:12 +00:00
Bharat Mediratta bcd10e4a7f Convert a stray <li> to </li> 2008-12-11 19:12:41 +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
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