Changeset 576 for trunk/templates


Ignore:
Timestamp:
12/21/12 17:49:08 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Work in progress, see #5:
Update templates and calling code for allocation update to pass
around rdepth as needed, and to set some breadcrumbs-lite to
make it easier to get back where you were

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/edit.tmpl

    r534 r576  
    1212<input type="hidden" name="action" value="update">
    1313<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
     14<input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
    1415</TMPL_IF>
    1516
     
    163164<input type="hidden" name="action" value="delete">
    164165<input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
    165 <input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
     166<input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
    166167<input type=submit value=" Delete this block ">
    167168</div>
  • trunk/templates/update.tmpl

    r536 r576  
    6565<br>
    6666<div class="backlink">
    67 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&amp;pool=<TMPL_ELSE>showrouted&amp;block=</TMPL_IF><TMPL_VAR NAME=backblock>">Back to <TMPL_VAR NAME=backblock></a>
     67<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&amp;pool=<TMPL_ELSE>showsubs&amp;block=</TMPL_IF><TMPL_VAR NAME=backblock>&amp;rdepth=<TMPL_VAR NAME=backdepth>">Back to <TMPL_VAR NAME=backblock></a>
    6868</div>
    6969</TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.