[Lxr-dev] [ lxr-Bugs-3570203 ] showconfig: incorrect tree links
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2012-09-21 08:21:57
|
Bugs item #3570203, was opened at 2012-09-20 11:31 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3570203&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: current cvs >Status: Closed >Resolution: Fixed Priority: 3 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: showconfig: incorrect tree links Initial Comment: showconfig offers "previous" and "next" [parameter group] links to list configuration for other trees. Unhappily, the link is built using HTML-relative form which implies 'virtroot' is not changed and new modes links still point to the original tree. The "previous" and "next" links should be computed according to the same algorithm as that used for the "speed switch" button in the page header area. The basic code already exist in Template.pm. Since this code manipulates configuration parameters, a new method should be created in Config.pm to be shared by Template.pm and Config.pm. ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2012-09-21 01:21 Message: Method treeurl created in Config.pm to return an HTML-absolute URL for a tree or undef if it is the current tree. Caller may use this information to use HTML-relative URL or ignore action. showconfig and Template.pm modified to reflect new method. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3570203&group_id=27350 |