diff --git a/admin/printers.pl b/admin/printers.pl
index 9e0163bc77..cb43148804 100755
--- a/admin/printers.pl
+++ b/admin/printers.pl
@@ -60,10 +60,8 @@ sub StringSearch {
my $input = new CGI;
my $searchfield=$input->param('searchfield');
#my $branchcode=$input->param('branchcode');
-my $offset=$input->param('offset') || 0;
my $script_name="/cgi-bin/koha/admin/printers.pl";
-my $pagesize=20;
my $op = $input->param('op');
$searchfield=~ s/\,//g;
@@ -132,19 +130,7 @@ if ($op eq 'add_form') {
} else { # DEFAULT
$template->param(else => 1);
my ($count,$results)=StringSearch($searchfield,'web');
- my $max = ($offset+$pagesize < $count) ? $offset+$pagesize : $count;
- my @loop = (@$results)[$offset..$max];
-
- $template->param(loop => \@loop);
-
- if ($offset>0) {
- $template->param(offsetgtzero => 1,
- prevpage => $offset-$pagesize);
- }
- if ($offset+$pagesize<$count) {
- $template->param(ltcount => 1,
- nextpage => $offset+$pagesize);
- }
+ $template->param(loop => $results);
} #---- END $OP eq DEFAULT
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc
deleted file mode 100644
index 3bd8e28430..0000000000
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc
+++ /dev/null
@@ -1,30 +0,0 @@
-[% USE Koha %]
-
-
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt
index 45e6d398ed..1090afcee1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt
@@ -6,53 +6,27 @@
[% IF ( delete_confirmed ) %] Printers › Printer deleted[% END %]
[% IF ( else ) %]Printers[% END %]
[% INCLUDE 'doc-head-close.inc' %]
-[% IF ( add_form ) %]
- [% END %]
+[% END %]
[% INCLUDE 'header.inc' %]
-[% INCLUDE 'printers-admin-search.inc' %]
+[% INCLUDE 'cat-search.inc' %]
Home ›
Administration › [% IF ( add_form ) %][% IF ( searchfield ) %]
Printers › Modify printer '[% searchfield %]'[% ELSE %]
Printers › New printer[% END %][% END %]
[% IF ( add_validate ) %]
Printers › Printer added[% END %]
@@ -73,7 +47,7 @@
[% ELSE %]
New printer
[% END %]
-
[% END %]
@@ -114,35 +90,40 @@
[% END %]
[% IF ( delete_confirm ) %]
-
Confirm deletion of printer [% searchfield %]
-
- -
- Printer:
- [% searchfield %]
-
- -
- Queue:
- [% printqueue %]
-
- -
- Type:
- [% printtype %]
-
-
-
+
+
Confirm deletion of printer [% searchfield %]
+
+
+
+ | Printer: | [% searchfield %] |
+
+
+ | Queue: | [% printqueue %] |
+
+
+ | Type: | [% printtype %] |
+
+
+
+
+
+
[% END %]
[% IF ( delete_confirmed ) %]
-
Printer deleted
-
+
+
Printer deleted
+
+
+
[% END %]
[% IF ( else ) %]
@@ -156,30 +137,27 @@
You searched for [% searchfield %]
[% END %]
-[% IF ( loop ) %]
-
- | Name |
- Queue |
- Type |
- |
-
+[% IF ( loop ) %]
+
+
+
+ | Name |
+ Queue |
+ Type |
+ |
+
+
+
[% FOREACH loo IN loop %]
| [% loo.printername %] |
[% loo.printqueue %] |
[% loo.printtype %] |
- Edit Delete |
+ Edit Delete |
[% END %]
-
[% ELSE %]No printers defined.
[% END %]
-
- [% IF ( offsetgtzero ) %]
- << Previous
- [% END %]
-
- [% IF ( ltcount ) %]
- Next >>
- [% END %]
+
+
[% ELSE %]
No printers defined.
[% END %]
[% END %]