<tr>
<td width="1%" style="padding-left:10px;" valign="top">
<input type="checkbox" name="circ"
- [% IF circ.circ.renewal_remaining < 1; l('disabled="disabled"'); END %]
+ [% IF circ.circ.renewal_remaining < 1 %] disabled="disabled" [% END %]
value="[% circ.circ.id %]" />
</td>
<td width="40%"
{"code" => "is", "label" => l("Is")},
{"code" => "before", "label" => l("Before")},
{"code" => "after", "label" => l("After")},
- {"code" => "between", "label" => l("Between")}
- ];
- |l(opt.code, opt.label) %]
- <option value="[_1]"[% CGI.param('pubdate') == opt.code ? ' selected="selected"' : '' %]>[_2]</option>
- [% END; END %]
+ {"code" => "between", "label" => l("Between")} ] %]
+ <option value="[% opt.code %]"[% CGI.param('pubdate') == opt.code ? ' selected="selected"' : '' %]>[% opt.label | html %]</option>
+ [% END %]
</select>
<div style='margin-top:5px;'>
<input name='date1' type='text' size='4' maxlength='4' value="[% CGI.param('date1') | html %]" />