Lines 98-103
function confirm_items_deletion() {
Link Here
|
98 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Edit Items"), url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]" },[% END %] |
98 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Edit Items"), url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]" },[% END %] |
99 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Attach Item"), url: "/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]" },[% END %] |
99 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Attach Item"), url: "/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]" },[% END %] |
100 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&frameworkcode=&op=duplicate" },[% END %] |
100 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&frameworkcode=&op=duplicate" },[% END %] |
|
|
101 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Replace Record via Z39.50"), onclick: {fn: PopupZ3950 } },[% END %] |
101 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Delete Record"), onclick: {fn: confirm_deletion }[% IF ( count ) %],id:'disabled'[% END %] },[% END %] |
102 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Delete Record"), onclick: {fn: confirm_deletion }[% IF ( count ) %],id:'disabled'[% END %] },[% END %] |
102 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Delete all Items"), onclick: {fn: confirm_items_deletion } }[% END %] |
103 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Delete all Items"), onclick: {fn: confirm_items_deletion } }[% END %] |
103 |
]; |
104 |
]; |
Lines 182-196
function confirm_items_deletion() {
Link Here
|
182 |
}); |
183 |
}); |
183 |
[% END %] |
184 |
[% END %] |
184 |
[% END %][% END %] |
185 |
[% END %][% END %] |
185 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
186 |
|
186 |
new YAHOO.widget.Button({ |
|
|
187 |
id: "z3950search", |
188 |
type: "button", |
189 |
label: _("Z39.50 Search"), |
190 |
container: this, |
191 |
onclick: {fn:function(){PopupZ3950()}} |
192 |
}); |
193 |
[% END %] |
194 |
}); |
187 |
}); |
195 |
//]]> |
188 |
//]]> |
196 |
</script> |
189 |
</script> |
197 |
- |
|
|