From b4d14e4558f7b00762c9f822316ca99764d12f8c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 17 Oct 2007 22:08:06 -0500 Subject: [PATCH] Adding new circulation-home, what we ultimately hope to be a "dashboard" interface for circulation functions. circulation-home.pl was created by copy-and-paste, so it should be reviewed. Circulation sub-pages' breadcrumb links have been updated to point to circulation-home. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- circ/circulation-home.pl | 35 ++++++++++++++ .../prog/en/includes/circ-menu.inc | 13 ----- .../intranet-tmpl/prog/en/includes/header.inc | 2 +- .../prog/en/modules/circ/bookcount.tmpl | 2 +- .../prog/en/modules/circ/branchoverdues.tmpl | 2 +- .../prog/en/modules/circ/branchtransfers.tmpl | 2 +- .../en/modules/circ/circulation-home.tmpl | 47 +++++++++++++++++++ .../prog/en/modules/circ/circulation.tmpl | 2 +- .../prog/en/modules/circ/overdue.tmpl | 2 +- .../prog/en/modules/circ/pendingreserves.tmpl | 2 +- .../prog/en/modules/circ/returns.tmpl | 2 +- .../en/modules/circ/selectbranchprinter.tmpl | 2 +- .../prog/en/modules/circ/stats.tmpl | 2 +- .../prog/en/modules/circ/transferstodo.tmpl | 2 +- .../en/modules/circ/transferstoreceive.tmpl | 2 +- .../prog/en/modules/circ/waitingreserves.tmpl | 2 +- 16 files changed, 95 insertions(+), 26 deletions(-) create mode 100755 circ/circulation-home.pl create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tmpl diff --git a/circ/circulation-home.pl b/circ/circulation-home.pl new file mode 100755 index 0000000000..4ccb78032a --- /dev/null +++ b/circ/circulation-home.pl @@ -0,0 +1,35 @@ +#!/usr/bin/perl + +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# Koha is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# + +use strict; +use CGI; +use C4::Auth; +use C4::Output; +use C4::Context; + + +my $query = new CGI; +my ($template, $loggedinuser, $cookie) += get_template_and_user({template_name => "circ/circulation-home.tmpl", + query => $query, + type => "intranet", + authnotrequired => 0, + flagsrequired => {circulate => 1}, + }); + +output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index bab1af5a6f..4a2e64cf7d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -40,16 +40,3 @@ - - -
Circulation Reports
- diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index ddd0bc2d19..6490bb1348 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -2,7 +2,7 @@
    -
  • Circulation
  • +
  • Circulation
  • Patrons
  • Catalogue
  • More
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tmpl index c42010bddd..f696b4d950 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tmpl index 9769112016..39cf4b76aa 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tmpl index a759454c71..c7297db402 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tmpl new file mode 100644 index 0000000000..3a92eed9e2 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tmpl @@ -0,0 +1,47 @@ + +Koha › Circulation + + + + + + + + +
      + +
      +
      + +

      Circulation

      + + + + + +
      +
      + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl index 65a13f3f34..cb535b66e2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -19,7 +19,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl index fc25202f62..ff07fc4626 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tmpl index d60bdc4341..30c641e6fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tmpl @@ -14,7 +14,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl index e78e1a67a6..aaa15439d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl @@ -7,7 +7,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl index ba30b223d1..5baab3ba3c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tmpl index 7292df0b2f..0b09fc6dc1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstodo.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstodo.tmpl index 5c4bb00eb7..ea2188b8aa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstodo.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstodo.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl index 43c35b7d6f..4eecab788a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl @@ -6,7 +6,7 @@ - +
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl index 8f614a56e4..e4d371453e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl @@ -6,7 +6,7 @@ - +
      -- 2.39.5