diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index aca2b0a451..68c60a9c14 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -315,9 +315,9 @@ alert(_("Please select at least one label to export.")); return; // no batch selected } - return GB_showCenter(_("Export labels"), "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id | html %]&" + getstr, 400, 800); + location.href = "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id | html %]&" + getstr; } else if (mode == 'batch') { - return GB_showCenter(_("Export labels"), "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id | html %]", 400, 800); + location.href = "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id | html %]"; } else { // some pass-through error trapping just in case... } @@ -347,6 +347,7 @@ $("#description").hide(); [% END %] $("#batcht").kohaTable({ + dom: '<"dt-info"i><"top pager"<"table_entries"lp><"table_controls"f>>tr<"bottom pager"ip>', autoWidth: false, order: [[0, "asc"]], pagingType: "full", @@ -379,7 +380,7 @@ e.preventDefault(); var label_id = $(this).data("label-id"); var batch_id = $(this).data("batch-id"); - GB_showCenter(_("Export labels"),"/cgi-bin/koha/labels/label-print.pl?batch_id=" + batch_id + "&label_id=" + label_id, 400, 800); + location.href = "/cgi-bin/koha/labels/label-print.pl?batch_id=" + batch_id + "&label_id=" + label_id; }); $("#savedesc").click(function(event){ event.preventDefault(); // prevent form submission diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt index d901797855..11c7881f00 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt @@ -61,7 +61,7 @@ var str = ""; str += "from=" + document.getElementById("from-input").value + "&"; str += "to=" + document.getElementById("to-input").value; - return GB_showCenter("Export labels", "/cgi-bin/koha/labels/label-print.pl?" + str, 400, 800); + location.href = "/cgi-bin/koha/labels/label-print.pl?" + str; } function checkTwoValue(_from, _to, _id) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt index 1d87edfb4f..853fe5dc61 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt @@ -180,7 +180,7 @@ alert(_("Please select at least one batch to export.")); return; // no batch selected } - return GB_showCenter(_("Export labels"), "/cgi-bin/koha/labels/label-print.pl?" + getstr, 400, 800); + location.href = "/cgi-bin/koha/labels/label-print.pl?" + getstr; } function selected_layout(op) { var selected = new Array; @@ -216,6 +216,7 @@ return confirmDelete( _("Are you sure you want to delete this?") ); }); $("#labels-table").kohaTable({ + dom: '<"dt-info"i><"top pager"<"table_entries"lp><"table_controls"f>>tr<"bottom pager"ip>', pagingType: "full", order: [[1, "asc"]], }); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt index 13a88037a2..6bb88091a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt @@ -1,12 +1,13 @@ [% USE raw %] +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -