MT 1976 : template simplification
This commit is contained in:
parent
e1ccd07e71
commit
48a7e871b9
1 changed files with 60 additions and 95 deletions
|
@ -9,115 +9,80 @@
|
|||
|
||||
<div id="custom-doc" class="yui-t7">
|
||||
<div id="bd">
|
||||
<!-- TMPL_IF NAME="confirm" -->
|
||||
<!-- TMPL_IF NAME="multiple"-->
|
||||
<h1>Add <!-- TMPL_VAR NAME="total"--> items to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em>: <!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
|
||||
<h1>Add <!-- TMPL_VAR NAME="total"--> items to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em>: <!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
|
||||
<!-- TMPL_ELSE -->
|
||||
<h1>Add to <!-- TMPL_IF NAME="singleshelf" --><em><!-- TMPL_VAR NAME="shelfname" --></em><!-- TMPL_ELSE -->a list:<!-- /TMPL_IF --></h1>
|
||||
<!-- /TMPL_IF -->
|
||||
<ul>
|
||||
<!-- TMPL_LOOP NAME="biblios"-->
|
||||
<li> <span class="title"><!-- TMPL_VAR NAME="title"--></span>
|
||||
<!-- TMPL_IF NAME="author"--><span class="author"> <!-- TMPL_VAR NAME="author"--> </span><!-- /TMPL_IF -->
|
||||
</li>
|
||||
<!-- /TMPL_LOOP -->
|
||||
<ul>
|
||||
<!-- TMPL_LOOP NAME="biblios"-->
|
||||
<li> <span class="title"><!-- TMPL_VAR NAME="title"--></span>
|
||||
<!-- TMPL_IF NAME="author"--><span class="author"> <!-- TMPL_VAR NAME="author"--> </span><!-- /TMPL_IF -->
|
||||
</li>
|
||||
<!-- /TMPL_LOOP -->
|
||||
</ul>
|
||||
<!-- TMPL_IF NAME="CGIvirtualshelves"-->
|
||||
<form name="f1" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl" method="post">
|
||||
<fieldset class="rows"><legend>Select a List</legend>
|
||||
<ol><li> <label for="shelfnumber">Add to list:</label> <!-- TMPL_VAR NAME="CGIvirtualshelves" --></li></ol>
|
||||
|
||||
<form name="f1" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl" method="post">
|
||||
<!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><!-- /TMPL_LOOP -->
|
||||
<input type="hidden" name="modifyshelfcontents" value="1" />
|
||||
<input type="hidden" name="confirmed" value="1" /></fieldset>
|
||||
<fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
|
||||
</form>
|
||||
<p>...or...</p>
|
||||
<!-- TMPL_ELSE -->
|
||||
<!-- TMPL_IF NAME="singleshelf" -->
|
||||
<form name="f1" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl" method="post">
|
||||
<!-- TMPL_LOOP NAME="biblios" --> <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
|
||||
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
|
||||
<input type="hidden" name="modifyshelfcontents" value="1" />
|
||||
<input type="hidden" name="confirmed" value="1" /></fieldset>
|
||||
<fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a></fieldset>
|
||||
</form>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="hidden" name="confirmed" value="1" />
|
||||
<!-- TMPL_IF NAME="shelfnumber" --><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><!-- /TMPL_IF -->
|
||||
</fieldset>
|
||||
|
||||
<!-- TMPL_UNLESS NAME="biblioloop" -->
|
||||
<h3>Add
|
||||
<i><!-- TMPL_VAR NAME="title" escape="html" --></i>
|
||||
<!-- TMPL_IF NAME="author" -->
|
||||
by <!-- TMPL_VAR NAME="author" -->
|
||||
<!-- /TMPL_IF --> to a list
|
||||
</h3>
|
||||
<!-- TMPL_ELSE -->
|
||||
<h3>Add to a list:</h3>
|
||||
<h4>
|
||||
<ul>
|
||||
<!-- TMPL_LOOP NAME="biblioloop" -->
|
||||
<li>
|
||||
<i><!-- TMPL_VAR NAME="title" escape="html" --></i>
|
||||
<!-- TMPL_IF NAME="author" -->
|
||||
by <!-- TMPL_VAR NAME="author" -->
|
||||
<!-- /TMPL_IF -->
|
||||
</li>
|
||||
<!-- /TMPL_LOOP -->
|
||||
</ul>
|
||||
</h4>
|
||||
<!-- /TMPL_UNLESS -->
|
||||
|
||||
<!-- TMPL_IF NAME="CGIvirtualshelves" --><!-- TMPL_UNLESS NAME="newshelf" --><form name="f1" method="post" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl">
|
||||
<!-- TMPL_UNLESS NAME="biblionumbers" -->
|
||||
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="hidden" name="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<input type="hidden" name="confirmed" value="1" /></fieldset>
|
||||
<fieldset class="rows">
|
||||
<legend>Select an existing list</legend>
|
||||
<ol>
|
||||
<li><label>Choose list</label><!-- TMPL_VAR NAME="CGIvirtualshelves" --></li>
|
||||
</ol>
|
||||
<!-- TMPL_LOOP NAME="biblios" --><input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
|
||||
<!-- TMPL_UNLESS NAME="biblionumbers" -->
|
||||
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="hidden" name="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<fieldset class="action"><input type="submit" value="Save" class="submit" /></fieldset>
|
||||
</fieldset>
|
||||
</form>
|
||||
<h4>...or...</h4><!-- /TMPL_UNLESS --><!-- /TMPL_IF -->
|
||||
<!-- TMPL_UNLESS NAME="shelfnumber" -->
|
||||
<form name="f2" method="post" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl">
|
||||
|
||||
<!-- TMPL_UNLESS NAME="newshelf" -->
|
||||
<fieldset class="rows">
|
||||
<legend>Select an existing list</legend>
|
||||
<ol>
|
||||
<li><label>Choose list</label><!-- TMPL_VAR NAME="CGIvirtualshelves" --></li>
|
||||
</ol>
|
||||
<!-- TMPL_LOOP NAME="biblios" --><input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
|
||||
<!-- TMPL_UNLESS NAME="biblionumbers" -->
|
||||
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="hidden" name="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
|
||||
<!-- /TMPL_UNLESS -->
|
||||
</fieldset>
|
||||
|
||||
<p>... or...</p>
|
||||
|
||||
<!-- /TMPL_UNLESS -->
|
||||
|
||||
<fieldset class="rows"><legend>Add to a new list:</legend>
|
||||
<ol><li>
|
||||
<label for="newvirtualshelf">
|
||||
List name:
|
||||
</label>
|
||||
<!-- TMPL_LOOP NAME="biblios" --><input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
|
||||
<!-- TMPL_UNLESS NAME="biblionumbers" -->
|
||||
<ol><li>
|
||||
<label for="newvirtualshelf">
|
||||
List name:
|
||||
</label>
|
||||
<!-- TMPL_LOOP NAME="biblios" --><input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><!-- /TMPL_LOOP -->
|
||||
<!-- TMPL_UNLESS NAME="biblionumbers" -->
|
||||
<input type="hidden" name="biblionumber" id="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
||||
<!-- TMPL_ELSE -->
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="hidden" name="biblionumbers" id="biblionumbers" value="<!-- TMPL_VAR NAME="biblionumbers" -->" />
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
|
||||
<input type="hidden" name="confirmed" value="1" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="category">Category:</label>
|
||||
<select name="category" id="category">
|
||||
<option value="1">Private</option>
|
||||
<option value="2">Public</option>
|
||||
</li>
|
||||
<li>
|
||||
<label for="category">Category:</label>
|
||||
<select name="category" id="category">
|
||||
<option value="1">Private</option>
|
||||
<option value="2">Public</option>
|
||||
<option value="3">Free</option>
|
||||
</select>
|
||||
</li></ol>
|
||||
<fieldset class="action"><input type="submit" value="Save" class="submit" /></fieldset> </fieldset>
|
||||
</form>
|
||||
</select>
|
||||
</li></ol>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
|
||||
<!-- SAVE -->
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
<!-- /SAVE -->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|
||||
|
|
Loading…
Reference in a new issue