add support for hidden fields being hidden in the editor

This commit is contained in:
kados 2006-03-21 03:39:35 +00:00
parent ce652d1776
commit 39bd90e244
1 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,7 @@
<caption>Edit Item</caption>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="item" -->
<!-- TMPL_UNLESS NAME="hidden" -->
<tr>
<th><label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label></th>
<td><!-- TMPL_VAR NAME="marc_value" -->
@ -54,6 +55,7 @@
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->"></td>
</tr>
<!-- /TMPL_UNLESS -->
<!-- /tmpl_loop -->
</table>
<input type="hidden" name="itemnum" value="<!-- TMPL_VAR NAME="itemnum" -->">
@ -121,4 +123,4 @@ function confirm_deletion(bibid,itemnum) {
}
}
</script>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->