[freeside-commits]
freeside/httemplate/edit/elements edit.html, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Fri Apr 21 17:58:41 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail:/tmp/cvs-serv26322/httemplate/edit/elements
Modified Files:
edit.html
Log Message:
start of package class web UI (add/edit package classes, package class selection in package def edit)
Index: edit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/edit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- edit.html 8 Mar 2006 10:05:01 -0000 1.1
+++ edit.html 22 Apr 2006 00:58:39 -0000 1.2
@@ -15,6 +15,8 @@
# ]
#
# 'menubar' => '', #menubar arrayref
+ #
+ # 'viewall_dir' => '', #'search' or 'browse', defaults to 'search'
my(%opt) = @_;
@@ -55,7 +57,9 @@
} else {
@menubar = (
'Main menu' => $p, #eventually get rid of this when the ACL/UI update is done
- "View all $opt{'name'}s" => "${p}search/$table.html", #eventually use Lingua::bs to pluralize
+ #eventually use Lingua::bs to pluralize
+ "View all $opt{'name'}s" => $p. ( $opt{'viewall_dir'} || 'search' ).
+ "/$table.html",
);
}
More information about the freeside-commits
mailing list