[Fusionforge-commits] r8827 - trunk/gforge/www/scm/viewvc/templates/include

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Feb 17 13:23:50 CET 2010


Author: lolando
Date: 2010-02-17 13:23:50 +0100 (Wed, 17 Feb 2010)
New Revision: 8827

Modified:
   trunk/gforge/www/scm/viewvc/templates/include/header.ezt
Log:
Hide listing of SVN repos in viewvc

Modified: trunk/gforge/www/scm/viewvc/templates/include/header.ezt
===================================================================
--- trunk/gforge/www/scm/viewvc/templates/include/header.ezt	2010-02-17 09:21:10 UTC (rev 8826)
+++ trunk/gforge/www/scm/viewvc/templates/include/header.ezt	2010-02-17 12:23:50 UTC (rev 8827)
@@ -10,9 +10,6 @@
 </head>
 <body>
 <div class="vc_navheader">
-[if-any roots]
-  <form method="get" action="[change_root_action]">
-[end]
 <table style="padding:0.1em;">
 <tr>
   <td>
@@ -28,45 +25,10 @@
   [end]
   </td>
   <td style="text-align:right;">
-  [if-any roots]
-    [change_root_hidden_values]
-      <strong>Repository:</strong>
-      <select name="root" onchange="submit()">
-        [define cvs_root_options][end]
-        [define svn_root_options][end]
-        <option value="*viewroots*"[is view "roots"] selected="selected"[else][end]>Repository Listing</option>
-        [for roots]
-          [define root_option][end]
-          [is roots.name rootname]
-            [define root_option]<option selected="selected">[roots.name]</option>[end]
-          [else]
-            [define root_option]<option>[roots.name]</option>[end]
-          [end]
-          [is roots.type "cvs"]
-            [define cvs_root_options][cvs_root_options][root_option][end]
-          [else]
-            [is roots.type "svn"]
-              [define svn_root_options][svn_root_options][root_option][end]
-            [end]
-          [end]
-        [end]
-        [is cvs_root_options ""][else]
-          <optgroup label="CVS Repositories">[cvs_root_options]</optgroup>
-        [end]
-        [is svn_root_options ""][else]
-          <optgroup label="Subversion Repositories">[svn_root_options]</optgroup>
-        [end]
-      </select>
-      <input type="submit" value="Go" />
-  [else]
     &nbsp;
-  [end]
   </td>
 </tr>
 </table>
-[if-any roots]
-</form>
-[end]
 </div>
 
 <div style="float: right; padding: 5px;"><a href="http://www.viewvc.org/"><img src="[docroot]/images/logo.png" alt="ViewVC logotype" width="128" height="48" /></a></div>




More information about the Fusionforge-commits mailing list