From 63cb08fc8d208dc7ff9b7dae0574a8a71b285433 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sun, 4 Nov 2007 16:23:47 -0600 Subject: [PATCH] Enabling AutoComplete on resident circ search form. Putting dependent YUI files into doc-head-close.inc along with button/menu-related YUI js and css. Moving menu.css, button.css, and dependent graphics into lib/yui. Removing "yui-skin-sam" class from body tags and altering css accordingly. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 1 + .../prog/en/includes/acquisitions-search.inc | 5 +- .../prog/en/includes/authorities-search.inc | 4 +- .../prog/en/includes/cat-search.inc | 71 +++++++++++-- .../prog/en/includes/cataloging-search.inc | 71 +++++++++++-- .../prog/en/includes/circ-search.inc | 94 ++---------------- .../prog/en/includes/cities-admin-search.inc | 71 +++++++++++-- .../en/includes/currencies-admin-search.inc | 71 +++++++++++-- .../prog/en/includes/doc-head-close.inc | 17 ++++ .../prog/en/includes/letters-search.inc | 71 +++++++++++-- .../prog/en/includes/patron-search.inc | 71 +++++++++++-- .../prog/en/includes/patrons-admin-search.inc | 71 +++++++++++-- .../en/includes/printers-admin-search.inc | 71 +++++++++++-- .../en/includes/roadtype-admin-search.inc | 71 +++++++++++-- .../prog/en/includes/serials-search.inc | 70 +++++++++++-- .../en/includes/stopwords-admin-search.inc | 70 +++++++++++-- .../en/includes/suggestions-add-search.inc | 71 +++++++++++-- .../prog/en/includes/yui-toolbars.inc | 12 --- .../prog/en/lib/yui/autocomplete.css | 58 +++++++++++ .../intranet-tmpl/prog/en/lib/yui/button.css | 7 ++ .../en/lib/yui/menu-button-arrow-disabled.png | Bin 0 -> 173 bytes .../prog/en/lib/yui/menu-button-arrow.png | Bin 0 -> 173 bytes .../intranet-tmpl/prog/en/lib/yui/menu.css | 7 ++ .../en/lib/yui/split-button-arrow-active.png | Bin 0 -> 280 bytes .../lib/yui/split-button-arrow-disabled.png | Bin 0 -> 185 bytes .../en/lib/yui/split-button-arrow-focus.png | Bin 0 -> 185 bytes .../en/lib/yui/split-button-arrow-hover.png | Bin 0 -> 185 bytes .../prog/en/lib/yui/split-button-arrow.png | Bin 0 -> 185 bytes .../prog/en/lib/yui/yui-sprite.png | Bin 0 -> 3123 bytes .../prog/en/modules/acqui/acqui-home.tmpl | 2 +- .../prog/en/modules/acqui/booksellers.tmpl | 2 +- .../prog/en/modules/acqui/supplier.tmpl | 2 +- .../modules/authorities/authorities-home.tmpl | 2 +- .../modules/authorities/searchresultlist.tmpl | 2 +- .../prog/en/modules/catalogue/ISBDdetail.tmpl | 2 +- .../prog/en/modules/catalogue/MARCdetail.tmpl | 2 +- .../prog/en/modules/catalogue/detail.tmpl | 2 +- .../prog/en/modules/catalogue/moredetail.tmpl | 2 +- .../en/modules/cataloguing/addbiblio.tmpl | 2 +- .../prog/en/modules/cataloguing/addbooks.tmpl | 2 +- .../en/modules/circ/circulation-home.tmpl | 6 +- .../prog/en/modules/circ/circulation.tmpl | 2 +- .../prog/en/modules/circ/returns.tmpl | 5 +- .../prog/en/modules/circ/waitingreserves.tmpl | 2 +- .../prog/en/modules/labels/label-home.tmpl | 2 +- .../prog/en/modules/labels/label-manager.tmpl | 2 +- .../en/modules/labels/label-templates.tmpl | 2 +- .../prog/en/modules/members/boraccount.tmpl | 2 +- .../prog/en/modules/members/deletemem.tmpl | 2 +- .../prog/en/modules/members/mancredit.tmpl | 2 +- .../prog/en/modules/members/maninvoice.tmpl | 2 +- .../prog/en/modules/members/member-flags.tmpl | 2 +- .../en/modules/members/member-password.tmpl | 2 +- .../prog/en/modules/members/member.tmpl | 2 +- .../prog/en/modules/members/moremember.tmpl | 2 +- .../prog/en/modules/members/pay.tmpl | 2 +- .../prog/en/modules/members/readingrec.tmpl | 2 +- .../modules/serials/serials-collection.tmpl | 2 +- .../prog/en/modules/serials/serials-home.tmpl | 2 +- .../modules/serials/subscription-detail.tmpl | 2 +- .../prog/en/modules/tools/koha-news.tmpl | 2 +- .../prog/en/modules/tools/letter.tmpl | 2 +- .../en/modules/virtualshelves/shelves.tmpl | 2 +- 63 files changed, 879 insertions(+), 251 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/yui-toolbars.inc create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/autocomplete.css create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/button.css create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/menu-button-arrow-disabled.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/menu-button-arrow.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/menu.css create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/split-button-arrow-active.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/split-button-arrow-disabled.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/split-button-arrow-focus.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/split-button-arrow-hover.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/split-button-arrow.png create mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/yui/yui-sprite.png diff --git a/C4/Auth.pm b/C4/Auth.pm index 11e0615fc9..0060853bdc 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -255,6 +255,7 @@ sub get_template_and_user { KohaAdminEmailAddress => "" . C4::Context->preference("KohaAdminEmailAddress"), IntranetmainUserblock => C4::Context->preference("IntranetmainUserblock"), IndependantBranches => C4::Context->preference("IndependantBranches"), + CircAutocompl => C4::Context->preference("CircAutocompl"), ); } else { diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc index 3b24040d14..e0a893f55b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc @@ -1,4 +1,4 @@ - + + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc index ffb5d806e8..25fef87446 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc @@ -1,4 +1,4 @@ - + - \ No newline at end of file + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc index 3aa1b01dc1..84cd4bf38e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc @@ -1,14 +1,67 @@ - + + - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc index ae4c85b003..52f0cc65dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc @@ -1,4 +1,46 @@ - + + - \ No newline at end of file + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc index 7ae9f5a069..9f78ecb2cc 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc @@ -1,79 +1,7 @@ - - - - - - - - - - - - +