Only show the chooser if we have the $show[] right
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Sep 2005 00:22:42 +0000 (00:22 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Sep 2005 00:22:42 +0000 (00:22 +0000)
templates/default/header.tpl

index d303e1a03054e04f9b332e77205f5b5896fed415..3dae6f38a50eaa4f3e36a82a0b489eb8809935a6 100644 (file)
@@ -2,6 +2,7 @@
 
 <h1 style="display: inline">ViewSVN</h1>
 
+<if condition="$show['reposchooser']">
 <form style="float: right" name="jumper" method="post" action="$viewsvn->path/repository.php">
        Repository: <select name="repository">
        $options
@@ -9,5 +10,6 @@
        
        <input type="submit" name="submit" value="Go" />
 </form>
+</if>
 
 <br />
\ No newline at end of file