Changeset 594 for branches/stable/templates
- Timestamp:
- 05/15/13 16:17:00 (11 years ago)
- Location:
- branches/stable
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
- Property svn:mergeinfo changed
/trunk merged: 518-548,552-553
- Property svn:mergeinfo changed
-
branches/stable/templates/aclerror.tmpl
r593 r594 2 2 <div class="center">You do not have permission to <TMPL_VAR NAME=ipdbfunc>. Access denied.</div> 3 3 <br> 4 <TMPL_IF 0><TMPL_VAR NAME=webpath></TMPL_IF> -
branches/stable/templates/admin/alloc.tmpl
r593 r594 2 2 <TMPL_VAR NAME=errmsg> 3 3 <TMPL_ELSE> 4 <TMPL_IF warnmsg><div class="warnmsg"><TMPL_VAR NAME=warnmsg></div></TMPL_IF> 4 5 <form method="POST" action="admin.cgi"> 5 6 <fieldset><legend class="noshow"> </legend> -
branches/stable/templates/admin/main.tmpl
r593 r594 8 8 Allocate block/IP: <input name="cidr"> as 9 9 <select name="alloctype"> 10 <TMPL_LOOP NAME=typelist><option value="<TMPL_VAR NAME=type>"<TMPL_ UNLESS selected> selected</TMPL_UNLESS>><TMPL_VAR NAME=dispname></option>10 <TMPL_LOOP NAME=typelist><option value="<TMPL_VAR NAME=type>"<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=listname></option> 11 11 </TMPL_LOOP> 12 12 </select> … … 29 29 Bump "last updated" timestamp on this master: 30 30 <select name="whichmaster"> 31 <TMPL_LOOP NAME=masterlist><option value="<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master> (<TMPL_VAR NAME=m asterdate>)</option>31 <TMPL_LOOP NAME=masterlist><option value="<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master> (<TMPL_VAR NAME=mtime>)</option> 32 32 </TMPL_LOOP> 33 33 </select> -
branches/stable/templates/assign.tmpl
r593 r594 39 39 <select name="alloctype"> 40 40 <TMPL_LOOP name=typelist> 41 <option value="<TMPL_VAR NAME=t val>"<TMPL_VAR NAME=sel>><TMPL_VAR NAME=type></option></TMPL_LOOP>41 <option value="<TMPL_VAR NAME=type>"<TMPL_IF sel> selected</TMPL_IF>><TMPL_VAR NAME=listname></option></TMPL_LOOP> 42 42 </select> 43 43 <input type="button" value=" ? " onclick="helpAllocTypes()" class="regular"> … … 62 62 <td> 63 63 <select name="node"> 64 <option selected ="selected">-</option>64 <option selected>-</option> 65 65 <TMPL_LOOP NAME=nodelist> 66 <option value="<TMPL_VAR NAME=n id>"><TMPL_VAR NAME=nname></option></TMPL_LOOP>66 <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option></TMPL_LOOP> 67 67 </select> 68 68 <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new location</a> -
branches/stable/templates/dberr.tmpl
r593 r594 3 3 <input type="button" value="Back" onclick="history.go(-1)"> 4 4 </div> 5 <TMPL_IF webpath></TMPL_IF> -
branches/stable/templates/delete.tmpl
r593 r594 27 27 <tr class="row0"> 28 28 <td>Circuit ID:</td> 29 <td><TMPL_VAR NAME=circid></td>29 <td><TMPL_VAR ESCAPE=HTML NAME=circid></td> 30 30 </tr> 31 31 32 32 <tr class="row1"> 33 33 <td valign="top">Description/Name:</td> 34 <td><TMPL_VAR NAME=desc></td>34 <td><TMPL_VAR ESCAPE=HTML NAME=desc></td> 35 35 </tr> 36 36 … … 42 42 <TMPL_IF privdata> 43 43 <tr class="row1"> 44 <td >Restricted data:</td>44 <td valign="top">Restricted data:</td> 45 45 <td><TMPL_VAR NAME=privdata></td> 46 46 </tr> … … 60 60 <input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm"> 61 61 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 62 <input type="hidden" name="city" value="<TMPL_VAR NAME=city>">63 62 <input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>"> 64 63 <input type="hidden" name="action" value="finaldelete"> -
branches/stable/templates/edit.tmpl
r593 r594 55 55 <option selected="selected">--</option></TMPL_UNLESS> 56 56 <TMPL_LOOP NAME=nodelist> 57 <option <TMPL_IF selme>selected="selected"</TMPL_IF> value="<TMPL_VAR NAME=nodeid>"><TMPL_VAR NAME=nodename></option></TMPL_LOOP>57 <option value="<TMPL_VAR NAME=node_id>"<TMPL_IF selme> selected</TMPL_IF>><TMPL_VAR NAME=node_name></option></TMPL_LOOP> 58 58 </select> 59 59 <TMPL_ELSE> … … 82 82 <TMPL_IF swipable> 83 83 <TMPL_IF maychange> 84 <input type="checkbox" name="swip" <TMPL_IF swip>checked="checked"</TMPL_IF>>84 <input type="checkbox" name="swip"<TMPL_IF swip> checked="checked"</TMPL_IF>> 85 85 <TMPL_ELSE> 86 86 <TMPL_IF swip>Yes<TMPL_ELSE>No</TMPL_IF> … … 101 101 <td class="regular"> 102 102 <TMPL_IF maychange> 103 <input type="text" name="circid" value="<TMPL_VAR NAME=circid>" maxlength=64 size=64 class="regular">103 <input type="text" name="circid" value="<TMPL_VAR ESCAPE=HTML NAME=circid>" maxlength=64 size=64 class="regular"> 104 104 <TMPL_ELSE> 105 <TMPL_VAR NAME=circid>105 <TMPL_VAR ESCAPE=HTML NAME=circid> 106 106 </TMPL_IF> 107 107 </td> … … 112 112 <td class="regular"> 113 113 <TMPL_IF maychange> 114 <input type="text" name="desc" value="<TMPL_VAR NAME=desc>" maxlength=64 size=64 class="regular">114 <input type="text" name="desc" value="<TMPL_VAR ESCAPE=HTML NAME=desc>" maxlength=64 size=64 class="regular"> 115 115 <TMPL_ELSE> 116 <TMPL_VAR NAME=desc>116 <TMPL_VAR ESCAPE=HTML NAME=desc> 117 117 </TMPL_IF> 118 118 </td> … … 122 122 <td class="heading" valign="top">Notes:</td> 123 123 <td class="regular"> 124 <TMPL_IF maychange><textarea rows="8" cols="64" name="notes" class="regular"><TMPL_VAR NAME=notes></textarea>124 <TMPL_IF maychange><textarea rows="8" cols="64" name="notes" class="regular"><TMPL_VAR ESCAPE=HTML NAME=notes></textarea> 125 125 <TMPL_ELSE> 126 <TMPL_VAR NAME=notes>126 <TMPL_VAR ESCAPE=HTML NAME=notes> 127 127 </TMPL_IF> 128 128 </td> … … 134 134 <td class="regular"> 135 135 <TMPL_IF maychange> 136 <textarea rows="3" cols="64" name="privdata" class="regular"><TMPL_VAR NAME=privdata></textarea>136 <textarea rows="3" cols="64" name="privdata" class="regular"><TMPL_VAR ESCAPE=HTML NAME=privdata></textarea> 137 137 <TMPL_ELSE> 138 <TMPL_VAR NAME=privdata>138 <TMPL_VAR ESCAPE=HTML NAME=privdata> 139 139 </TMPL_IF> 140 140 </td> -
branches/stable/templates/index.tmpl
r593 r594 10 10 </tr> 11 11 <TMPL_LOOP NAME=masterlist> 12 <tr class="row<TMPL_ VAR name=rowclass>">12 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 13 13 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showmaster&block=<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master></a></td> 14 14 <td><TMPL_VAR NAME=routed></td> 15 15 <td><TMPL_VAR NAME=allocated></td> 16 16 <td><TMPL_VAR NAME=free></td> 17 <td><TMPL_VAR NAME=bigfree></td>17 <td><TMPL_VAR ESCAPE=HTML NAME=bigfree></td> 18 18 </tr> 19 19 </TMPL_LOOP> -
branches/stable/templates/listpool.tmpl
r593 r594 28 28 29 29 <TMPL_LOOP name=poolips> 30 <tr class="row<TMPL_ VAR NAME=rowclass>">30 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 31 31 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></a></td> 32 32 <td><TMPL_VAR NAME=custid></td> -
branches/stable/templates/nodesearch.tmpl
r593 r594 11 11 <td><select name="node"> 12 12 <option>--</option> 13 <TMPL_LOOP NAME=nodelist> <option value="<TMPL_VAR NAME=node id>"><TMPL_VAR NAME=nodename></option>13 <TMPL_LOOP NAME=nodelist> <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option> 14 14 </TMPL_LOOP> 15 15 </select></td> -
branches/stable/templates/showmaster.tmpl
r593 r594 13 13 14 14 <TMPL_LOOP NAME=routedlist> 15 <tr class="row<TMPL_ VAR NAME=rowclass>">15 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 16 16 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showrouted&block=<TMPL_VAR NAME=block>"><TMPL_VAR NAME=block></a></td> 17 17 <td><TMPL_VAR NAME=city></td> 18 18 <td><TMPL_VAR NAME=nsubs></td> 19 19 <td><TMPL_VAR NAME=nfree></td> 20 <td><TMPL_VAR NAME=lfree></td>20 <td><TMPL_VAR ESCAPE=HTML NAME=lfree></td> 21 21 </tr> 22 22 </TMPL_LOOP> … … 53 53 54 54 <TMPL_LOOP name=unrouted> 55 <tr class="row<TMPL_ VAR NAME=rowclass>">55 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 56 56 <td><TMPL_VAR NAME=fblock></td> 57 57 <td><TMPL_VAR NAME=frange></td> -
branches/stable/templates/showrouted.tmpl
r593 r594 15 15 16 16 <TMPL_LOOP NAME=blocklist> 17 <tr class="row<TMPL_ VAR NAME=rowclass>">17 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 18 18 <td> 19 19 <TMPL_IF subblock>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=block>"><TMPL_VAR NAME=block></a> … … 23 23 <td><TMPL_VAR NAME=type></td> 24 24 <td><TMPL_VAR NAME=custid></td> 25 <td><TMPL_VAR NAME=swip>< /td>25 <td><TMPL_VAR NAME=swip><TMPL_IF partswip><small>*</small></TMPL_IF></td> 26 26 <td><TMPL_VAR NAME=desc></td> 27 27 </tr> … … 36 36 <fieldset><legend class="noshow"> </legend> 37 37 <input type=hidden name=action value="delete"> 38 <input type=hidden name=block value=" 1.2.12.0/23">38 <input type=hidden name=block value="<TMPL_VAR NAME=master>"> 39 39 <input type=hidden name=alloctype value="rm"> 40 40 <input type=submit value=" Remove this block "> … … 58 58 59 59 <TMPL_LOOP name=unassigned> 60 <tr class="row<TMPL_ VAR NAME=rowclass>">60 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 61 61 <td><TMPL_IF subblock>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR NAME=fblock>&fbtype=<TMPL_VAR NAME=fbtype>"><TMPL_VAR NAME=fblock></a></td> 62 62 <td><TMPL_VAR NAME=frange></td> -
branches/stable/templates/update.tmpl
r593 r594 41 41 <tr class="row0"> 42 42 <td>Circuit ID:</td> 43 <td><TMPL_VAR NAME=circid></td>43 <td><TMPL_VAR ESCAPE=HTML NAME=circid></td> 44 44 </tr> 45 45 46 46 <tr class="row1"> 47 47 <td valign="top">Description/Name:</td> 48 <td><TMPL_VAR NAME=desc></td>48 <td><TMPL_VAR ESCAPE=HTML NAME=desc></td> 49 49 </tr> 50 50
Note:
See TracChangeset
for help on using the changeset viewer.