From ec16c3a09212c684c0c905f1ac293b4495c2432b Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 10 Apr 2011 19:57:40 +1200 Subject: [PATCH] Bug 5917 : Updating templates --- .../prog/en/includes/acquisitions-toolbar.inc | 20 +- .../en/includes/budgets-admin-toolbar.inc | 2 +- .../prog/en/includes/circ-menu.inc | 5 +- .../prog/en/includes/search_indexes.inc | 1 + .../prog/en/modules/acqui/acqui-home.tt | 46 +- .../prog/en/modules/acqui/addorderiso2709.tt | 141 +- .../prog/en/modules/acqui/basket.tt | 1 + .../prog/en/modules/acqui/booksellers.tt | 4 +- .../prog/en/modules/acqui/neworderbiblio.tt | 2 +- .../prog/en/modules/acqui/neworderempty.tt | 4 +- .../prog/en/modules/admin/aqbudgetperiods.tt | 2 +- .../prog/en/modules/admin/aqbudgets.tt | 2 +- .../prog/en/modules/admin/branches.tt | 6 +- .../prog/en/modules/admin/classsources.tt | 3 +- .../prog/en/modules/admin/fieldmapping.tt | 2 +- .../prog/en/modules/admin/itemtypes.tt | 2 +- .../modules/admin/marc_subfields_structure.tt | 2 +- .../prog/en/modules/admin/marctagstructure.tt | 30 +- .../prog/en/modules/admin/matching-rules.tt | 2 +- .../en/modules/admin/patron-attr-types.tt | 2 +- .../modules/authorities/searchresultlist.tt | 2 +- .../prog/en/modules/batch/print-notices.tt | 1 + .../prog/en/modules/catalogue/moredetail.tt | 2 +- .../prog/en/modules/catalogue/results.tt | 2 +- .../prog/en/modules/cataloguing/addbiblio.tt | 41 +- .../prog/en/modules/cataloguing/addbooks.tt | 2 +- .../value_builder/normarc_field_007.tt | 2825 +++++++++++ .../value_builder/normarc_field_008.tt | 4519 +++++++++++++++++ .../value_builder/normarc_leader.tt | 223 + .../value_builder/unimarc_field_210c.tt | 4 +- .../en/modules/cataloguing/z3950_search.tt | 18 +- .../prog/en/modules/circ/overdue.tt | 30 + .../help/admin/marc_subfields_structure.tt | 2 +- .../en/modules/help/tools/import_borrowers.tt | 4 +- .../prog/en/modules/members/boraccount.tt | 2 + .../en/modules/members/guarantor_search.tt | 9 +- .../prog/en/modules/members/mancredit.tt | 1 + .../prog/en/modules/members/maninvoice.tt | 1 + .../prog/en/modules/members/member.tt | 2 +- .../prog/en/modules/members/memberentrygen.tt | 40 +- .../prog/en/modules/members/moremember.tt | 9 +- .../prog/en/modules/members/pay.tt | 12 +- .../en/modules/patroncards/members-search.tt | 2 +- .../modules/reports/guided_reports_start.tt | 5 +- .../prog/en/modules/serials/member-search.tt | 2 +- .../prog/en/modules/tags/review.tt | 2 +- .../en/modules/tools/stage-marc-import.tt | 3 - .../prog/en/modules/virtualshelves/shelves.tt | 2 +- .../prog/en/xslt/NORMARCslim2OAIDC.xsl | 200 + .../prog/en/modules/opac-advsearch.tt | 1 + .../opac-tmpl/prog/en/modules/opac-results.tt | 3 +- .../opac-tmpl/prog/en/modules/opac-shelves.tt | 6 +- .../opac-tmpl/prog/en/modules/opac-user.tt | 14 +- .../prog/en/modules/opac-userupdate.tt | 12 +- .../prog/en/xslt/NORMARCslim2OPACDetail.xsl | 528 ++ .../prog/en/xslt/NORMARCslim2OPACResults.xsl | 871 ++++ .../prog/en/xslt/NORMARCslimUtils.xsl | 205 + 57 files changed, 9770 insertions(+), 116 deletions(-) create mode 100644 koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/normarc_field_007.tt create mode 100644 koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/normarc_field_008.tt create mode 100644 koha-tt/intranet-tmpl/prog/en/modules/cataloguing/value_builder/normarc_leader.tt create mode 100644 koha-tt/intranet-tmpl/prog/en/xslt/NORMARCslim2OAIDC.xsl create mode 100644 koha-tt/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl create mode 100644 koha-tt/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl create mode 100644 koha-tt/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl diff --git a/koha-tt/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc b/koha-tt/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc index 042e60b483..f81b3037b9 100644 --- a/koha-tt/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc +++ b/koha-tt/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc @@ -21,9 +21,11 @@ new YAHOO.widget.Button("editcontracts"); var manageorders = [ - { text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% id %]&op=add_form"}, - { text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?supplierid=[% id %]"}, - { text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% id %]"}, + [% IF ( CAN_user_acquisition_order_manage ) %] + { text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% id %]&op=add_form"}, + { text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?supplierid=[% id %]"}, + { text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% id %]"}, + [% END %] { text: _("Receive shipments"), url: "/cgi-bin/koha/acqui/parcels.pl?supplierid=[% id %]" }, [% IF ( basketno ) %] { text: _("Uncertain prices"), url: "/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% id %]&basketno=[% basketno %]&owner=1"} @@ -42,11 +44,13 @@