[Bug 6326] xTasks not functional
| Newsgroups | gmane.comp.cms.xaraya.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://bugs.xaraya.com/show_bug.cgi?id=6326 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #4085| |review? Flag| | ------- Comment #2 from [email protected] 2009-02-15 23:32 GMT ------- Created an attachment (id=4085) --> (http://bugs.xaraya.com/attachment.cgi?id=4085&action=view) Proposal for generating InPageMenus out of getmenlinks.php Currently we need to maintain two getmenulinks.php for admin and user and two included templates admin-menu.xd and user-menu.xd. They should carry the same menu items. Differences between main menu and in page menus disturb the users. For easying the maintenance the menu items for the in page menus can be get with xarModAPIFunc() from the getmenulinks files as shown below. The <xar:if> part controls the setting fo the active tab. <xar:loop name="xarModAPIFunc('xtasks', 'user', 'getmenulinks')"> <xar:if condition="isset($loop:item['active'])"> <xar:set name="tabclass"> in_array($activetab, $loop->item['active'])?'active':'' </xar:set> </xar:if> <dd class="#$tabclass#"> <a href="#$loop:item.url#" title="#$loop:item.title#">#$loop:item.label#</a> </dd> </xar:loop> -- Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ---- ** IMPORTANT ** READ BELOW ** ---- [Clip Me Start] -------------------------------------------------------------------------- If you wish, you can reply to this message directly **however**, make sure to use the "Reply To All" feature of your client **and** ensure that the bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have you're From or Reply-To address set to the same address you use to log into your bugzilla account or your reply will not be attached to the bug. -------------------------------------------------------------------------- [Clip Me End]