orderreceive cleanup
Convert to GetBranchesLoop, remove unused variables. Pull out params that are assigned the same value in each loop and just assign them once. Pull out params that are assigned the same value in each half of the conditional, and just assign them unconditionally. Remove useless call of $template->param($count). Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
parent
c76b60f00b
commit
cccd6e0a94
|
|
@ -52,7 +52,7 @@ fieldset.rows .itemblock fieldset.action { padding:.5em; }
|
|||
<input type="text" size="20" name="barcode" id="barcode1" value="<!-- TMPL_VAR NAME="barcode" -->" /></li>
|
||||
<li> <label for="homebranch1">Home library: </label>
|
||||
<select name="homebranch" id="homebranch1"> <!-- TMPL_LOOP name="branchloop" -->
|
||||
<!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
|
||||
<!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
|
||||
<!-- TMPL_ELSE -->
|
||||
<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
|
||||
<!-- /TMPL_IF -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue