"Fossies" - the Fresh Open Source Software Archive

Member "viewvc-1.2.1/templates/classic/include/pathrev_form.ezt" (26 Mar 2020, 1726 Bytes) of package /linux/misc/viewvc-1.2.1.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <form method="get" action="[pathrev_action]" style="display: inline">
    2 <div style="display: inline">
    3 [for pathrev_hidden_values]<input type="hidden" name="[pathrev_hidden_values.name]" value="[pathrev_hidden_values.value]"/>[end]
    4 [is roottype "cvs"]
    5   [define pathrev_selected][pathrev][end]
    6   <select name="pathrev" onchange="submit()">
    7   <option value=""></option>
    8   [if-any branch_tags]
    9     <optgroup label="Branches">
   10     [for branch_tags]
   11       <option [is branch_tags.name pathrev]selected[define pathrev_selected][end][end]
   12         value="[branch_tags.name]">[branch_tags.name][if-any branch_tags.revision] ([branch_tags.revision])[end]
   13       </option>
   14     [end]
   15     </optgroup>
   16   [end]
   17   <optgroup label="Non-branch tags">
   18   [for plain_tags]
   19     <option [is plain_tags.name pathrev]selected[define pathrev_selected][end][end]
   20       value="[plain_tags.name]">[plain_tags.name][if-any plain_tags.revision] ([plain_tags.revision])[end]
   21     </option>
   22   [end]
   23   </optgroup>
   24   [if-any pathrev_selected]
   25     <option selected>[pathrev_selected]</option>
   26   [end]
   27   </select>
   28 [else]
   29   <input type="text" name="pathrev" value="[pathrev]" size="6"/>
   30 [end]
   31 <input type="submit" value="Set" />
   32 </div>
   33 </form>
   34 
   35 [if-any pathrev]
   36 <form method="get" action="[pathrev_clear_action]" style="display: inline">
   37 <div style="display: inline">
   38 [for pathrev_clear_hidden_values]<input type="hidden" name="[pathrev_clear_hidden_values.name]" value="[pathrev_clear_hidden_values.value]"/>[end]
   39 [if-any lastrev]
   40   [is pathrev lastrev][else]<input type="submit" value="Set to [lastrev]" />[end]
   41   (<i>Current path doesn't exist after revision <strong>[lastrev]</strong></i>)
   42 [else]
   43   <input type="submit" value="Clear" />
   44 [end]
   45 </div>
   46 </form>
   47 [end]