Lines 1-4
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
|
|
2 |
[% USE Branches %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Tools › Notices[% IF ( add_form or copy_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate or copy_validate) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> |
4 |
<title>Koha › Tools › Notices[% IF ( add_form or copy_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate or copy_validate) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 424-463
$(document).ready(function() {
Link Here
|
424 |
<input type="submit" value="OK" /> |
425 |
<input type="submit" value="OK" /> |
425 |
</form> |
426 |
</form> |
426 |
[% END %] |
427 |
[% END %] |
427 |
|
|
|
428 |
[% IF ( delete_confirm ) %] |
429 |
<div class="dialog alert"><h3>Delete notice?</h3> |
430 |
<table> |
431 |
<thead> |
432 |
<tr> |
433 |
<th>Library</th> |
434 |
<th>Module</th> |
435 |
<th>Code</th> |
436 |
<th>Name</th> |
437 |
</tr> |
438 |
</thead> |
439 |
<tr> |
440 |
<td>[% branchname %]</td> |
441 |
<td>[% module %]</td> |
442 |
<td>[% code %]</td> |
443 |
<td>[% name %]</td> |
444 |
</tr> |
445 |
</table> |
446 |
<form action="[% action %]" method="post"> |
447 |
<input type="hidden" name="op" value="delete_confirmed"> |
448 |
<input type="hidden" name="branchcode" value="[% branchcode %]" /> |
449 |
<input type="hidden" name="code" value="[% code %]" /> |
450 |
<input type="hidden" name="module" value="[% module %]" /> |
451 |
<input type="submit" value="Yes, delete" class="approve" /> |
452 |
</form> |
453 |
|
428 |
|
454 |
<form action="[% action %]" method="get"> |
429 |
[% IF ( delete_confirm ) %] |
455 |
<input type="submit" value="No, do not delete" class="deny" /> |
430 |
<div class="dialog alert"> |
456 |
</form> |
431 |
<h3>Delete notice?</h3> |
457 |
</div> |
432 |
<table> |
|
|
433 |
<thead> |
434 |
<tr> |
435 |
<th>Library</th> |
436 |
<th>Module</th> |
437 |
<th>Code</th> |
438 |
<th>Name</th> |
439 |
</tr> |
440 |
</thead> |
441 |
<tr> |
442 |
<td>[% Branches.GetName( letter.branchcode ) %]</td> |
443 |
<td>[% letter.module %]</td> |
444 |
<td>[% letter.code %]</td> |
445 |
<td>[% letter.name %]</td> |
446 |
</tr> |
447 |
</table> |
448 |
<form action="[% action %]" method="post"> |
449 |
<input type="hidden" name="op" value="delete_confirmed"> |
450 |
<input type="hidden" name="branchcode" value="[% letter.branchcode %]" /> |
451 |
<input type="hidden" name="code" value="[% letter.code %]" /> |
452 |
<input type="hidden" name="module" value="[% letter.module %]" /> |
453 |
<input type="submit" value="Yes, delete" class="approve" /> |
454 |
</form> |
458 |
|
455 |
|
|
|
456 |
<form action="[% action %]" method="get"> |
457 |
<input type="submit" value="No, do not delete" class="deny" /> |
458 |
</form> |
459 |
</div> |
459 |
[% END %] |
460 |
[% END %] |
460 |
|
461 |
|
461 |
[% IF ( delete_confirmed ) %] |
462 |
[% IF ( delete_confirmed ) %] |
462 |
Data deleted |
463 |
Data deleted |
463 |
<form action="[% action %]" method="post"> |
464 |
<form action="[% action %]" method="post"> |