Changeset 634 for trunk/templates
- Timestamp:
- 10/09/14 12:37:39 (10 years ago)
- Location:
- trunk/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/edit.tmpl
r586 r634 11 11 <fieldset><legend class="noshow"> </legend> 12 12 <input type="hidden" name="action" value="update"> 13 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 14 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>"> 13 <input type="hidden" name="block" value="<TMPL_VAR NAME=id>"> 15 14 </TMPL_IF> 16 15 … … 61 60 62 61 <tr class="row0"> 63 <td class=heading> Demarc/tower:</td>62 <td class=heading>Layer-2/demarc node:</td> 64 63 <td class=regular> 65 <TMPL_IF typesupportsnodes>66 64 <TMPL_IF maychange> 67 <select name="node"> <TMPL_UNLESS havenodeid>68 <option selected="selected">--</option> </TMPL_UNLESS>65 <select name="node"> 66 <option selected="selected">--</option> 69 67 <TMPL_LOOP NAME=nodelist> 70 68 <option value="<TMPL_VAR NAME=node_id>"<TMPL_IF selme> selected</TMPL_IF>><TMPL_VAR NAME=node_name></option></TMPL_LOOP> 71 69 </select> 70 <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a> 72 71 <TMPL_ELSE> 73 72 <TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF> 74 </TMPL_IF>75 <TMPL_ELSE>76 N/A77 73 </TMPL_IF> 78 74 </td> … … 158 154 <tr class="row<TMPL_IF nocling>0<TMPL_ELSE>1</TMPL_IF>"> 159 155 <td colspan="2" class="center"> 156 <input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>"> 160 157 <input type="submit" value=" Update this block " class="regular"> 161 158 </td> … … 175 172 <div class="row<TMPL_IF nocling><TMPL_IF maychange>1<TMPL_ELSE>0</TMPL_IF><TMPL_ELSE><TMPL_IF maychange>0<TMPL_ELSE>1</TMPL_IF></TMPL_IF>"> 176 173 <input type="hidden" name="action" value="delete"> 177 <input type="hidden" name="block" value="<TMPL_VAR NAME= block>">178 <input type="hidden" name=" rdepth" value="<TMPL_VAR NAME=rdepth>">174 <input type="hidden" name="block" value="<TMPL_VAR NAME=id>"> 175 <input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>"> 179 176 <input type=submit value=" Delete this block "> 180 177 </div> -
trunk/templates/update.tmpl
r588 r634 10 10 11 11 <tr class="row0"> 12 <td>IP block:</td>12 <td>IP<TMPL_UNLESS backpool> block</TMPL_UNLESS>:</td> 13 13 <td><TMPL_VAR NAME=cidr></td> 14 14 </tr> … … 32 32 33 33 <tr class="row0"> 34 <td> Demarc/tower:</td>34 <td>Layer-2/demarc node:</td> 35 35 <td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td> 36 36 </tr> … … 72 72 <br> 73 73 <div class="backlink"> 74 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&pool=<TMPL_ELSE>showsubs& block=</TMPL_IF><TMPL_VAR NAME=backblock>&rdepth=<TMPL_VAR NAME=backdepth>">Back to <TMPL_VAR NAME=backblock></a>74 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&pool=<TMPL_ELSE>showsubs&parent=</TMPL_IF><TMPL_VAR NAME=backid>">Back to <TMPL_VAR NAME=backblock></a> 75 75 </div> 76 76 </TMPL_IF>
Note:
See TracChangeset
for help on using the changeset viewer.