commit a41bc31de4e0718a13e8175b4eb5a501df8e24ba parent eecdd6c9fb53b0f25b9775ec41e17a4d63b922f7 Author: uriel@engel.se.cat-v.org <unknown> Date: Tue, 14 Oct 2008 01:16:41 +0200 Remove some clumsy commented out code to change menu item order in blog dirs Diffstat:
M | bin/controller.rc | | | 8 | +------- |
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/bin/controller.rc b/bin/controller.rc @@ -31,13 +31,7 @@ fn hide_paths { # Sidebar fn menu { - lsArgs = ('-F') - # XXX will not work properly for $#blogDirs > 1 and matching is hackish - # XXX Work in progress, doesn't work well enough to be usable: too inconsistent, doesn't handle corner cases well at all - #if ( ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ ) { - # lsArgs = ($lsArgs -r) - #} - ls $lsArgs $1 | sed $dirfilter | awk -F/ ' + ls -F $1 | sed $dirfilter | awk -F/ ' BEGIN { print "<ul class=\"side-bar\">" } END { print "</ul>" } # Should add \. to the list of allowed chars in file names, but need to find a way to filter out .txt and so on