+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Administration › Library EANs
[% IF ean_form %]
</head>
<body id="admin_edi_ean" class="admin">
[% INCLUDE 'header.inc' %]
-[% INCLUDE 'cat-search.inc' %]
+[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
<div class="yui-b">
[% IF display %]
<div id="toolbar" class="btn-toolbar">
- <a class="btn btn-small" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
+ <a class="btn btn-default btn-sm" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
<i class="fa fa-plus"></i>
New EAN
</a>
<input type="hidden" name="op" value="save" />
[% IF ean %]
<input type="hidden" name="oldbranchcode" value="[% ean.branch.branchcode %]" />
- <input type="hidden" name="oldean" value="[% ean.ean %]" />
+ <input type="hidden" name="id" value="[% ean.id %]" />
[% END %]
<fieldset class="rows">
<h3>Delete EAN [% ean.ean %] for [% ean.branch.branchname %]?</h3>
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
<input type="hidden" name="op" value="delete_confirmed" />
- <input type="hidden" name="branchcode" value="[% ean.branch.branchcode %]" />
- <input type="hidden" name="ean" value="[% ean.ean %]" />
+ <input type="hidden" name="id" value="[% ean.id %]" />
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="get">
[% END %]
</td>
<td class="actions">
- <a class="btn btn-mini" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]"><i class="fa fa-pencil"></i> Edit</a>
- <a class="btn btn-mini" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&branchcode=[% ean.branch.branchcode %]&ean=[% ean.ean %]"><i class="fa fa-trash"></i> Delete</a>
+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&id=[% ean.id %]"><i class="fa fa-pencil"></i> Edit</a>
+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&id=[% ean.id %]"><i class="fa fa-trash"></i> Delete</a>
</td>
</tr>
[% END %]
[% INCLUDE 'admin-menu.inc' %]
</div>
</div>
+
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
+[% END %]
[% INCLUDE 'intranet-bottom.inc' %]