[Jifty-commit] r3034 - in jifty/trunk: share/web/templates/_elements
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Mar 19 23:04:41 EDT 2007
Author: falcone
Date: Mon Mar 19 23:04:41 2007
New Revision: 3034
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/web/templates/_elements/nav
Log:
r17478 at ketch: falcone | 2007-03-19 23:00:26 -0400
* Administration and Online docs tabs are set in Jifty/Plugin/*/Dispatcher.pm
Modified: jifty/trunk/share/web/templates/_elements/nav
==============================================================================
--- jifty/trunk/share/web/templates/_elements/nav (original)
+++ jifty/trunk/share/web/templates/_elements/nav Mon Mar 19 23:04:41 2007
@@ -1,9 +1,2 @@
-<%init>
-my $top = Jifty->web->navigation;
-$top->child(Home => label => _('Home'), url => "/", sort_order => 1);
- if (Jifty->config->framework('AdminMode') ) {
- $top->child(Administration => url => "/__jifty/admin/", label => _('Administration'), sort_order => 998);
- $top->child(OnlineDocs => url => "/__jifty/online_docs/", label => _('Online docs'), sort_order => 999);
- }
-return();
-</%init>
+%# Navigation frobbing now handled in Dispatcher plugins
+%# This exists for backwards compatibility
More information about the Jifty-commit
mailing list