Lines 1288-1325
legend:hover {
Link Here
|
1288 |
[% END # UNLESS nouserid && nopassword && !CanUpdatePasswordExpiration %] |
1288 |
[% END # UNLESS nouserid && nopassword && !CanUpdatePasswordExpiration %] |
1289 |
|
1289 |
|
1290 |
<!--this zones are not necessary in modif mode --> |
1290 |
<!--this zones are not necessary in modif mode --> |
1291 |
[% UNLESS ( opadd || opduplicate ) %] |
1291 |
[% UNLESS ( opadd || opduplicate || ( nogonenoaddress && nolost ) ) %] |
1292 |
<fieldset class="rows" id="memberentry_account_flags"> |
1292 |
<fieldset class="rows" id="memberentry_account_flags"> |
1293 |
<legend id="account_flags_lgd">Patron account flags</legend> |
1293 |
<legend id="account_flags_lgd">Patron account flags</legend> |
1294 |
<ol class="radio"> |
1294 |
<ol class="radio"> |
1295 |
[% FOREACH flagloo IN flagloop %] |
1295 |
[% UNLESS nogonenoaddress %] |
1296 |
<li> |
1296 |
<li> |
1297 |
<label class="radio" for="yes[% flagloo.name | html %]"> |
1297 |
[% IF mandatorygonenoaddress %] |
1298 |
[% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %] |
1298 |
<label class="radio required" for="yesgonenoaddress"> |
1299 |
[% IF ( flagloo.key == 'lost' ) %]Lost card:[% END %] |
1299 |
[% ELSE %] |
|
|
1300 |
<label class="radio" for="yesgonenoaddress"> |
1301 |
[% END %] |
1302 |
Gone no address: |
1300 |
</label> |
1303 |
</label> |
1301 |
[% IF CAN_user_circulate_manage_restrictions %] |
1304 |
[% IF CAN_user_circulate_manage_restrictions %] |
1302 |
<label for="yes[% flagloo.name | html %]"> |
1305 |
<label for="yesgonenoaddress"> |
1303 |
[% IF ( flagloo.yes ) %] |
1306 |
[% IF ( borrower_data.gonenoaddress ) %] |
1304 |
<input type="radio" id="yes[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="1" checked="checked" /> |
1307 |
<input type="radio" id="yesgonenoaddress" name="gonenoaddress" value="1" checked="checked" /> |
1305 |
[% ELSE %] |
1308 |
[% ELSE %] |
1306 |
<input type="radio" id="yes[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="1" /> |
1309 |
<input type="radio" id="yesgonenoaddress" name="gonenoaddress" value="1" /> |
1307 |
[% END %] |
1310 |
[% END %] |
1308 |
Yes |
1311 |
Yes |
1309 |
</label> |
1312 |
</label> |
1310 |
<label for="no[% flagloo.name | html %]"> |
1313 |
<label for="nogonenoaddress"> |
1311 |
[% IF ( flagloo.no ) %] |
1314 |
[% IF ( borrower_data.gonenoaddress ) %] |
1312 |
<input type="radio" id="no[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="0" checked="checked"/> |
1315 |
<input type="radio" id="nogonenoaddress" name="gonenoaddress" value="0" /> |
1313 |
[% ELSE %] |
1316 |
[% ELSE %] |
1314 |
<input type="radio" id="no[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="0" /> |
1317 |
<input type="radio" id="nogonenoaddress" name="gonenoaddress" value="0" checked="checked"/> |
1315 |
[% END %] |
1318 |
[% END %] |
1316 |
No |
1319 |
No |
1317 |
</label> |
1320 |
</label> |
1318 |
[% ELSE %] |
1321 |
[% ELSE %] |
1319 |
[% IF flagloo.yes %]<span>Yes</span>[% ELSE %]<span>No</span>[% END %] |
1322 |
[% IF borrower_data.gonenoaddress %]<span>Yes</span>[% ELSE %]<span>No</span>[% END %] |
1320 |
[% END # /IF CAN_user_circulate_manage_restrictions %] |
1323 |
[% END # /IF CAN_user_circulate_manage_restrictions %] |
|
|
1324 |
[% IF mandatorygonenoaddress %] |
1325 |
<span class="required">Required</span> |
1326 |
[% END %] |
1327 |
</li> |
1328 |
|
1329 |
[% END # /UNLESS nogonenoaddress %] |
1330 |
[% UNLESS nolost %] |
1331 |
<li> |
1332 |
[% IF mandatorylost %] |
1333 |
<label class="radio required" for="yeslost"> |
1334 |
[% ELSE %] |
1335 |
<label class="radio" for="yeslost"> |
1336 |
[% END %] |
1337 |
Lost card: |
1338 |
</label> |
1339 |
[% IF CAN_user_circulate_manage_restrictions %] |
1340 |
<label for="yeslost"> |
1341 |
[% IF ( borrower_data.lost ) %] |
1342 |
<input type="radio" id="yeslost" name="lost" value="1" checked="checked" /> |
1343 |
[% ELSE %] |
1344 |
<input type="radio" id="yeslost" name="lost" value="1" /> |
1345 |
[% END %] |
1346 |
Yes |
1347 |
</label> |
1348 |
<label for="nolost"> |
1349 |
[% IF ( borrower_data.lost ) %] |
1350 |
<input type="radio" id="nolost" name="lost" value="0" /> |
1351 |
[% ELSE %] |
1352 |
<input type="radio" id="nolost" name="lost" value="0" checked="checked"/> |
1353 |
[% END %] |
1354 |
No |
1355 |
</label> |
1356 |
[% ELSE %] |
1357 |
[% IF borrower_data.lost %]<span>Yes</span>[% ELSE %]<span>No</span>[% END %] |
1358 |
[% END # /IF CAN_user_circulate_manage_restrictions %] |
1359 |
[% IF mandatorylost %] |
1360 |
<span class="required">Required</span> |
1361 |
[% END %] |
1321 |
</li> |
1362 |
</li> |
1322 |
[% END # /FOREACH flagloo %] |
1363 |
[% END # /UNLESS nogonenoaddress %] |
1323 |
</ol> |
1364 |
</ol> |
1324 |
</fieldset> <!-- /#memberentry_account_flags --> |
1365 |
</fieldset> <!-- /#memberentry_account_flags --> |
1325 |
|
1366 |
|