Ignore:
Timestamp:
10/08/14 17:17:38 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Commit 3/mumble for work done intermittently over the past ~year.
See #5, comment 25:

  • Update suballocation list/summary; IPDB::listSubs(), main.cgi:showSubs(), and page template
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/showsubs.tmpl

    r568 r627  
    1919<td>
    2020<TMPL_IF hassubs>
    21 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=block>&amp;rdepth=<TMPL_VAR NAME=subdepth>"><TMPL_VAR NAME=block></a>
     21<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a>
    2222<TMPL_ELSE>
    23 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=block>&amp;rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=block></a>
    24 <TMPL_IF listpool> &nbsp; <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=block>&amp;rdepth=<TMPL_VAR NAME=rdepth>">List IPs</a></TMPL_IF>
     23<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=id>&amp;basetype=b"><TMPL_VAR NAME=block></a>
     24<TMPL_IF listpool> &nbsp; <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=id>">List IPs</a></TMPL_IF>
    2525</TMPL_IF>
    2626</td>
     
    3535<TMPL_ELSE>
    3636<hr class="w30">
    37 <div class="tbltitle">No allocations in <TMPL_VAR NAME=block>.
     37<div class="tbltitle">No allocations in <TMPL_VAR NAME=block>
    3838<TMPL_IF maydel>
    3939<br>
     
    4141<fieldset><legend class="noshow">&nbsp;</legend>
    4242<input type=hidden name=action value="delete">
    43 <input type=hidden name=block value="<TMPL_VAR NAME=block>">
    44 <input type=hidden name=rdepth value="<TMPL_VAR NAME=deldepth>">
     43<input type=hidden name=block value="<TMPL_VAR NAME=del_id>">
     44<input type=hidden name=basetype value="b">
    4545<input type=submit value=" Remove this block ">
    4646</fieldset>
     
    6868<td>
    6969<TMPL_IF mayadd>
    70 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&amp;block=<TMPL_VAR NAME=fblock>&amp;rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=fblock></a>
     70<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&amp;block=<TMPL_VAR NAME=fblock>&amp;fbid=<TMPL_VAR NAME=fbid>&amp;parent=<TMPL_VAR NAME=fbparent>"><TMPL_VAR NAME=fblock></a>
    7171<TMPL_ELSE>
    7272<TMPL_VAR NAME=fblock>
Note: See TracChangeset for help on using the changeset viewer.