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