[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/parameters itemtypes.tmpl,1.4.2.1,1.4.2.2
Owen Leonard
oleonard at users.sourceforge.net
Thu Feb 17 19:01:04 CET 2005
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/parameters
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13776/koha-tmpl/intranet-tmpl/npl/en/parameters
Modified Files:
Tag: rel_2_2
itemtypes.tmpl
Log Message:
Synching with default template
Index: itemtypes.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/parameters/itemtypes.tmpl,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -r1.4.2.1 -r1.4.2.2
*** itemtypes.tmpl 4 Feb 2005 19:24:46 -0000 1.4.2.1
--- itemtypes.tmpl 17 Feb 2005 18:01:01 -0000 1.4.2.2
***************
*** 5,9 ****
<!-- TMPL_IF name="else" -->Item Types Administration<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
- <!-- TMPL_INCLUDE NAME="itemtypes.js" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="admin-topmenu.inc" -->
--- 5,8 ----
***************
*** 16,20 ****
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="checked" value="0" />
! <div class="table">
<table>
<caption><!-- TMPL_IF name="itemtype" -->
--- 15,19 ----
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="checked" value="0" />
! <div class="data">
<table>
<caption><!-- TMPL_IF name="itemtype" -->
***************
*** 24,53 ****
<!-- /TMPL_IF --></caption>
<!-- TMPL_IF name="itemtype" -->
! <tr><td><label for="">Item type</label></td><td><input type="hidden" name="itemtype" value="<!-- TMPL_VAR name="itemtype" -->" /><!-- TMPL_VAR name="itemtype" --></td></tr>
<!-- TMPL_ELSE -->
! <tr><td><label for="">Item type</label></td><td><input type="text" name="itemtype" size="6" maxlength="4" onblur="toUC(this)" /></td></tr>
<!-- /TMPL_IF -->
<tr>
! <td><label for="description">Description</label></td>
<td><input type="text" id="description" name="description" size="48" maxlength="80" value="<!-- TMPL_VAR name="description" escape="HTML" -->" /> </td>
</tr>
<tr>
! <td><label for="notforloan">Not for loan</label></td>
<td><input type="checkbox" id="notforloan" name="notforloan"<!-- TMPL_IF name="notforloan" --> checked="checked"<!-- /TMPL_IF --> value="1"> (if checked, no item of this type can be issued. If not checked, every item of this type can be issued unless notforloan is set for a specific item)</td>
</tr>
<tr>
- <td><label for="loanlength">Loan length</label></td>
- <td><input type="text" id="loanlength" name="loanlength" size="10" value="<!-- TMPL_VAR name="loanlength" -->"> (meaningful only if not for loan is not set)</td>
- </tr>
- <tr>
<tr>
! <td><label for="renewalsallowed">Renewals</label></td>
<td><input type="text" id="renewalsallowed" name="renewalsallowed" size="3" maxlength="3" value="<!-- TMPL_IF name="renewalsallowed" --><!-- TMPL_VAR NAME="renewalsallowed" --><!-- /TMPL_IF -->" value="1" /><!-- Display for NPL <input type="hidden" name="rentalcharge" value="0" /> /Display for NPL --></td>
</tr>
<!-- Hide from NPL--> <tr>
! <td><label for="rentalcharge">Rental charge</label></td>
<td><input type="text" id="rentalcharge" name="rentalcharge" size="10" value="<!-- TMPL_VAR name="rentalcharge" -->" /></td>
</tr><!-- /Hide from NPL -->
! </table><input type="button" value="OK" onclick="Check(this.form)" class="submit" /> <input type="button" class="cancel" value="Cancel" onclick="history.back();" />
</form>
<!-- /TMPL_IF -->
--- 23,48 ----
<!-- /TMPL_IF --></caption>
<!-- TMPL_IF name="itemtype" -->
! <tr><th><label for="">Item type</label></th><td><input type="hidden" name="itemtype" value="<!-- TMPL_VAR name="itemtype" -->" /><!-- TMPL_VAR name="itemtype" --></td></tr>
<!-- TMPL_ELSE -->
! <tr><th><label for="">Item type</label></th><td><input type="text" name="itemtype" size="6" maxlength="4" onblur="toUC(this)" /></td></tr>
<!-- /TMPL_IF -->
<tr>
! <th><label for="description">Description</label></th>
<td><input type="text" id="description" name="description" size="48" maxlength="80" value="<!-- TMPL_VAR name="description" escape="HTML" -->" /> </td>
</tr>
<tr>
! <th><label for="notforloan">Not for loan</label></th>
<td><input type="checkbox" id="notforloan" name="notforloan"<!-- TMPL_IF name="notforloan" --> checked="checked"<!-- /TMPL_IF --> value="1"> (if checked, no item of this type can be issued. If not checked, every item of this type can be issued unless notforloan is set for a specific item)</td>
</tr>
<tr>
<tr>
! <th><label for="renewalsallowed">Renewals</label></th>
<td><input type="text" id="renewalsallowed" name="renewalsallowed" size="3" maxlength="3" value="<!-- TMPL_IF name="renewalsallowed" --><!-- TMPL_VAR NAME="renewalsallowed" --><!-- /TMPL_IF -->" value="1" /><!-- Display for NPL <input type="hidden" name="rentalcharge" value="0" /> /Display for NPL --></td>
</tr>
<!-- Hide from NPL--> <tr>
! <th><label for="rentalcharge">Rental charge</label></th>
<td><input type="text" id="rentalcharge" name="rentalcharge" size="10" value="<!-- TMPL_VAR name="rentalcharge" -->" /></td>
</tr><!-- /Hide from NPL -->
! </table><input type="button" value="Save Changes" onclick="Check(this.form)" class="submit" /> <input type="button" class="cancel" value="Cancel" onclick="history.back();" />
</form>
<!-- /TMPL_IF -->
***************
*** 82,98 ****
<th>Code</th>
<th>Description</th>
! <th>Loan Length</th>
<th>Renewable</th>
! <!-- <th>Charge</th> -->
<th>Edit</th>
<th>Delete</th>
</tr>
<!-- TMPL_LOOP name="loop" -->
! <tr>
<td><a href="<!-- TMPL_VAR name="script_name" -->?op=add_form&itemtype=<!-- TMPL_VAR name="itemtype" escape="HTML" -->"><!-- TMPL_VAR name="itemtype" --></a></td>
<td><!-- TMPL_VAR name="description" --></td>
! <td><!-- TMPL_VAR name="loanlength" --></td>
! <td><!-- TMPL_IF name="renewalsallowed" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
! <!-- <td><!-- TMPL_VAR name="rentalcharge" --></td> -->
<td><a class="edit" href="<!-- TMPL_VAR name="script_name" -->?op=add_form&itemtype=<!-- TMPL_VAR name="itemtype" escape="HTML" -->">Edit</a></td>
<td><a class="delete" href="<!-- TMPL_VAR name="script_name" -->?op=delete_confirm&itemtype=<!-- TMPL_VAR name="itemtype" escape="HTML" -->">Delete</a></td>
--- 77,100 ----
<th>Code</th>
<th>Description</th>
! <th>Not for Loan</th>
<th>Renewable</th>
! <th>Charge</th>
<th>Edit</th>
<th>Delete</th>
</tr>
<!-- TMPL_LOOP name="loop" -->
! <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
<td><a href="<!-- TMPL_VAR name="script_name" -->?op=add_form&itemtype=<!-- TMPL_VAR name="itemtype" escape="HTML" -->"><!-- TMPL_VAR name="itemtype" --></a></td>
<td><!-- TMPL_VAR name="description" --></td>
! <td><!-- TMPL_IF NAME="notforloan" -->Yes<!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
! <td><!-- TMPL_UNLESS name="notforloan" -->
! <!-- TMPL_IF NAME="renewalsallowed" -->
! <!-- TMPL_VAR name="renewalsallowed" --> time(s)
! <!-- TMPL_ELSE -->
! No
! <!-- /TMPL_IF -->
! <!-- /TMPL_UNLESS -->
! </td>
! <td><!-- TMPL_UNLESS name="notforloan" --><!-- TMPL_VAR NAME="rentalcharge" --><!-- /TMPL_UNLESS --></td>
<td><a class="edit" href="<!-- TMPL_VAR name="script_name" -->?op=add_form&itemtype=<!-- TMPL_VAR name="itemtype" escape="HTML" -->">Edit</a></td>
<td><a class="delete" href="<!-- TMPL_VAR name="script_name" -->?op=delete_confirm&itemtype=<!-- TMPL_VAR name="itemtype" escape="HTML" -->">Delete</a></td>
More information about the Koha-cvs
mailing list