<ol>
[% IF ( itemtype ) %]
<li>
- <span class="label">Item type</span> <input type="hidden" name="itemtype" value="[% itemtype %]" />
+ <span class="label">Item type: </span> <input type="hidden" name="itemtype" value="[% itemtype %]" />
[% itemtype %]
</li>
[% ELSE %]
<li>
- <label for="itemtype">Item type</label> <input type="text" id="itemtype" name="itemtype" size="10" maxlength="10" onblur="toUC(this)" class="focus" />
+ <label for="itemtype">Item type: </label> <input type="text" id="itemtype" name="itemtype" size="10" maxlength="10" onblur="toUC(this)" class="focus" />
</li>
[% END %]
<li>
[% IF ( itemtype ) %]
- <label for="description">Description</label><input type="text" id="description" name="description" size="48" value="[% description |html %]" class="focus" /></li>
+ <label for="description">Description: </label><input type="text" id="description" name="description" size="48" value="[% description |html %]" class="focus" /></li>
[% ELSE %]
- <label for="description">Description</label><input type="text" id="description" name="description" size="48" value="[% description |html %]" /></li>
+ <label for="description">Description: </label><input type="text" id="description" name="description" size="48" value="[% description |html %]" /></li>
[% END %]
[% IF ( noItemTypeImages ) %]
<li><span class="label">Image: </span>Item type images are disabled. To enable them, turn off the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noItemTypeImages">noItemTypeImages system preference</a></li></ol>
[% FOREACH imageset IN imagesets %]
<div id="[% imageset.imagesetname %]"><ul>
[% FOREACH image IN imageset.images %]
- <li style="float: none; display: inline; clear : none; width: auto;">
+ <li style="float: none; display: inline-block; clear : none; width: auto;">
<label> [% IF ( image.StaffImageUrl ) %]
<img src="[% image.StaffImageUrl %]" alt="[% image.StaffImageUrl %]" title="[% image.StaffImageUrl %]" />
[% ELSE %]
</div>
<ol>
<li>
- <label for="notforloan">Not for loan</label> [% IF ( notforloan ) %]
+ <label for="notforloan">Not for loan: </label> [% IF ( notforloan ) %]
<input type="checkbox" id="notforloan" name="notforloan" checked="checked" value="1" />
[% ELSE %]
<input type="checkbox" id="notforloan" name="notforloan" value="1" />
<label for="rentalcharge">Rental charge: </label>
<input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% rentalcharge %]" />
</li>
+ <li>
+ <label for="checkinmsg">Check in message: </label>
+ <input type="text" id="checkinmsg" name="checkinmsg" size="48" value="[% checkinmsg %]" />
+ </li>
+ <li>
+ <label for="checkinmsgtype">Check in message type: </label>
+ <select type="text" id="checkinmsgtype" name="checkinmsgtype">
+ [% IF ( checkinmsgtype == 'message' ) %]
+ <option value="message" selected="selected">Message</option>
+ [% ELSE %]
+ <option value="message">Message</option>
+ [% END %]
+ [% IF ( checkinmsgtype == 'alert' ) %]
+ <option value="alert" selected="selected">Alert</option>
+ [% ELSE %]
+ <option value="alert">Alert</option>
+ [% END %]
+ <select>
+ </li>
<li>
<label for="summary">Summary: </label>
<textarea id="summary" name="summary" cols="55" rows="5">[% summary %]</textarea>
<th>Description</th>
<th>Not for loan</th>
<th>Charge</th>
+ <th>Check in message</th>
<th>Actions</th>
</thead>
[% FOREACH loo IN loop %]
[% loo.rentalcharge %]
[% END %]
</td>
+ <td>[% loo.checkinmsg %]</td>
<td>
<a href="[% loo.script_name %]?op=add_form&itemtype=[% loo.itemtype |html %]">Edit</a>
<a href="[% loo.script_name %]?op=delete_confirm&itemtype=[% loo.itemtype |html %]">Delete</a>