Author: dom Date: 2010-02-28 15:57:36 +0000 (Sun, 28 Feb 2010) New Revision: 1280
Modified: trunk/templates/navbar_tools.tt Log: missing change from previous commit; don't offer to create new page on read-only guide
Modified: trunk/templates/navbar_tools.tt =================================================================== --- trunk/templates/navbar_tools.tt 2010-02-28 15:28:05 UTC (rev 1279) +++ trunk/templates/navbar_tools.tt 2010-02-28 15:57:36 UTC (rev 1280) @@ -2,7 +2,9 @@ <div class="navbar_group_title">Tools:</div> <ul> <li><a href="[% full_cgi_url %]?action=rc">Recent Changes</a></li> +[% UNLESS read_only %] <li><a href="[% script_url %]newpage.cgi">Create New Page</a></li> +[% END %] <li><a href="[% full_cgi_url %]?action=random">Random Page</a></li> <li><a href="[% full_cgi_url %]?action=show_wanted_pages">Wanted Pages</a></li> [% IF prefs.include_geocache_link AND wgs84_lat AND wgs84_long %]
openguides-commits@lists.openguides.org