Bugzilla – Attachment 10084 Details for
Bug 8143
Upgrade jQuery tabs to current jQueryUI version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8143 [SIGNED] Upgrade jQuery tabs to current jQueryUI version
0001-Bug-8143-REVISED-Upgrade-jQuery-tabs-to-current-jQue.patch (text/plain), 256.98 KB, created by
Martin Renvoize (ashimema)
on 2012-06-10 11:07:51 UTC
(
hide
)
Description:
Bug 8143 [SIGNED] Upgrade jQuery tabs to current jQueryUI version
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2012-06-10 11:07:51 UTC
Size:
256.98 KB
patch
obsolete
>From 566a9bd40a6732a12dd4555c72977f9a2de60bc9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 24 Apr 2012 10:49:15 -0400 >Subject: [PATCH] Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version >Content-Type: text/plain; charset="utf-8" > >Current jQuery-driven tabs are done using a very old >version of the tabs plugin. This patch upgrades jQueryUI >to the latest version and adds the tabs widget dependency >to the jqueryui js file and updates the syntax for existing >tabs: > >- $("#foo > ul").tabs(); changes to $("#foo").tabs(); >- Remove full URL from tab links (use #anchor only). > >Pages with "static" tabs (tabs which are built in the >markup rather than generated by the plugin) have been >modified to use their own style. Examples: pay.tt in >the staff client and opac-readingrecord.tt in the OPAC. > >Edit: Minor revision to some uncorrected markup > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 278 +++++++---- > .../prog/en/includes/acquisitions-search.inc | 6 +- > .../prog/en/includes/authorities-search.inc | 10 +- > .../prog/en/includes/budgets-admin-search.inc | 8 +- > .../intranet-tmpl/prog/en/includes/cat-search.inc | 8 +- > .../prog/en/includes/cataloging-search.inc | 4 +- > .../prog/en/includes/checkin-search.inc | 6 +- > .../intranet-tmpl/prog/en/includes/circ-search.inc | 10 +- > .../prog/en/includes/cities-admin-search.inc | 8 +- > .../prog/en/includes/contracts-admin-search.inc | 8 +- > .../prog/en/includes/currencies-admin-search.inc | 8 +- > .../prog/en/includes/doc-head-close.inc | 2 - > .../intranet-tmpl/prog/en/includes/home-search.inc | 14 +- > .../prog/en/includes/letters-search.inc | 8 +- > .../prog/en/includes/patron-search.inc | 12 +- > .../prog/en/includes/patrons-admin-search.inc | 8 +- > .../prog/en/includes/prefs-admin-search.inc | 8 +- > .../prog/en/includes/printers-admin-search.inc | 8 +- > .../prog/en/includes/roadtype-admin-search.inc | 8 +- > .../prog/en/includes/serials-search.inc | 8 +- > .../prog/en/includes/stopwords-admin-search.inc | 8 +- > .../prog/en/includes/suggestions-add-search.inc | 10 +- > .../prog/en/includes/sysprefs-admin-search.inc | 8 +- > .../prog/en/includes/z3950-admin-search.inc | 10 +- > koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 10 +- > .../intranet-tmpl/prog/en/lib/jquery/jquery-ui.css | 76 ++-- > .../intranet-tmpl/prog/en/lib/jquery/jquery-ui.js | 74 +-- > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 16 +- > .../prog/en/modules/acqui/basketgroup.tt | 2 +- > .../en/modules/admin/auth_subfields_structure.tt | 6 +- > .../prog/en/modules/admin/authorised_values.tt | 14 +- > .../en/modules/admin/branch_transfer_limits.tt | 2 +- > .../en/modules/admin/item_circulation_alerts.tt | 2 +- > .../prog/en/modules/admin/itemtypes.tt | 17 +- > .../en/modules/admin/marc_subfields_structure.tt | 2 +- > .../prog/en/modules/authorities/authorities.tt | 6 +- > .../prog/en/modules/authorities/detail.tt | 4 +- > .../prog/en/modules/catalogue/MARCdetail.tt | 24 +- > .../prog/en/modules/catalogue/advsearch.tt | 4 +- > .../prog/en/modules/catalogue/detail.tt | 14 +- > .../prog/en/modules/cataloguing/addbiblio.tt | 8 +- > .../prog/en/modules/cataloguing/merge.tt | 2 +- > .../prog/en/modules/circ/circulation.tt | 12 +- > .../prog/en/modules/circ/waitingreserves.tt | 6 +- > .../prog/en/modules/members/boraccount.tt | 6 +- > .../prog/en/modules/members/mancredit.tt | 6 +- > .../prog/en/modules/members/maninvoice.tt | 6 +- > .../prog/en/modules/members/moremember.tt | 17 +- > .../intranet-tmpl/prog/en/modules/members/pay.tt | 6 +- > .../prog/en/modules/members/paycollect.tt | 6 +- > .../prog/en/modules/reviews/reviewswaiting.tt | 8 +- > .../prog/en/modules/serials/serials-collection.tt | 4 +- > .../prog/en/modules/serials/subscription-detail.tt | 10 +- > .../prog/en/modules/suggestion/suggestion.tt | 8 +- > .../prog/en/modules/tools/csv-profiles.tt | 6 +- > .../prog/en/modules/tools/overduerules.tt | 2 +- > .../prog/en/modules/virtualshelves/shelves.tt | 18 +- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 185 ++++++- > .../opac-tmpl/prog/en/includes/doc-head-close.inc | 4 +- > .../opac-tmpl/prog/en/lib/jquery/jquery-ui.css | 357 ++++++++++++++ > .../opac-tmpl/prog/en/lib/jquery/jquery-ui.js | 25 + > .../prog/en/lib/jquery/plugins/ui.tabs.css | 80 --- > .../prog/en/lib/jquery/plugins/ui.tabs.js | 517 -------------------- > .../opac-tmpl/prog/en/modules/opac-ISBDdetail.tt | 3 - > .../opac-tmpl/prog/en/modules/opac-advsearch.tt | 4 +- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 36 +- > .../prog/en/modules/opac-readingrecord.tt | 12 +- > koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 16 +- > 68 files changed, 1048 insertions(+), 1061 deletions(-) > create mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.css > create mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.js > delete mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.css > delete mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.js > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index 96c8b7e..9be1e1f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -7,12 +7,6 @@ input:focus, textarea:focus { > border-radius: 4px; > } > >-radio:focus, checkbox:focus { >- border-color:#538200; >- border-style:solid; >- border-radius: 4px; >-} >- > ::selection { background:#538200; color:#ffffff; /* Safari and Opera */ } > ::-moz-selection { background:#538200; color:#ffffff; /* Firefox */ } > >@@ -794,99 +788,6 @@ fieldset.rows .inputnote { > margin : .5em 0 0 11em; > } > >-.ui-tabs-nav li { >- margin-right : .5em; >- position : relative; >- top : -1px; >-} >- >-.ui-tabs-nav li.ui-tabs-selected { >- >-} >- >-.ui-tabs-nav a, .ui-tabs-nav a span, .ui-tabs-nav span.a { >- background : none; >- display : block; >- padding: .2em .5em .25em .5em; >-} >- >-.ui-tabs-nav a, .ui-tabs-nav span.a { >- >-} >- >-.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav .ui-tabs-selected span.a { >- border-top: 1px solid #e6f0f2; >- border-right: 1px solid #85ca11; >- border-bottom: 1px solid #85ca11; >- border-left: 1px solid #85ca11; >- font-weight : bold; >- text-align : center; >- text-decoration : none; >- border-radius: 0px 0px 4px 4px; >- color : #000000; >- >-} >- >-.ui-tabs-nav .tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active, .ui-tabs-nav span.a { >- outline: 0; /* prevent dotted border in Firefox */ >-} >- >-.ui-tabs-nav .ui-tabs-selected a:hover { >- color : #000000; >-} >- >-.ui-tabs-nav li.ui-tabs-selected { >- /* background-color : #FFFFCC; */ >-} >- >-.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active, .ui-tabs-nav span.a { >- background : none; >- outline: 0; /* prevent dotted border in Firefox */ >-} >- >-.tabs-container { >- border-top: 0; >- padding : inherit; >- background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */ >-} >-.tabs-loading em { >- padding: inherit; >- background: none; >-} >- >-.toptabs { >- margin-top : 1em; >-} >- >-.toptabs .ui-tabs-nav li { >- margin-right : .5em; >- position : relative; >- top : 1px; >-} >- >-.toptabs .ui-tabs-nav li a, .toptabs .ui-tabs-nav li span.a { >- background-color : #E6F0F2; >- border : 1px solid #B9D8D9; >- text-align : center; >- text-decoration : none; >- border-radius : 3px 3px 0 0; >-} >- >-.toptabs .ui-tabs-nav li.ui-tabs-selected a, .toptabs .ui-tabs-nav li.ui-tabs-selected span.a { >- background-color : #FFF; >- border-top : 1px solid #85CA11; >- border-right : 1px solid #85CA11; >- border-left : 1px solid #85CA11; >- border-bottom : 1px solid #FFF; >- margin-top : 0; >- border-radius : 3px; >-} >- >-.toptabs .tabs-container { >- border : 1px solid #B9D8D9; >- padding : 1em; >-} >- > .checkedout { > color : #999999; > font-style : italic; >@@ -2275,3 +2176,182 @@ ul.ui-autocomplete { > .ui-autocomplete-loading { > background: #FFF url("../../img/loading-small.gif") right center no-repeat; > } >+ >+/* jQuery UI standard tabs */ >+.ui-tabs-nav .ui-tabs-selected a, >+.ui-tabs-nav a:hover, >+.ui-tabs-nav a:focus, >+.ui-tabs-nav a:active, >+.ui-tabs-nav span.a { >+ background: none repeat scroll 0 0 transparent; >+ outline: 0 none; >+} >+ >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { >+ background-color : #FFF; >+ border : 1px solid #B9D8D9; >+} >+ >+.ui-widget, >+.ui-widget input, >+.ui-widget select, >+.ui-widget textarea, >+.ui-widget button { >+ font-family : inherit; >+ font-size : inherit; >+} >+ul.ui-tabs-nav li { >+ list-style : none; >+} >+.ui-tabs.ui-widget-content { >+ background : transparent none; >+ border : 0; >+} >+ >+.ui-tabs .ui-tabs-panel { >+ border : 1px solid #B9D8D9; >+} >+.ui-tabs-nav.ui-widget-header { >+ border : 0; >+ background : none; >+} >+.ui-tabs .ui-tabs-nav li { >+ background: #E6F0F2 none; >+ border: 1px solid #B9D8D9; >+ margin-right : .4em; >+} >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { >+ color : #000; >+ font-weight : bold; >+} >+ >+.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-hover { >+ background : #EDF4F5 none; >+} >+ >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected.ui-state-hover { >+ background : #FFF none; >+} >+ >+.ui-tabs .ui-state-default a, >+.ui-tabs .ui-state-default a:link, >+.ui-tabs .ui-state-default a:visited { >+ color: #004D99; >+} >+ >+.ui-tabs .ui-state-hover a, >+.ui-tabs .ui-state-hover a:link, >+.ui-tabs .ui-state-hover a:visited { >+ color: #538200; >+} >+ >+.statictabs ul { >+ background: none repeat scroll 0 0 transparent; >+ border: 0 none; >+ margin: 0; >+ padding: 0.2em 0.2em 0; >+ border-bottom-right-radius: 4px; >+ border-bottom-left-radius: 4px; >+ border-top-right-radius: 4px; >+ border-top-left-radius: 4px; >+ color: #222222; >+ font-weight: bold; >+ font-size: 100%; >+ line-height: 1.3; >+ list-style: none outside none; >+ outline: 0 none; >+ text-decoration: none; >+} >+ >+.statictabs ul:after { >+ clear: both; >+} >+ >+.statictabs ul:before, >+.statictabs ul:after { >+ content: ""; >+ display: table; >+} >+ >+.statictabs ul li { >+ background: none repeat scroll 0 0 #E6F0F2; >+ border: 1px solid #B9D8D9; >+ border-bottom: 0 none !important; >+ border-top-right-radius: 4px; >+ border-top-left-radius: 4px; >+ float: left; >+ list-style: none outside none; >+ margin-bottom: 0; >+ margin-right: 0.4em; >+ padding: 0; >+ position: relative; >+ white-space: nowrap; >+ top: 1px; >+ color: #555555; >+ font-weight: normal; >+ >+} >+ >+.statictabs ul li.active { >+ background-color: #FFFFFF; >+ color: #212121; >+ font-weight: normal; >+ padding-bottom: 1px; >+} >+ >+.statictabs ul li a { >+ color: #004D99; >+ cursor: pointer; >+ float: left; >+ padding: 0.5em 1em; >+ text-decoration: none; >+} >+ >+.statictabs ul li a:hover { >+ background-color : #EDF4F5; >+ border-top-right-radius: 4px; >+ border-top-left-radius: 4px; >+ color : #538200; >+} >+ >+.statictabs ul li.active a { >+ color: #000000; >+ font-weight: bold; >+ cursor: text; >+ background: none repeat scroll 0 0 transparent; >+ outline: 0 none; >+} >+ >+.statictabs .tabs-container { >+ border: 1px solid #B9D8D9; >+ background: none repeat scroll 0 0 transparent; >+ display: block; >+ padding: 1em 1.4em; >+ border-bottom-right-radius: 4px; >+ border-bottom-left-radius: 4px; >+ color: #222222; >+} >+ >+/* jQuery UI header search box tabs */ >+#header_search ul.ui-tabs-nav { >+ padding-top : 0; >+ margin-left: 1em; >+} >+#header_search ul.ui-tabs-nav li.ui-state-default { >+ border: 0 !important; >+ background : transparent none; top: 0; >+} >+#header_search ul.ui-tabs-nav li.ui-state-default a { >+ padding : .3em .6em; >+} >+#header_search ul.ui-tabs-nav li.ui-tabs-selected { >+ background-color : #FFFFF1; >+ border: 1px solid #85CA11 !important; >+ border-top: 0 !important; top: -1px; >+} >+#header_search ul.ui-tabs-nav li.ui-tabs-selected a { >+ text-decoration: none; >+} >+#header_search .ui-corner-top { >+ border-radius: 0 0 4px 4px; >+} >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 cc796fa..5855c78 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc >@@ -7,7 +7,7 @@ > <input type="text" size="25" name="supplier" id="supplier" class="focus" /> > <input type="submit" class="submit" value="Submit" /></form> > </div> >- <div id="orders_search" class="residentsearch" style="display:none;"> >+ <div id="orders_search" class="residentsearch"> > <p class="tip">Search orders:</p> > > <form action="/cgi-bin/koha/acqui/histsearch.pl" method="post"> >@@ -24,8 +24,8 @@ > </form> > </div> > <ul id="tabtriggers"> >- <li><a href="/cgi-bin/koha/acqui/booksellers.pl#supplier_search">Vendor search</a></li> >- <li><a href="/cgi-bin/koha/acqui/histsearch.pl#orders_search">Orders search</a></li> >+ <li><a href="#supplier_search">Vendor search</a></li> >+ <li><a href="#orders_search">Orders search</a></li> > </ul> > </div><!-- /header_search --> > </div><!-- /gradient --> >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 9a2f9c5..151986d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >@@ -31,7 +31,7 @@ > <input type="submit" class="submit" value="Submit" /> > </form> > </div> >- <div id="main_heading" class="residentsearch" style="display:none;"> >+ <div id="main_heading" class="residentsearch"> > <p class="tip">Enter authority heading:</p> > <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> > <input type="hidden" name="op" value="do_search" /> >@@ -62,7 +62,7 @@ > <input type="submit" class="submit" value="Submit" /> > </form> > </div> >- <div id="all_headings" class="residentsearch" style="display:none;"> >+ <div id="all_headings" class="residentsearch"> > <p class="tip">Enter any authority field:</p> > <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> > <input type="hidden" name="op" value="do_search" /> >@@ -94,9 +94,9 @@ > </form> > </div> > <ul> >- <li><a href="/cgi-bin/koha/authorities/authorities-home.pl#authority_search">Search authorities</a></li> >- <li><a href="/cgi-bin/koha/authorities/authorities-home.pl#main_heading">Search main heading</a></li> >- <li><a href="/cgi-bin/koha/authorities/authorities-home.pl#all_headings">Search all headings</a></li> >+ <li><a href="#authority_search">Search authorities</a></li> >+ <li><a href="#main_heading">Search main heading</a></li> >+ <li><a href="#all_headings">Search all headings</a></li> > </ul> > </div><!-- /header_search --> > </div><!-- /gradient --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc >index 5cb753a..0b70028 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc >@@ -25,7 +25,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -33,9 +33,9 @@ > </form> > </div>[% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/aqbudgets.pl#budgets_search">Search funds</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#budgets_search">Search funds</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > </div> >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 d813d17..186f1d1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >@@ -5,7 +5,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_circulate ) %] >-<div id="checkin_search" class="residentsearch" style="display:none;"> >+<div id="checkin_search" class="residentsearch"> > <p class="tip">Scan a barcode to check in:</p> > <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> > <input name="barcode" id="ret_barcode" size="40" /> >@@ -24,9 +24,9 @@ > [% END %] > > <ul> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check in</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li class="ui-tabs-selected"><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#checkin_search">Check in</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li class="ui-tabs-selected"><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div><!-- /header_search --> > </div><!-- /gradient --> >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 aa2fccd..ba878ce 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >@@ -14,8 +14,8 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > <ul> >- <li><a href="/cgi-bin/koha/catalogue/search.pl#addbooks_search">Cataloging search</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >+ <li><a href="#addbooks_search">Cataloging search</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] > </ul> > </div><!-- /header_search --> > </div><!-- /gradient --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc >index 0ee0558..8fc03af 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc >@@ -3,7 +3,7 @@ > <div id="header_search"> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >-<div id="catalog_search" class="residentsearch" style="display:none;"> >+<div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" /> >@@ -12,8 +12,8 @@ > </div> > [% END %] > <ul> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > > </div> >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 56b24bf..5a145c6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc >@@ -4,7 +4,7 @@ > <div id="header_search"> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_circulate ) %] >-<div id="checkin_search" class="residentsearch" style="display:none;"> >+<div id="checkin_search" class="residentsearch"> > <p class="tip">Scan a barcode to check in:</p> > <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> > <input name="barcode" id="ret_barcode" size="40" accesskey="r" /> >@@ -12,7 +12,7 @@ > </form> > </div>[% END %] > [% IF ( CAN_user_catalogue ) %] >-<div id="catalog_search" class="residentsearch" style="display:none;"> >+<div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" accesskey="q" /> >@@ -21,9 +21,9 @@ > </div>[% END %] > > <ul> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check in</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#checkin_search">Check in</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > > </div><!-- /header_search --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc >index 78ba751..cc46780 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc >@@ -12,7 +12,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -20,9 +20,9 @@ > </form> > </div>[% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/cities.pl#city_search">Search cities</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#city_search">Search cities</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc >index 6207e9d..31b41ac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc >@@ -13,7 +13,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -21,9 +21,9 @@ > </form> > </div>[% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/aqcontact.pl#contract_description_search">Search contracts</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#contract_description_search">Search contracts</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > <!-- End Patrons Admin Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc >index 8990676..26ccbbe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc >@@ -10,7 +10,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -18,9 +18,9 @@ > </form> > </div>[% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/currency.pl#currency_search">Search currencies</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#currency_search">Search currencies</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > <!-- End Currencies Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >index 5db90b9..32eae21 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >@@ -1,7 +1,6 @@ > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" /> > <link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/jquery-ui.css" /> >-<link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/plugins/ui.tabs.css" /> > <link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" /> > [% IF ( intranetstylesheet ) %] > <link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" /> >@@ -10,7 +9,6 @@ > [% END %] > [% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %] > <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script> >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/ui.tabs.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery-ui.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.hotkeys.min.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.cookie.min.js"></script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >index 8ea46f4..46d8b45 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc >@@ -4,7 +4,7 @@ > <div id="header_search"> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_circulate ) %] >-<div id="checkin_search" class="residentsearch" style="display:none;"> >+<div id="checkin_search" class="residentsearch"> > <p class="tip">Scan a barcode to check in:</p> > <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> > <input name="barcode" id="ret_barcode" size="40" accesskey="r" /> >@@ -15,12 +15,12 @@ > <div id="patron_search" class="residentsearch"> > <p class="tip">Enter patron card number or partial name:</p> > <form action="/cgi-bin/koha/members/member.pl" method="post"> >- <input name="member" id="searchmember" size="40" type="text""/> >+ <input name="member" id="searchmember" size="40" type="text"/> > <input value="Submit" class="submit" type="submit" /> > </form> > </div>[% END %] > [% IF ( CAN_user_catalogue ) %] >-<div id="catalog_search" class="residentsearch" style="display:none;"> >+<div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" accesskey="q" /> >@@ -29,10 +29,10 @@ > </div>[% END %] > > <ul> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check in</a></li>[% END %] >- [% IF ( CAN_user_borrowers ) %]<li><a href="/cgi-bin/koha/members/members-home.pl#patron_search">Search patrons</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#checkin_search">Check in</a></li>[% END %] >+ [% IF ( CAN_user_borrowers ) %]<li><a href="#patron_search">Search patrons</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > > </div><!-- /header_search --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc >index 688923f..e55c0c1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc >@@ -10,7 +10,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -18,9 +18,9 @@ > </form> > </div>[% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/currency.pl#notices_search">Search notices</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#notices_search">Search notices</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > <!-- End Notices Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index a346985..2749309 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -45,7 +45,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -53,7 +53,7 @@ > </form> > </div>[% END %] > [% IF ( CAN_user_circulate ) %] >- <div id="checkin_search" class="residentsearch" style="display:none;"> >+ <div id="checkin_search" class="residentsearch"> > <p class="tip">Scan a barcode to check in:</p> > <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> > <input name="barcode" id="ret_barcode" size="40" accesskey="r" /> >@@ -62,10 +62,10 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/members/members-home.pl#patron_search">Search patrons</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/returns.pl#checkin_search">Check in</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#patron_search">Search patrons</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_circulate ) %]<li><a href="#checkin_search">Check in</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div><!-- /header_search --> > </div><!-- /gradient --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc >index ca22d07..65d0aef 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc >@@ -10,7 +10,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -18,9 +18,9 @@ > </form> > </div>[% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/categorie.pl#patron_category_search">Search patron categories</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#patron_category_search">Search patron categories</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >index 7950abf..ad13bec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >@@ -12,7 +12,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -21,9 +21,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/roadtype.pl#syspref_search">Search system preferences</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#syspref_search">Search system preferences</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > </div> >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 >index c03e81e..7559f03 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc >@@ -10,7 +10,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -19,9 +19,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/printers.pl#printer_search">Search printers</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#printer_search">Search printers</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > <!-- End Printers Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc >index 46cd4d8..21a83ab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc >@@ -13,7 +13,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -23,9 +23,9 @@ > > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/roadtype.pl#roadtype_search">Search road types</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#roadtype_search">Search road types</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc >index de3afdf..dfb908f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc >@@ -17,7 +17,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -26,9 +26,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/serials/serials-home.pl#subscription_search">Search subscriptions</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#subscription_search">Search subscriptions</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div><!-- /header_search --> > </div><!-- /gradient --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc >index 4c300a8..270bab4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc >@@ -10,7 +10,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -19,9 +19,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/roadtype.pl#stopword_search">Search stop words</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#stopword_search">Search stop words</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > <!-- End Stopwords Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc >index 24f0f4f..dd4d9f5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc >@@ -15,7 +15,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -24,9 +24,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]#suggestions_search">Search suggestions</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >- </ul> >+ <li><a href="#suggestions_search">Search suggestions</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] >+ </ul> > </div> > <!-- End Suggestions Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-admin-search.inc >index 5a2f6ad..fa9fc4b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-admin-search.inc >@@ -11,7 +11,7 @@ > </div> > [% INCLUDE 'patron-search-box.inc' %] > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -20,9 +20,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/roadtype.pl#syspref_search">Search system preferences</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#syspref_search">Search system preferences</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > <!-- End Stopwords Resident Search Box --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc >index b64b500..2b3ce19 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc >@@ -1,7 +1,7 @@ > <div id="header" class="gradient"> > <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin z3950 Admin Resident Search Box --> > <div id="header_search"> >- <div id="z3950_search" class="residentsearch"> >+ <div id="z3950_search" class="residentsearch"> > <p class="tip">Z39.50 server search:</p> > <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post"> > <input type="text" name="searchfield" size="40" value="[% searchfield %]" /> >@@ -12,7 +12,7 @@ > [% INCLUDE 'patron-search-box.inc' %] > > [% IF ( CAN_user_catalogue ) %] >- <div id="catalog_search" class="residentsearch" style="display:none;"> >+ <div id="catalog_search" class="residentsearch"> > <p class="tip">Enter search keywords:</p> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" /> >@@ -21,9 +21,9 @@ > </div> > [% END %] > <ul> >- <li><a href="/cgi-bin/koha/admin/z3950servers.pl#z3950_search">Search Z390.50 servers</a></li> >- [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check out</a></li>[% END %] >- [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl#catalog_search">Search the catalog</a></li>[% END %] >+ <li><a href="#z3950_search">Search Z390.50 servers</a></li> >+ [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %] >+ [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %] > </ul> > </div> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js >index bf45048..58fd190 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js >@@ -4,11 +4,11 @@ if ( KOHA === undefined ) var KOHA = {}; > function _(s) { return s } // dummy function for gettext > > $(document).ready(function() { >- $('#header_search > ul').tabs().bind('show.ui-tabs', function(e, ui) { $('#header_search > div:not(.ui-tabs-hide)').find('input').eq(0).focus(); }); >+ $('#header_search').tabs().bind('tabsshow', function(e, ui) { $('#header_search > div:not(.ui-tabs-hide)').find('input').eq(0).focus(); }); > $(".close").click(function(){ window.close(); }); >- if($("#header_search #checkin_search").length > 0){ $(document).bind('keydown','Alt+r',function (){ $("#header_search > ul").tabs("select","#checkin_search"); $("#ret_barcode").focus(); }); } else { $(document).bind('keydown','Alt+r',function (){ location.href="/cgi-bin/koha/circ/returns.pl"; }); } >- if($("#header_search #circ_search").length > 0){ $(document).bind('keydown','Alt+u',function (){ $("#header_search > ul").tabs("select","#circ_search"); $("#findborrower").focus(); }); } else { $(document).bind('keydown','Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; }); } >- if($("#header_search #catalog_search").length > 0){ $(document).bind('keydown','Alt+q',function (){ $("#header_search > ul").tabs("select","#catalog_search"); $("#search-form").focus(); }); } else { $(document).bind('keydown','Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); } >+ if($("#header_search #checkin_search").length > 0){ $(document).bind('keydown','Alt+r',function (){ $("#header_search").tabs("select","#checkin_search"); $("#ret_barcode").focus(); }); } else { $(document).bind('keydown','Alt+r',function (){ location.href="/cgi-bin/koha/circ/returns.pl"; }); } >+ if($("#header_search #circ_search").length > 0){ $(document).bind('keydown','Alt+u',function (){ $("#header_search").tabs("select","#circ_search"); $("#findborrower").focus(); }); } else { $(document).bind('keydown','Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; }); } >+ if($("#header_search #catalog_search").length > 0){ $(document).bind('keydown','Alt+q',function (){ $("#header_search").tabs("select","#catalog_search"); $("#search-form").focus(); }); } else { $(document).bind('keydown','Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); } > $(".focus").focus(); > }); > >@@ -108,4 +108,4 @@ function openWindow(link,name,width,height) { > width = (typeof width == "undefined")?'600':width; > height = (typeof height == "undefined")?'400':height; > var newin=window.open(link,name,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top'); >-} >\ No newline at end of file >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.css b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.css >index 9cce3a6..e6b47dc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.css >@@ -1,7 +1,7 @@ >-/* >- * jQuery UI CSS Framework 1.8.18 >+/*! >+ * jQuery UI CSS Framework 1.8.20 > * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) > * Dual licensed under the MIT or GPL Version 2 licenses. > * http://jquery.org/license > * >@@ -38,10 +38,10 @@ > .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } > > >-/* >- * jQuery UI CSS Framework 1.8.18 >+/*! >+ * jQuery UI CSS Framework 1.8.20 > * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) > * Dual licensed under the MIT or GPL Version 2 licenses. > * http://jquery.org/license > * >@@ -284,10 +284,10 @@ > > /* Overlays */ > .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } >-.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* >- * jQuery UI Autocomplete 1.8.18 >+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! >+ * jQuery UI Autocomplete 1.8.20 > * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) > * Dual licensed under the MIT or GPL Version 2 licenses. > * http://jquery.org/license > * >@@ -299,7 +299,7 @@ > * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ > > /* >- * jQuery UI Menu 1.8.18 >+ * jQuery UI Menu 1.8.20 > * > * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) > * Dual licensed under the MIT or GPL Version 2 licenses. >@@ -308,32 +308,50 @@ > * http://docs.jquery.com/UI/Menu#theming > */ > .ui-menu { >- list-style:none; >- padding: 2px; >- margin: 0; >- display:block; >- float: left; >+ list-style:none; >+ padding: 2px; >+ margin: 0; >+ display:block; >+ float: left; > } > .ui-menu .ui-menu { >- margin-top: -3px; >+ margin-top: -3px; > } > .ui-menu .ui-menu-item { >- margin:0; >- padding: 0; >- zoom: 1; >- float: left; >- clear: left; >- width: 100%; >+ margin:0; >+ padding: 0; >+ zoom: 1; >+ float: left; >+ clear: left; >+ width: 100%; > } > .ui-menu .ui-menu-item a { >- text-decoration:none; >- display:block; >- padding:.2em .4em; >- line-height:1.5; >- zoom:1; >+ text-decoration:none; >+ display:block; >+ padding:.2em .4em; >+ line-height:1.5; >+ zoom:1; > } > .ui-menu .ui-menu-item a.ui-state-hover, > .ui-menu .ui-menu-item a.ui-state-active { >- font-weight: normal; >- margin: -1px; >+ font-weight: normal; >+ margin: -1px; > } >+/*! >+ * jQuery UI Tabs 1.8.20 >+ * >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * http://docs.jquery.com/UI/Tabs#theming >+ */ >+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ >+.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } >+.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } >+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } >+.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ >+.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } >+.ui-tabs .ui-tabs-hide { display: none !important; } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.js b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.js >index 3b49f39..789014a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/jquery-ui.js >@@ -1,49 +1,25 @@ >-/*! >- * jQuery UI 1.8.18 >- * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >- * Dual licensed under the MIT or GPL Version 2 licenses. >- * http://jquery.org/license >- * >- * http://docs.jquery.com/UI >- */(function(a,b){function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!=="map")return!1;h=a("img[usemap=#"+g+"]")[0];return!!h&&d(h)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)});return c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){if(c===b)return g["inner"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){if(typeof b!="number")return g["outer"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!!d&&!!a.element[0].parentNode)for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css("overflow")==="hidden")return!1;var d=c&&c==="left"?"scrollLeft":"scrollTop",e=!1;if(b[d]>0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}}))})(jQuery);/*! >- * jQuery UI Widget 1.8.18 >- * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >- * Dual licensed under the MIT or GPL Version 2 licenses. >- * http://jquery.org/license >- * >- * http://docs.jquery.com/UI/Widget >- */(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler("remove")}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){c||(!b||a.filter(b,[this]).length)&&a("*",this).add([this]).each(function(){try{a(this).triggerHandler("remove")}catch(b){}});return d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1],f=e+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&&this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e=="string",g=Array.prototype.slice.call(arguments,1),h=this;e=!f&&g.length?a.extend.apply(null,[!0,e].concat(g)):e;if(f&&e.charAt(0)==="_")return h;f?this.each(function(){var d=a.data(this,c),f=d&&a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&&f!==b){h=f;return!1}}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))});return h}},a.Widget=function(a,b){arguments.length&&this._createWidget(a,b)},a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c=="string"){if(d===b)return this.options[c];e={},e[c]=d}this._setOptions(e);return this},_setOptions:function(b){var c=this;a.each(b,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,b){this.options[a]=b,a==="disabled"&&this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b);return this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);this.element.trigger(c,d);return!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}})(jQuery);/*! >- * jQuery UI Mouse 1.8.18 >- * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >- * Dual licensed under the MIT or GPL Version 2 licenses. >- * http://jquery.org/license >- * >- * http://docs.jquery.com/UI/Mouse >- * >- * Depends: >- * jquery.ui.widget.js >- */(function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+".preventClickEvent")){a.removeData(c.target,b.widgetName+".preventClickEvent"),c.stopImmediatePropagation();return!1}}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(b){if(!c){this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel=="string"&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted){b.preventDefault();return!0}}!0===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0;return!0}},_mouseMove:function(b){if(a.browser.msie&&!(document.documentMode>=9)&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b));return!this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b));return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery);/* >- * jQuery UI Position 1.8.18 >- * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >- * Dual licensed under the MIT or GPL Version 2 licenses. >- * http://jquery.org/license >- * >- * http://docs.jquery.com/UI/Position >- */(function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]==="right"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]==="bottom"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1];return this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,"marginLeft",!0))||0,i=parseInt(a.curCSS(this,"marginTop",!0))||0,o=d+h+(parseInt(a.curCSS(this,"marginRight",!0))||0),p=g+i+(parseInt(a.curCSS(this,"marginBottom",!0))||0),q=a.extend({},n),r;b.my[0]==="right"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]==="bottom"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each(["left","top"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]!==e){var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,h=c.at[0]==="left"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0}},top:function(b,c){if(c.at[1]!==e){var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,h=c.at[1]==="top"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,"position"))&&(b.style.position="relative");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,"top",!0),10)||0,g=parseInt(a.curCSS(b,"left",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};"using"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];if(!c||!c.ownerDocument)return null;if(b)return this.each(function(){a.offset.setOffset(this,b)});return h.call(this)}),function(){var b=document.getElementsByTagName("body")[0],c=document.createElement("div"),d,e,g,h,i;d=document.createElement(b?"div":"body"),g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},b&&a.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML="",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()})(jQuery);/* >- * jQuery UI Autocomplete 1.8.18 >- * >- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) >- * Dual licensed under the MIT or GPL Version 2 licenses. >- * http://jquery.org/license >- * >- * http://docs.jquery.com/UI/Autocomplete >- * >- * Depends: >- * jquery.ui.core.js >- * jquery.ui.widget.js >- * jquery.ui.position.js >- */(function(a,b){var c=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!b.options.disabled&&!b.element.propAttr("readOnly")){d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move("previousPage",c);break;case e.PAGE_DOWN:b._move("nextPage",c);break;case e.UP:b._move("previous",c),c.preventDefault();break;case e.DOWN:b._move("next",c),c.preventDefault();break;case e.ENTER:case e.NUMPAD_ENTER:b.menu.active&&(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&&(b.selectedItem=null,b.search(null,c))},b.options.delay)}}}).bind("keypress.autocomplete",function(a){d&&(d=!1,a.preventDefault())}).bind("focus.autocomplete",function(){b.options.disabled||(b.selectedItem=null,b.previous=b.element.val())}).bind("blur.autocomplete",function(a){b.options.disabled||(clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150))}),this._initSource(),this.response=function(){return b._response.apply(b,arguments)},this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(c){c.target!==b.element[0]&&c.target!==d&&!a.ui.contains(d,c.target)&&b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data("item.autocomplete");!1!==b._trigger("focus",a,{item:d})&&/^key/.test(a.originalEvent.type)&&b.element.val(d.value)},selected:function(a,d){var e=d.item.data("item.autocomplete"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger("select",a,{item:e})&&b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(":visible")&&b.element.val()!==b.term&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),a.fn.bgiframe&&this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr("autocomplete")},a(window).bind("beforeunload",b.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),a(window).unbind("beforeunload",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==="source"&&this._initSource(),b==="appendTo"&&this.menu.element.appendTo(a(c||"body",this.element[0].ownerDocument)[0]),b==="disabled"&&c&&this.xhr&&this.xhr.abort()},_initSource:function(){var b=this,d,e;a.isArray(this.options.source)?(d=this.options.source,this.source=function(b,c){c(a.ui.autocomplete.filter(d,b.term))}):typeof this.options.source=="string"?(e=this.options.source,this.source=function(d,f){b.xhr&&b.xhr.abort(),b.xhr=a.ajax({url:e,data:d,dataType:"json",context:{autocompleteRequest:++c},success:function(a,b){this.autocompleteRequest===c&&f(a)},error:function(){this.autocompleteRequest===c&&f([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==!1)return this._search(a)},_search:function(a){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.source({term:a},this.response)},_response:function(a){!this.options.disabled&&a&&a.length?(a=this._normalize(a),this._suggest(a),this._trigger("open")):this.close(),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",a))},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(b){if(b.length&&b[0].label&&b[0].value)return b;return a.map(b,function(b){if(typeof b=="string")return{label:b,value:b};return a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(new a.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a("<li></li>").data("item.autocomplete",c).append(a("<a></a>").text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(":visible"))this.search(null,b);else{if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)}},widget:function(){return this.menu.element}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),"i");return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})})(jQuery),function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){!a(c.target).closest(".ui-menu-item a").length||(c.preventDefault(),b.select(c))}),this.refresh()},refresh:function(){var b=this,c=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");c.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this.element.scrollTop(d+c):c>=e&&this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",a,{item:b})},deactivate:function(){!this.active||(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null)},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,c){if(!this.active)this.activate(c,this.element.children(b));else{var d=this.active[a+"All"](".ui-menu-item").eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))}},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(".ui-menu-item:first"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:last")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(".ui-menu-item:last"));return}var c=this.active.offset().top,d=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b<10&&b>-10}),result.length||(result=this.element.children(".ui-menu-item:first")),this.activate(b,result)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?"prop":"attr"]("scrollHeight")},select:function(a){this._trigger("selected",a,{item:this.active})}})}(jQuery); >\ No newline at end of file >+/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.core.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;return!b.href||!g||f.nodeName.toLowerCase()!=="map"?!1:(h=a("img[usemap=#"+g+"]")[0],!!h&&d(h))}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};if(a.ui.version)return;a.extend(a.ui,{version:"1.8.20",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;return a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0),/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)}),c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){return c===b?g["inner"+d].call(this):this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){return typeof b!="number"?g["outer"+d].call(this,b):this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!d||!a.element[0].parentNode)return;for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css("overflow")==="hidden")return!1;var d=c&&c==="left"?"scrollLeft":"scrollTop",e=!1;return b[d]>0?!0:(b[d]=1,e=b[d]>0,b[d]=0,e)},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}})})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.widget.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler("remove")}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){return c||(!b||a.filter(b,[this]).length)&&a("*",this).add([this]).each(function(){try{a(this).triggerHandler("remove")}catch(b){}}),d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1],f=e+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&&this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e=="string",g=Array.prototype.slice.call(arguments,1),h=this;return e=!f&&g.length?a.extend.apply(null,[!0,e].concat(g)):e,f&&e.charAt(0)==="_"?h:(f?this.each(function(){var d=a.data(this,c),f=d&&a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&&f!==b)return h=f,!1}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))}),h)}},a.Widget=function(a,b){arguments.length&&this._createWidget(a,b)},a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c=="string"){if(d===b)return this.options[c];e={},e[c]=d}return this._setOptions(e),this},_setOptions:function(b){var c=this;return a.each(b,function(a,b){c._setOption(a,b)}),this},_setOption:function(a,b){return this.options[a]=b,a==="disabled"&&this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);return this.element.trigger(c,d),!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.mouse.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+".preventClickEvent"))return a.removeData(c.target,b.widgetName+".preventClickEvent"),c.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(b){if(c)return;this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel=="string"&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted)return b.preventDefault(),!0}return!0===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0,!0},_mouseMove:function(b){return!a.browser.msie||document.documentMode>=9||!!b.button?this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted):this._mouseUp(b)},_mouseUp:function(b){return a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b)),!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.position.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;return i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]==="right"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]==="bottom"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1],this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,"marginLeft",!0))||0,i=parseInt(a.curCSS(this,"marginTop",!0))||0,o=d+h+(parseInt(a.curCSS(this,"marginRight",!0))||0),p=g+i+(parseInt(a.curCSS(this,"marginBottom",!0))||0),q=a.extend({},n),r;b.my[0]==="right"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]==="bottom"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each(["left","top"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]===e)return;var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,h=c.at[0]==="left"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0},top:function(b,c){if(c.at[1]===e)return;var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,h=c.at[1]==="top"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,"position"))&&(b.style.position="relative");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,"top",!0),10)||0,g=parseInt(a.curCSS(b,"left",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};"using"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];return!c||!c.ownerDocument?null:b?this.each(function(){a.offset.setOffset(this,b)}):h.call(this)}),function(){var b=document.getElementsByTagName("body")[0],c=document.createElement("div"),d,e,g,h,i;d=document.createElement(b?"div":"body"),g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},b&&a.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML="",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.autocomplete.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){var c=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.isMultiLine=this.element.is("textarea"),this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(b.options.disabled||b.element.propAttr("readOnly"))return;d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move("previousPage",c);break;case e.PAGE_DOWN:b._move("nextPage",c);break;case e.UP:b._keyEvent("previous",c);break;case e.DOWN:b._keyEvent("next",c);break;case e.ENTER:case e.NUMPAD_ENTER:b.menu.active&&(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&&(b.selectedItem=null,b.search(null,c))},b.options.delay)}}).bind("keypress.autocomplete",function(a){d&&(d=!1,a.preventDefault())}).bind("focus.autocomplete",function(){if(b.options.disabled)return;b.selectedItem=null,b.previous=b.element.val()}).bind("blur.autocomplete",function(a){if(b.options.disabled)return;clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150)}),this._initSource(),this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(c){c.target!==b.element[0]&&c.target!==d&&!a.ui.contains(d,c.target)&&b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data("item.autocomplete");!1!==b._trigger("focus",a,{item:d})&&/^key/.test(a.originalEvent.type)&&b.element.val(d.value)},selected:function(a,d){var e=d.item.data("item.autocomplete"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger("select",a,{item:e})&&b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(":visible")&&b.element.val()!==b.term&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),a.fn.bgiframe&&this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr("autocomplete")},a(window).bind("beforeunload",b.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),a(window).unbind("beforeunload",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==="source"&&this._initSource(),b==="appendTo"&&this.menu.element.appendTo(a(c||"body",this.element[0].ownerDocument)[0]),b==="disabled"&&c&&this.xhr&&this.xhr.abort()},_initSource:function(){var b=this,c,d;a.isArray(this.options.source)?(c=this.options.source,this.source=function(b,d){d(a.ui.autocomplete.filter(c,b.term))}):typeof this.options.source=="string"?(d=this.options.source,this.source=function(c,e){b.xhr&&b.xhr.abort(),b.xhr=a.ajax({url:d,data:c,dataType:"json",success:function(a,b){e(a)},error:function(){e([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)===!1)return;return this._search(a)},_search:function(a){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.source({term:a},this._response())},_response:function(){var a=this,b=++c;return function(d){b===c&&a.__response(d),a.pending--,a.pending||a.element.removeClass("ui-autocomplete-loading")}},__response:function(a){!this.options.disabled&&a&&a.length?(a=this._normalize(a),this._suggest(a),this._trigger("open")):this.close()},close:function(a){clearTimeout(this.closing),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",a))},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(b){return b.length&&b[0].label&&b[0].value?b:a.map(b,function(b){return typeof b=="string"?{label:b,value:b}:a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(new a.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a("<li></li>").data("item.autocomplete",c).append(a("<a></a>").text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(":visible")){this.search(null,b);return}if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)},widget:function(){return this.menu.element},_keyEvent:function(a,b){if(!this.isMultiLine||this.menu.element.is(":visible"))this._move(a,b),b.preventDefault()}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),"i");return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})})(jQuery),function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){if(!a(c.target).closest(".ui-menu-item a").length)return;c.preventDefault(),b.select(c)}),this.refresh()},refresh:function(){var b=this,c=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");c.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this.element.scrollTop(d+c):c>=e&&this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",a,{item:b})},deactivate:function(){if(!this.active)return;this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,c){if(!this.active){this.activate(c,this.element.children(b));return}var d=this.active[a+"All"](".ui-menu-item").eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(".ui-menu-item:first"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:last")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(".ui-menu-item:last"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:first")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?"prop":"attr"]("scrollHeight")},select:function(a){this._trigger("selected",a,{item:this.active})}})}(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.tabs.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){function e(){return++c}function f(){return++d}var c=0,d=0;a.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading…</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(!0)},_setOption:function(a,b){if(a=="selected"){if(this.options.collapsible&&b==this.options.selected)return;this.select(b)}else this.options[a]=b,this._tabify()},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+e()},_sanitizeSelector:function(a){return a.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+f());return a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=a(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function m(b,c){b.css("display",""),!a.support.opacity&&c.opacity&&b[0].style.removeAttribute("filter")}var d=this,e=this.options,f=/^#.+/;this.list=this.element.find("ol,ul").eq(0),this.lis=a(" > li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return a("a",this)[0]}),this.panels=a([]),this.anchors.each(function(b,c){var g=a(c).attr("href"),h=g.split("#")[0],i;h&&(h===location.toString().split("#")[0]||(i=a("base")[0])&&h===i.href)&&(g=c.hash,c.href=g);if(f.test(g))d.panels=d.panels.add(d.element.find(d._sanitizeSelector(g)));else if(g&&g!=="#"){a.data(c,"href.tabs",g),a.data(c,"load.tabs",g.replace(/#.*$/,""));var j=d._tabId(c);c.href="#"+j;var k=d.element.find("#"+j);k.length||(k=a(e.panelTemplate).attr("id",j).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(d.panels[b-1]||d.list),k.data("destroy.tabs",!0)),d.panels=d.panels.add(k)}else e.disabled.push(b)}),c?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),e.selected===b?(location.hash&&this.anchors.each(function(a,b){if(b.hash==location.hash)return e.selected=a,!1}),typeof e.selected!="number"&&e.cookie&&(e.selected=parseInt(d._cookie(),10)),typeof e.selected!="number"&&this.lis.filter(".ui-tabs-selected").length&&(e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),e.selected=e.selected||(this.lis.length?0:-1)):e.selected===null&&(e.selected=-1),e.selected=e.selected>=0&&this.anchors[e.selected]||e.selected<0?e.selected:0,e.disabled=a.unique(e.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(a,b){return d.lis.index(a)}))).sort(),a.inArray(e.selected,e.disabled)!=-1&&e.disabled.splice(a.inArray(e.selected,e.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),e.selected>=0&&this.anchors.length&&(d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(e.selected).addClass("ui-tabs-selected ui-state-active"),d.element.queue("tabs",function(){d._trigger("show",null,d._ui(d.anchors[e.selected],d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash))[0]))}),this.load(e.selected)),a(window).bind("unload",function(){d.lis.add(d.anchors).unbind(".tabs"),d.lis=d.anchors=d.panels=null})):e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),this.element[e.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),e.cookie&&this._cookie(e.selected,e.cookie);for(var g=0,h;h=this.lis[g];g++)a(h)[a.inArray(g,e.disabled)!=-1&&!a(h).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");e.cache===!1&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs");if(e.event!=="mouseover"){var i=function(a,b){b.is(":not(.ui-state-disabled)")&&b.addClass("ui-state-"+a)},j=function(a,b){b.removeClass("ui-state-"+a)};this.lis.bind("mouseover.tabs",function(){i("hover",a(this))}),this.lis.bind("mouseout.tabs",function(){j("hover",a(this))}),this.anchors.bind("focus.tabs",function(){i("focus",a(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){j("focus",a(this).closest("li"))})}var k,l;e.fx&&(a.isArray(e.fx)?(k=e.fx[0],l=e.fx[1]):k=l=e.fx);var n=l?function(b,c){a(b).closest("li").addClass("ui-tabs-selected ui-state-active"),c.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){m(c,l),d._trigger("show",null,d._ui(b,c[0]))})}:function(b,c){a(b).closest("li").addClass("ui-tabs-selected ui-state-active"),c.removeClass("ui-tabs-hide"),d._trigger("show",null,d._ui(b,c[0]))},o=k?function(a,b){b.animate(k,k.duration||"normal",function(){d.lis.removeClass("ui-tabs-selected ui-state-active"),b.addClass("ui-tabs-hide"),m(b,k),d.element.dequeue("tabs")})}:function(a,b,c){d.lis.removeClass("ui-tabs-selected ui-state-active"),b.addClass("ui-tabs-hide"),d.element.dequeue("tabs")};this.anchors.bind(e.event+".tabs",function(){var b=this,c=a(b).closest("li"),f=d.panels.filter(":not(.ui-tabs-hide)"),g=d.element.find(d._sanitizeSelector(b.hash));if(c.hasClass("ui-tabs-selected")&&!e.collapsible||c.hasClass("ui-state-disabled")||c.hasClass("ui-state-processing")||d.panels.filter(":animated").length||d._trigger("select",null,d._ui(this,g[0]))===!1)return this.blur(),!1;e.selected=d.anchors.index(this),d.abort();if(e.collapsible){if(c.hasClass("ui-tabs-selected"))return e.selected=-1,e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue("tabs",function(){o(b,f)}).dequeue("tabs"),this.blur(),!1;if(!f.length)return e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue("tabs",function(){n(b,g)}),d.load(d.anchors.index(this)),this.blur(),!1}e.cookie&&d._cookie(e.selected,e.cookie);if(g.length)f.length&&d.element.queue("tabs",function(){o(b,f)}),d.element.queue("tabs",function(){n(b,g)}),d.load(d.anchors.index(this));else throw"jQuery UI Tabs: Mismatching fragment identifier.";a.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function(a){return typeof a=="string"&&(a=this.anchors.index(this.anchors.filter("[href$='"+a+"']"))),a},destroy:function(){var b=this.options;return this.abort(),this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.anchors.each(function(){var b=a.data(this,"href.tabs");b&&(this.href=b);var c=a(this).unbind(".tabs");a.each(["href","load","cache"],function(a,b){c.removeData(b+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){a.data(this,"destroy.tabs")?a(this).remove():a(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),b.cookie&&this._cookie(null,b.cookie),this},add:function(c,d,e){e===b&&(e=this.anchors.length);var f=this,g=this.options,h=a(g.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),i=c.indexOf("#")?this._tabId(a("a",h)[0]):c.replace("#","");h.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0);var j=f.element.find("#"+i);return j.length||(j=a(g.panelTemplate).attr("id",i).data("destroy.tabs",!0)),j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),e>=this.lis.length?(h.appendTo(this.list),j.appendTo(this.list[0].parentNode)):(h.insertBefore(this.lis[e]),j.insertBefore(this.panels[e])),g.disabled=a.map(g.disabled,function(a,b){return a>=e?++a:a}),this._tabify(),this.anchors.length==1&&(g.selected=0,h.addClass("ui-tabs-selected ui-state-active"),j.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[e],this.panels[e])),this},remove:function(b){b=this._getIndex(b);var c=this.options,d=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();return d.hasClass("ui-tabs-selected")&&this.anchors.length>1&&this.select(b+(b+1<this.anchors.length?1:-1)),c.disabled=a.map(a.grep(c.disabled,function(a,c){return a!=b}),function(a,c){return a>=b?--a:a}),this._tabify(),this._trigger("remove",null,this._ui(d.find("a")[0],e[0])),this},enable:function(b){b=this._getIndex(b);var c=this.options;if(a.inArray(b,c.disabled)==-1)return;return this.lis.eq(b).removeClass("ui-state-disabled"),c.disabled=a.grep(c.disabled,function(a,c){return a!=b}),this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b])),this},disable:function(a){a=this._getIndex(a);var b=this,c=this.options;return a!=c.selected&&(this.lis.eq(a).addClass("ui-state-disabled"),c.disabled.push(a),c.disabled.sort(),this._trigger("disable",null,this._ui(this.anchors[a],this.panels[a]))),this},select:function(a){a=this._getIndex(a);if(a==-1)if(this.options.collapsible&&this.options.selected!=-1)a=this.options.selected;else return this;return this.anchors.eq(a).trigger(this.options.event+".tabs"),this},load:function(b){b=this._getIndex(b);var c=this,d=this.options,e=this.anchors.eq(b)[0],f=a.data(e,"load.tabs");this.abort();if(!f||this.element.queue("tabs").length!==0&&a.data(e,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(b).addClass("ui-state-processing");if(d.spinner){var g=a("span",e);g.data("label.tabs",g.html()).html(d.spinner)}return this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:f,success:function(f,g){c.element.find(c._sanitizeSelector(e.hash)).html(f),c._cleanup(),d.cache&&a.data(e,"cache.tabs",!0),c._trigger("load",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f,g){c._cleanup(),c._trigger("load",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.error(a,f,b,e)}catch(g){}}})),c.element.dequeue("tabs"),this},abort:function(){return this.element.queue([]),this.panels.stop(!1,!0),this.element.queue("tabs",this.element.queue("tabs").splice(-2,2)),this.xhr&&(this.xhr.abort(),delete this.xhr),this._cleanup(),this},url:function(a,b){return this.anchors.eq(a).removeData("cache.tabs").data("load.tabs",b),this},length:function(){return this.anchors.length}}),a.extend(a.ui.tabs,{version:"1.8.20"}),a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(a,b){var c=this,d=this.options,e=c._rotate||(c._rotate=function(b){clearTimeout(c.rotation),c.rotation=setTimeout(function(){var a=d.selected;c.select(++a<c.anchors.length?a:0)},a),b&&b.stopPropagation()}),f=c._unrotate||(c._unrotate=b?function(a){e()}:function(a){a.clientX&&c.rotate(null)});return a?(this.element.bind("tabsshow",e),this.anchors.bind(d.event+".tabs",f),e()):(clearTimeout(c.rotation),this.element.unbind("tabsshow",e),this.anchors.unbind(d.event+".tabs",f),delete this._rotate,delete this._unrotate),this}})})(jQuery);; >\ No newline at end of file >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >index f4f0def..aae324a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -5,7 +5,7 @@ > //<![CDATA[ > > $(document).ready(function() { >- $('#abouttabs > ul').tabs(); >+ $('#abouttabs').tabs(); > }); > //]]> > </script> >@@ -24,12 +24,12 @@ > > <div id="abouttabs" class="toptabs numbered"> > <ul> >- <li><a href="about.pl#about">Server Information</a></li> >- <li><a href="about.pl#perl">Perl modules</a></li> >- <li><a href="about.pl#team">Koha Team</a></li> >- <li><a href="about.pl#licenses">Licenses</a></li> >- <li><a href="about.pl#translations">Translations</a></li> >- <li><a href="about.pl#history">Koha Timeline</a></li> >+ <li><a href="#about">Server Information</a></li> >+ <li><a href="#perl">Perl modules</a></li> >+ <li><a href="#team">Koha Team</a></li> >+ <li><a href="#licenses">Licenses</a></li> >+ <li><a href="#translations">Translations</a></li> >+ <li><a href="#history">Koha Timeline</a></li> > </ul> > > <div id="about"> >@@ -89,7 +89,7 @@ > <li><a href="http://library.org.nz">Horowhenua Library Trust</a>, New Zealand, and Rosalie Blake, Head of Libraries, (Koha 1.0)</li> > <li>The <a href="http://myacpl.org">Nelsonville Public Library System</a>, Ohio, USA (MARC sponsorship, documentation, template maintenance)</li> > <li><a href="http://www.emn.fr">EMN (Ecole des Mines de Nantes)</a>, France (Suggestions, Stats wizards and improved LDAP sponsorship)</li> >- <li><a href="http://www.mines-paristech.fr">Mines Paristech (previously Ecole Nationale Supérieure des Mines de Paris)</a><, France (biblio frameworks, MARC authorities, OPAC basket, Serials sponsorship)</li> >+ <li><a href="http://www.mines-paristech.fr">Mines Paristech (previously Ecole Nationale Supérieure des Mines de Paris)</a>, France (biblio frameworks, MARC authorities, OPAC basket, Serials sponsorship)</li> > <li><a href="http://www.mediathequeouestprovence.fr/">SAN-Ouest Provence</a>, France (Koha 3.0 enhancements to patrons and holds modules)</li> > <li>The <a href="http://ccfls.org">Crawford County Federated Library System</a>, PA, USA (Koha 3.0 Zebra Integration sponsorship)</li> > <li>The <a href="http://www.geauga.lib.oh.us/">Geauga County Public Library</a>, OH, USA (Koha 3.0 beta testing)</li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >index 5b34721..9ab47f3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >@@ -99,7 +99,7 @@ function submitForm(form) { > $(document).ready(function() { > // $("#toolbar").empty(); > yuiToolbar(); >- $("#basket_groups > ul").tabs(); >+ $("#basket_groups").tabs(); > }); > > // YUI Toolbar Functions >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >index 2880572..a99e203 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >@@ -5,7 +5,7 @@ > //<![CDATA[ > > $(document).ready(function() { >- $('#subfieldtabs > ul').tabs(); >+ $('#subfieldtabs').tabs(); > }); > > function displayMoreConstraint(numlayer){ >@@ -59,10 +59,10 @@ function displayMoreConstraint(numlayer){ > [% FOREACH loo IN loop %] > [% IF ( loo.new_subfield ) %] > [% IF ( tagfield >=10 ) %]<!-- display new only for > 10 fields --> >- <li><a href="/cgi-bin/koha/admin/auth_subfields_structure.pl#sub[% loo.tagsubfield %]field" title="[% loo.liblibrarian %]">New</a></li> >+ <li><a href="#sub[% loo.tagsubfield %]field" title="[% loo.liblibrarian %]">New</a></li> > [% END %] > [% ELSE %] >- <li><a href="/cgi-bin/koha/admin/auth_subfields_structure.pl#sub[% loo.tagsubfield %]field" title="[% loo.liblibrarian %]"> >+ <li><a href="#sub[% loo.tagsubfield %]field" title="[% loo.liblibrarian %]"> > [% loo.tagsubfield %] > </a></li> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >index 0deebe1..3af0724 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >@@ -19,14 +19,15 @@ > <script type="text/JavaScript" language="JavaScript"> > //<![CDATA[ > $(document).ready(function() { >- $('#icons > ul').tabs(); >+ $('#icons').tabs(); > }); > //]]> > </script> > <style type="text/css"> > fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; } >- fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-selected {background-color : transparent; } >+ fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-selected {background-color : #F4F8F9; } > fieldset.rows .ui-tabs-panel { margin-right : 10px; margin-left : 10px;margin-bottom:10px;} >+ fieldset.rows .ui-tabs-nav { margin-left : 10px; } > </style> > </head> > <body id="admin_authorised_values" class="admin"> >@@ -78,15 +79,14 @@ > <input type="text" name="lib_opac" id="lib_opac" value="[% lib_opac %]" maxlength="80" /> > </li> > </ol> >- <div id="icons" class="toptabs"> >+ <div id="icons" class="toptabs" style="clear:both"> > <h5 style="margin-left:10px;">Choose an icon:</h5> > <ul> >- <li><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% category %]#none">None</a></li> >+ <li><a href="#none">None</a></li> > [% FOREACH imageset IN imagesets %] >- [% IF ( imageset.imagesetactive ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% imageset.category %]#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a></li> >+ [% IF ( imageset.imagesetactive ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a></li> > [% END %] > </ul> >- </div> > <div id="none"><ul> > <li><label for="noimage">No image: </label><input type="radio" name="imageurl" id="noimage" value="removeImage" /></li> > </ul> >@@ -112,7 +112,7 @@ > <br class="clear" /> > </div> > [% END %] >- >+ </div> > </fieldset> > <fieldset class="action"> <input type="hidden" name="id" value="[% id %]" /> > <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category %]">Cancel</a></fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt >index c9bd51c..1c2a7ac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt >@@ -10,7 +10,7 @@ > $("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes();}); > $("#UncheckAll").click(function(){ $("#transferlimit_tabs").unCheckCheckboxes();}); > $("#SwapAll").click(function(){ $("#transferlimit_tabs").toggleCheckboxes();}); >- $('#transferlimit_tabs > ul').tabs(); >+ $('#transferlimit_tabs').tabs(); > > $('#branchselect').change(function() { > $('#selectlibrary').submit(); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt >index 83650c3..875ff1b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt >@@ -40,7 +40,7 @@ table.grid td.default { > <script type="text/javascript">//<![CDATA[ > var $branch = "[% branch %]"; > $(function(){ >- $('#alerttabs > ul').tabs(); >+ $('#alerttabs').tabs(); > > var blocked = _('Blocked!'); > var saving = _('Saving...'); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >index 16cd705..cb3f9ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -85,14 +85,15 @@ function Check(f) { > } > } > $(document).ready(function() { >- $('#icons > ul').tabs(); >+ $('#icons').tabs(); > }); > //]]> > </script> > <style type="text/css"> > fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; } >- fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-selected {background-color : transparent; } >+ fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-selected {background-color : #F4F8F9; } > fieldset.rows .ui-tabs-panel { margin-right : 10px; margin-left : 10px;margin-bottom:10px;} >+ fieldset.rows .ui-tabs-nav { margin-left : 10px; } > </style> > </head> > <body id="admin_itemtypes" class="admin"> >@@ -175,21 +176,20 @@ Item types administration > [% IF ( noItemTypeImages ) %] > <li><span class="label">Image: </span>Item type images are disabled. To enable them, turn off the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noItemTypeImages">noItemTypeImages system preference</a></li></ol> > [% ELSE %]</ol> >- <div id="icons" class="toptabs"> >+ <div id="icons" class="toptabs" style="clear:both"> > <h5 style="margin-left:10px;">Choose an icon:</h5> > <ul> >- <li><a href="/cgi-bin/koha/admin/itemtypes.pl#none">None</a></li> >+ <li><a href="#none">None</a></li> > [% FOREACH imageset IN imagesets %] >- [% IF ( imageset.imagesetactive ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/admin/itemtypes.pl#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a></li> >+ [% IF ( imageset.imagesetactive ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="#[% imageset.imagesetname %]">[% imageset.imagesetname %]</a></li> > [% END %] >- [% IF ( remote_image ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/admin/itemtypes.pl#remote">Remote image</a></li> >+ [% IF ( remote_image ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="#remote">Remote image</a></li> > </ul> >- </div> > <div id="none"><ul> > <li><label for="noimage">No image: </label><input type="radio" name="image" id="noimage" value="removeImage" /></li> > </ul> > <br class="clear" /></div> >- >+ > [% FOREACH imageset IN imagesets %] > <div id="[% imageset.imagesetname %]"><ul> > [% FOREACH image IN imageset.images %] >@@ -225,6 +225,7 @@ Item types administration > <br class="clear" /> > </div> > [% END %] >+</div> > <ol> > <li> > <label for="notforloan">Not for loan</label> [% IF ( notforloan ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >index fc01b87..6938348 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >@@ -6,7 +6,7 @@ > //<![CDATA[ > > $(document).ready(function() { >- $('#subfieldtabs > ul').tabs(); >+ $('#subfieldtabs').tabs(); > $("a.displaymore").click(function(){ > var link = $(this); > var constraints = $("#"+$(this).attr("href").replace("#","")); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >index 6512360..3753bd2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >@@ -8,7 +8,7 @@ > > var fields_in_use = {}; > $(document).ready(function() { >- $('#authoritytabs > ul').tabs(); >+ $('#authoritytabs').tabs(); > $('.tag').each(function() { > var field_id = this.getAttribute('id').substring(0, 7); > if (field_id in fields_in_use) { >@@ -592,9 +592,9 @@ function searchauthority() { > <div id="authoritytabs" class="toptabs numbered"> > <ul> [% FOREACH BIG_LOO IN BIG_LOOP %] > <li>[% IF ( BIG_LOO.number ) %] >- <a href="/cgi-bin/authorities/authorties.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> >+ <a href="#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> > [% ELSE %] >- <a href="/cgi-bin/authorities/authorties.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> >+ <a href="#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> > [% END %]</li> > [% END %]</ul> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >index 6b36351..e21f846 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >@@ -12,7 +12,7 @@ > //<![CDATA[ > > $(document).ready(function() { >- $('#authoritiestabs>ul').tabs(); >+ $('#authoritiestabs').tabs(); > }); > > function confirm_deletion() { >@@ -131,7 +131,7 @@ function searchauthority() { > <ul> > [% FOREACH BIG_LOO IN BIG_LOOP %] > <li> >- <a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> >+ <a href="#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> > </li> > [% END %] > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt >index 62ae572..8495c60 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt >@@ -11,7 +11,7 @@ > //<![CDATA[ > > $(document).ready(function() { >- $('#bibliotabs > ul').tabs(); >+ $('#bibliotabs').tabs(); > }); > > function Changefwk(FwkList) { >@@ -65,37 +65,37 @@ function Changefwk(FwkList) { > <div id="bibliotabs" class="toptabs numbered"> > <ul> > [% IF ( tab0XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab0XX">0</a></li> >+ <li><a href="#tab0XX">0</a></li> > [% END %] > [% IF ( tab1XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab1XX">1</a></li> >+ <li><a href="#tab1XX">1</a></li> > [% END %] > [% IF ( tab2XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab2XX">2</a></li> >+ <li><a href="#tab2XX">2</a></li> > [% END %] > [% IF ( tab3XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab3XX">3</a></li> >+ <li><a href="#tab3XX">3</a></li> > [% END %] > [% IF ( tab4XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab4XX">4</a></li> >+ <li><a href="#tab4XX">4</a></li> > [% END %] > [% IF ( tab5XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab5XX">5</a></li> >+ <li><a href="#tab5XX">5</a></li> > [% END %] > [% IF ( tab6XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab6XX">6</a></li> >+ <li><a href="#tab6XX">6</a></li> > [% END %] > [% IF ( tab7XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab7XX">7</a></li> >+ <li><a href="#tab7XX">7</a></li> > [% END %] > [% IF ( tab8XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab8XX">8</a></li> >+ <li><a href="#tab8XX">8</a></li> > [% END %] > [% IF ( tab9XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab9XX">9</a></li> >+ <li><a href="#tab9XX">9</a></li> > [% END %] > [% IF ( tab10XX ) %] >- <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl#tab10XX">Item(s)</a></li> >+ <li><a href="#tab10XX">Item(s)</a></li> > [% END %] > </ul> > <div id="tab0XX"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 2ea2737..43560d0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -15,7 +15,7 @@ > } > $(document).ready(function() { > $("input[name=q]:eq(0)").focus(); >- $('#advsearches > ul').tabs(); >+ $('#advsearches').tabs(); > }); > </script> > </head> >@@ -100,7 +100,7 @@ > <ul> > [% FOREACH advsearchloo IN advancedsearchesloop %] > <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]"> >- <a href="/cgi-bin/koha/opac-search.pl#advsearch-[% advsearchloo.advanced_search_type %]"> >+ <a href="#advsearch-[% advsearchloo.advanced_search_type %]"> > [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item type > [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection > [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving location >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index c92a891..ca2fd1e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -36,7 +36,7 @@ function verify_images() { > }); > } > $(document).ready(function() { >- $('#bibliodetails > ul').tabs(); >+ $('#bibliodetails').tabs(); > }); > [% IF ( AmazonEnabled ) %]$(window).load(function() { > verify_images(); >@@ -255,12 +255,12 @@ function verify_images() { > <div id="bibliodetails" class="toptabs"> > > <ul> >-<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#holdings">Holdings</a></li> >-<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#description">Descriptions</a></li> >-[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %] >-[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %] >-[% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related titles</a></li>[% END %] >-[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li>[% END %][% END %] >+<li><a href="#holdings">Holdings</a></li> >+<li><a href="#description">Descriptions</a></li> >+[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] >+[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] >+[% IF ( AmazonSimilarItems ) %]<li><a href="#related">Related titles</a></li>[% END %] >+[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] > </ul> > > <div id="holdings"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index a9e9841..f934fbe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -8,7 +8,7 @@ > > var fields_in_use = {}; > $(document).ready(function() { >- $('#addbibliotabs > ul').tabs().bind('show.ui-tabs', function(e, ui) { >+ $('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) { > $("#"+ui.panel.id+" input:eq(0)").focus(); > }); > $('.tag').each(function() { >@@ -39,7 +39,7 @@ > > }); > >- $('#header_search > ul').tabs().bind('show.ui-tabs', function(e, ui) { $('#header_search > div:not(.ui-tabs-hide)').find('input').eq(0).focus(); }); >+ $('#header_search').tabs().bind('show.ui-tabs', function(e, ui) { $('#header_search > div:not(.ui-tabs-hide)').find('input').eq(0).focus(); }); > > > function confirmnotdup(redirect){ >@@ -804,9 +804,9 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ? > <div id="addbibliotabs" class="toptabs numbered"> > <ul>[% FOREACH BIG_LOO IN BIG_LOOP %] > <li> [% IF ( BIG_LOO.number ) %] >- <a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> >+ <a href="#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> > [% ELSE %] >- <a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> >+ <a href="#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a> > [% END %]</li> > [% END %]</ul> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt >index 745680c..9c910ec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt >@@ -19,7 +19,7 @@ div#result { margin-top: 1em; } > > $(document).ready(function(){ > // Creating tabs >- $("#tabs > ul").tabs(); >+ $("#tabs").tabs(); > > // Getting marc structure via ajax > tagslib = []; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 6877737..64ca686 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -15,7 +15,7 @@ > });[% END %] > [% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] > $(document).ready(function() { >- $('#patronlists > ul').tabs(); >+ $('#patronlists').tabs(); > [% IF ( UseTablesortForCirc ) %]$.tablesorter.defaults.widgets = ['zebra']; > $("#issuest").tablesorter({[% IF ( dateformat_metric ) %] > dateFormat: 'uk',[% END %] >@@ -677,17 +677,17 @@ No patron matched <span class="ex">[% message %]</span> > > <ul> > <li> [% IF ( issuecount ) %] >- <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">[% issuecount %] Checkout(s)</a> >+ <a href="#checkouts">[% issuecount %] Checkout(s)</a> > [% ELSE %] >- <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a> >+ <a href="#checkouts">0 Checkouts</a> > [% END %]</li> > [% IF ( displayrelissues ) %] >-<li><a href="/cgi-bin/koha/circ/circulation.pl#relissues">Relatives' checkouts</a></li> >+<li><a href="#relissues">Relatives' checkouts</a></li> > [% END %] > <li>[% IF ( countreserv ) %] >- <a href="/cgi-bin/koha/circ/circulation.pl#reserves">[% countreserv %] Hold(s)</a> >+ <a href="#reserves">[% countreserv %] Hold(s)</a> > [% ELSE %] >- <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a> >+ <a href="#reserves">0 Holds</a> > [% END %]</li> > > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt >index f4b4d4c..0101d7f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt >@@ -11,7 +11,7 @@ $.tablesorter.addParser({ > type: 'text' > }); > $(document).ready(function() { >- $('#resultlist > ul').tabs(); >+ $('#resultlist').tabs(); > $("th a").hide(); > $.tablesorter.defaults.widgets = ['zebra']; > $("#holdst,#holdso").tablesorter({[% IF ( dateformat == 'metric' ) %] >@@ -69,8 +69,8 @@ $.tablesorter.addParser({ > [% ELSE %] > <div id="resultlist" class="toptabs"> > <ul> >- <li><a href="/cgi-bin/koha/circ/waitingreserves.pl#holdswaiting">[% reservecount %] Hold(s) waiting</a></li> >- <li><a href="/cgi-bin/koha/circ/waitingreserves.pl#holdsover">[% overcount %] Hold(s) over</a></li> >+ <li><a href="#holdswaiting">[% reservecount %] Hold(s) waiting</a></li> >+ <li><a href="#holdsover">[% overcount %] Hold(s) over</a></li> > </ul> > <div id="holdswaiting"> > [% IF ( reserveloop ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 995ea8c..5b5d581 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -17,9 +17,9 @@ > <form action="/cgi-bin/koha/members/boraccount.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form> > > <!-- The manual invoice and credit buttons --> >-<div class="toptabs"> >-<ul class="ui-tabs-nav"> >- <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Account</a></li> >+<div class="statictabs"> >+<ul> >+ <li class="active"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Account</a></li> > <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" >Pay fines</a></li> > <li><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li> > <li><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrowernumber %]" >Create manual credit</a></li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >index 2a965ae..8b71856 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >@@ -23,12 +23,12 @@ $(document).ready(function(){ > [% INCLUDE 'members-toolbar.inc' %] > > <!-- The manual invoice and credit buttons --> >-<div class="toptabs"> >-<ul class="ui-tabs-nav"> >+<div class="statictabs"> >+<ul> > <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Account</a></li> > <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" >Pay fines</a></li> > <li><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li> >- <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrowernumber %]" >Create manual credit</a></li> >+ <li class="active"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrowernumber %]" >Create manual credit</a></li> > </ul> > <div class="tabs-container"> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >index c4f3142..217882e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >@@ -23,11 +23,11 @@ $(document).ready(function(){ > [% INCLUDE 'members-toolbar.inc' %] > > <!-- The manual invoice and credit buttons --> >-<div class="toptabs"> >-<ul class="ui-tabs-nav"> >+<div class="statictabs"> >+<ul> > <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Account</a></li> > <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" >Pay fines</a></li> >- <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li> >+ <li class="active"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li> > <li><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrowernumber %]" >Create manual credit</a></li> > </ul> > <div class="tabs-container"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 9ff94ae..0c5d9e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -20,7 +20,7 @@ $.tablesorter.addParser({ > type: 'text' > }); > $(document).ready(function() { >- $('#finesholdsissues > ul').tabs(); >+ $('#finesholdsissues').tabs(); > $.tablesorter.defaults.widgets = ['zebra']; > $("#issuest").tablesorter({[% IF ( dateformat_metric ) %] > dateFormat: 'uk',[% END %] >@@ -409,16 +409,15 @@ function validate1(date) { > </div> > > <div id="finesholdsissues" class="toptabs"> >- <ul> >- <li><a href="/cgi-bin/koha/members/moremember.pl#checkedout">[% issueloop.size %] Checkout(s)</a></li> >+ <ul> >+ <li><a href="#checkedout">[% issueloop.size %] Checkout(s)</a></li> > [% IF relissueloop.size %] >- <li><a href="/cgi-bin/koha/members/moremember.pl#relissues">Relatives' Checkouts</a></li> >+ <li><a href="#relissues">Relatives' Checkouts</a></li> > [% END %] >- <li><a href="/cgi-bin/koha/members/moremember.pl#finesandcharges">Fines & Charges</a></li> >- <li>[% IF ( countreserv ) %] >- <a href="/cgi-bin/koha/members/moremember.pl#onhold">[% countreserv %] Hold(s)</a> >- [% ELSE %] >- <a href="/cgi-bin/koha/members/moremember.pl#onhold">0 Holds</a> >+ <li><a href="#finesandcharges">Fines & Charges</a></li> >+ <li>[% IF ( countreserv ) %] >+ <a href="#onhold">[% countreserv %] Hold(s)</a> [% ELSE %] >+ <a href="#onhold">0 Holds</a> > [% END %]</li> > </ul> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >index fb06325..4c1b362 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -28,10 +28,10 @@ > [% INCLUDE 'members-toolbar.inc' borrowernumber=borrower.borrowernumber %] > > <!-- The manual invoice and credit buttons --> >-<div class="toptabs"> >-<ul class="ui-tabs-nav"> >+<div class="statictabs"> >+<ul> > <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrower.borrowernumber %]">Account</a></li> >- <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrower.borrowernumber %]" >Pay fines</a></li> >+ <li class="active"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrower.borrowernumber %]" >Pay fines</a></li> > <li><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrower.borrowernumber %]" >Create manual invoice</a></li> > <li><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrower.borrowernumber %]" >Create manual credit</a></li> > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >index d5102cc..3461e8a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -68,12 +68,12 @@ function moneyFormat(textObj) { > > > <!-- The manual invoice and credit buttons --> >-<div class="toptabs"> >-<ul class="ui-tabs-nav"> >+<div class="statictabs"> >+<ul> > <li> > <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrower.borrowernumber %]">Account</a> > </li> >- <li class="ui-tabs-selected"> >+ <li class="active"> > <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrower.borrowernumber %]" >Pay fines</a> > </li> > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt >index 515e388..b609d83 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt >@@ -18,10 +18,10 @@ > <h1>Comments</h1> > > <!-- The manual invoice and credit buttons --> >-<div class="toptabs"> >-<ul class="ui-tabs-nav"> >- [% IF ( status ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?status=1">Approved comments</a></li> >- [% IF ( status ) %]<li>[% ELSE %]<li class="ui-tabs-selected">[% END %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl" >Comments awaiting moderation</a></li> >+<div class="statictabs"> >+<ul> >+ [% IF ( status ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?status=1">Approved comments</a></li> >+ [% IF ( status ) %]<li>[% ELSE %]<li class="active">[% END %]<a href="/cgi-bin/koha/reviews/reviewswaiting.pl" >Comments awaiting moderation</a></li> > </ul> > <div class="tabs-container"> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index a478461..23b496b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -41,7 +41,7 @@ function generateNext(subscriptionid) { > } > > $(document).ready(function() { >- $('#subscription_years > ul').tabs(); >+ $('#subscription_years').tabs(); > }); > > >@@ -179,7 +179,7 @@ $(document).ready(function() { > <ul> > [% FOREACH year IN years %] > [% IF ( year.year ) %] >- <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% year.subscriptionid %]#subscription-year-[% year.year %]">[% year.year %]</a></li> >+ <li><a href="#subscription-year-[% year.year %]">[% year.year %]</a></li> > [% END %] > [% END %] > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index 93e28d4..d2ded73 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -33,7 +33,7 @@ function popup(subscriptionid) { > newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes'); > } > $(document).ready(function() { >- $("#subscription_description > ul").tabs(); >+ $("#subscription_description").tabs(); > $("#renewsub").click(function(){ > popup([% subscriptionid %]); > return false; >@@ -82,10 +82,10 @@ $(document).ready(function() { > > <div id="subscription_description" class="toptabs"> > <ul class="ui-tabs-nav"> >- <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_info">Information</a></li> >- <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_planning">Planning</a></li> >- <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_issues">Issues</a></li> >- <li><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]#subscription_summary">Summary</a></li> >+ <li><a href="#subscription_info">Information</a></li> >+ <li><a href="#subscription_planning">Planning</a></li> >+ <li><a href="#subscription_issues">Issues</a></li> >+ <li><a href="#subscription_summary">Summary</a></li> > </ul> > > <div id="subscription_info"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 4a92f85..9bce8c7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -40,7 +40,7 @@ function displayOther(id,show,hide){ > } > $(document).ready(function() { > yuiToolbar(); >- $('#suggestiontabs > ul').tabs({ >+ $('#suggestiontabs').tabs({ > select: function(ui) { > $("#loadingtab").show(); > }, >@@ -329,7 +329,7 @@ $(document).ready(function() { calcNewsuggTotal(); }); > <div id="suggestiontabs" class="toptabs"> > <ul class="ui-tabs-nav"> > [% FOREACH suggestion IN suggestions %] >-[% IF ( suggestion.first ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="suggestion.pl#[% suggestion.suggestiontype %]">[% IF ( suggestion.suggestiontypelabel ) %] >+[% IF ( suggestion.first ) %]<li class="ui-tabs-selected">[% ELSE %]<li>[% END %]<a href="#[% suggestion.suggestiontype %]">[% IF ( suggestion.suggestiontypelabel ) %] > [% IF (suggestion.suggestiontypelabel == "Pending") %]Pending > [% ELSIF (suggestion.suggestiontypelabel == "Accepted") %]Accepted > [% ELSIF (suggestion.suggestiontypelabel == "Checked") %]Checked >@@ -340,7 +340,6 @@ $(document).ready(function() { calcNewsuggTotal(); }); > [% ELSE %]No name[% END %] ([% suggestion.suggestionscount %])</a></li> > [% END %] > </ul> >- </div> > [% END %] > > [% FOREACH suggestion IN suggestions %] >@@ -431,6 +430,7 @@ $(document).ready(function() { calcNewsuggTotal(); }); > [% END %] > </div> > [% END %] >+ </div> > [% END %] > </div> > </div> >@@ -458,7 +458,7 @@ $(document).ready(function() { calcNewsuggTotal(); }); > </fieldset> > <fieldset class="brief"><h4 class="collapse"><a href="#">Suggestion information</a></h4> > <ol> >- <li><label for="status"> Status:</label><select name="STATUS" id="STATUS"><option value="">Any</option> >+ <li><label for="STATUS"> Status:</label><select name="STATUS" id="STATUS"><option value="">Any</option> > [% IF (statusselected_ASKED ) %]<option value="ASKED" selected="selected">Pending</option> > [% ELSE %]<option value="ASKED">Pending</option>[% END %] > [% IF (statusselected_ACCEPTED ) %]<option value="ACCEPTED" selected="selected">Accepted</option> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >index 242e7f9..74624ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >@@ -6,7 +6,7 @@ function reloadPage(p) { > if (id != 0) { document.location = "/cgi-bin/koha/tools/csv-profiles.pl?id=" + id; } > } > $(document).ready(function() { >- $('#csvexporttabs > ul').tabs(); >+ $('#csvexporttabs').tabs(); > }); > //]]> > </script> >@@ -39,14 +39,14 @@ function reloadPage(p) { > [% END %] > <div id="csvexporttabs" class="toptabs"> > <ul> >- <li><a href="csv-profiles.pl#csvnew">New profile</a></li> >+ <li><a href="#csvnew">New profile</a></li> > [% IF ( existing_profiles ) %] > [% IF ( selected_profile_id ) %] > <li class="ui-tabs-selected"> > [% ELSE %] > <li> > [% END %] >- <a href="csv-profiles.pl#csvedit">Edit existing profile</a></li> [% END %] >+ <a href="#csvedit">Edit existing profile</a></li> [% END %] > </ul> > <div id="csvnew"> > <h3>New CSV export profile</h3> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >index 29a23db..12b53c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >@@ -9,7 +9,7 @@ $(document).ready(function() { > $('#branch').change(function() { > $('#selectlibrary').submit(); > }); >- $('#rulestabs > ul').tabs(); >+ $('#rulestabs').tabs(); > }); > //]]> > </script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 179e2c4..0c71a41 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -1,5 +1,5 @@ > [% INCLUDE 'doc-head-open.inc' %] >-<title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]lists[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › Edit list [% shelfname | html %][% END %]</title> >+<title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]Lists[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › Edit list [% shelfname | html %][% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > <script type="text/javascript"> >@@ -360,23 +360,23 @@ function placeHold () { > > [% UNLESS ( vseflag ) %] > <h2>Lists</h2> >- <div class="toptabs"> >- <ul class="ui-tabs-nav"> >+ <div class="statictabs"> >+ <ul> > [% IF ( showprivateshelves ) %] >- <li id="privateshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li> >+ <li id="privateshelves_tab" class="active"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li> > [% ELSE %] > <li id="privateshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li> > [% END %] > [% IF ( showpublicshelves ) %] >- <li id="publicshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li> >+ <li id="publicshelves_tab" class="active"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li> > [% ELSE %] > <li id="publicshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li> > [% END %] > </ul> > [% IF ( showprivateshelves ) %] >- <div id="privateshelves" class="ui-tabs-panel" style="display:block;"> >+ <div id="privateshelves" class="tabs-container" style="display:block;"> > [% ELSE %] >- <div id="privateshelves" class="ui-tabs-panel" style="display:none;"> >+ <div id="privateshelves" class="tabs-container" style="display:none;"> > [% END %] > [% IF ( shelveslooppriv ) %] > <div class="pages">[% pagination_bar %]</div> >@@ -426,9 +426,9 @@ function placeHold () { > </div><!-- /privateshelves --> > > [% IF ( showpublicshelves ) %] >- <div id="publicshelves" class="ui-tabs-panel" style="display:block;"> >+ <div id="publicshelves" class="tabs-container" style="display:block;"> > [% ELSE %] >- <div id="publicshelves" class="ui-tabs-panel" style="display:none;"> >+ <div id="publicshelves" class="tabs-container" style="display:none;"> > [% END %] > [% IF ( shelvesloop ) %] > <div class="pages">[% pagination_bar %]</div> >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 5612ef2..6223025 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -5,7 +5,10 @@ a { > font-weight : bold; > } > >-a, a:visited { >+a, >+a:visited, >+.ui-widget-content a, >+.ui-widget-content a:visited { > color : #006699; > } > >@@ -1949,31 +1952,6 @@ span.starMT { > top : auto; > } > >-ul.ui-tabs-nav li { >- margin-right : .5em; >-} >- >-ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a { >- background-color : #F3F3F3; >- border-top : 1px solid #E8E8E8; >- border-left : 1px solid #E8E8E8; >- border-right : 1px solid #E8E8E8; >- border-bottom : 0; >- padding : .2em 1em; >- text-align : center; >- text-decoration : none; >-} >- >-ul.ui-tabs-nav li.ui-tabs-selected a, ul.ui-tabs-nav li.ui-tabs-selected span.a { >- background-color : #FFF; >- border-top : 1px solid #E8E8E8; >- border-left : 1px solid #E8E8E8; >- border-right : 1px solid #E8E8E8; >- border-bottom : 1px solid #FFF; >- margin-bottom : -5px; >- text-align : center; >-} >- > #views { > border-bottom : 1px solid #E8E8E8; > margin-bottom : .5em; >@@ -2452,6 +2430,161 @@ span.sep { > margin: 5px; > } > >+/* jQuery UI standard tabs */ >+.ui-tabs-nav .ui-tabs-selected a, >+.ui-tabs-nav a:hover, >+.ui-tabs-nav a:focus, >+.ui-tabs-nav a:active, >+.ui-tabs-nav span.a { >+ background: none repeat scroll 0 0 transparent; >+ outline: 0 none; >+} >+ >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { >+ background-color : #FFF; >+ border : 1px solid #D8D8D8; >+} >+ >+.ui-widget, >+.ui-widget input, >+.ui-widget select, >+.ui-widget textarea, >+.ui-widget button { >+ font-family : inherit; >+ font-size : inherit; >+} >+ul.ui-tabs-nav li { >+ list-style : none; >+} >+.ui-tabs.ui-widget-content { >+ background : transparent none; >+ border : 0; >+} >+ >+.ui-tabs .ui-tabs-panel { >+ border : 1px solid #D8D8D8; >+} >+.ui-tabs-nav.ui-widget-header { >+ border : 0; >+ background : none; >+} >+.ui-tabs .ui-tabs-nav li { >+ background: #F3F3F3 none; >+ border: 1px solid #D8D8D8; >+ margin-right : .4em; >+} >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { >+ color : #000; >+ font-weight : bold; >+} >+ >+.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-hover { >+ background : #F3F3F3 none; >+} >+ >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected.ui-state-hover { >+ background : #FFF none; >+} >+ >+.ui-tabs .ui-state-default a, >+.ui-tabs .ui-state-default a:link, >+.ui-tabs .ui-state-default a:visited { >+ color: #006699; >+} >+ >+.ui-tabs .ui-state-hover a, >+.ui-tabs .ui-state-hover a:link, >+.ui-tabs .ui-state-hover a:visited { >+ color: #990033; >+} >+ >+.statictabs ul { >+ background: none repeat scroll 0 0 transparent; >+ border: 0 none; >+ margin: 0; >+ padding: 0.2em 0.2em 0; >+ border-bottom-right-radius: 4px; >+ border-bottom-left-radius: 4px; >+ border-top-right-radius: 4px; >+ border-top-left-radius: 4px; >+ color: #222222; >+ font-weight: bold; >+ font-size: 100%; >+ line-height: 1.3; >+ list-style: none outside none; >+ outline: 0 none; >+ text-decoration: none; >+} >+ >+.statictabs ul:after { >+ clear: both; >+} >+ >+.statictabs ul:before, >+.statictabs ul:after { >+ content: ""; >+ display: table; >+} >+ >+.statictabs ul li { >+ background: none repeat scroll 0 0 #E6F0F2; >+ border: 1px solid #B9D8D9; >+ border-bottom: 0 none !important; >+ border-top-right-radius: 4px; >+ border-top-left-radius: 4px; >+ float: left; >+ list-style: none outside none; >+ margin-bottom: 0; >+ margin-right: 0.4em; >+ padding: 0; >+ position: relative; >+ white-space: nowrap; >+ top: 1px; >+ color: #555555; >+ font-weight: normal; >+ >+} >+ >+.statictabs ul li.active { >+ background-color: #FFFFFF; >+ color: #212121; >+ font-weight: normal; >+ padding-bottom: 1px; >+} >+ >+.statictabs ul li a { >+ color: #004D99; >+ cursor: pointer; >+ float: left; >+ padding: 0.5em 1em; >+ text-decoration: none; >+} >+ >+.statictabs ul li a:hover { >+ background-color : #EDF4F5; >+ border-top-right-radius: 4px; >+ border-top-left-radius: 4px; >+ color : #538200; >+} >+ >+.statictabs ul li.active a { >+ color: #000000; >+ font-weight: bold; >+ cursor: text; >+ background: none repeat scroll 0 0 transparent; >+ outline: 0 none; >+} >+ >+.statictabs .tabs-container { >+ border: 1px solid #B9D8D9; >+ background: none repeat scroll 0 0 transparent; >+ display: block; >+ padding: 1em 1.4em; >+ border-bottom-right-radius: 4px; >+ border-bottom-left-radius: 4px; >+ color: #222222; >+} >+ > /* ## BABELTHEQUE ## */ > /* Uncomment if babeltheque configuration no contains these lines */ > /* >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc >index 53a43c1..8634cfd 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc >@@ -2,6 +2,7 @@ > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> > <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" /> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/jquery-ui.css" /> > [% IF ( opacstylesheet ) %]<link rel="stylesheet" type="text/css" href="[% opacstylesheet %]" />[% ELSE %] > [% IF ( opaclayoutstylesheet ) %]<link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% opaclayoutstylesheet %]" />[% ELSE %]<link rel="stylesheet" type="text/css" href="[% themelang %]/css/opac.css" />[% END %][% END %] > [% IF ( opaccolorstylesheet ) %] >@@ -14,14 +15,13 @@ > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% opac_css_override %]" /> > [% END %] > <link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" /> >-<link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/plugins/ui.tabs.css" /> > [% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %] > <!-- yui js --> > <script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script> > <script type="text/javascript" src="[% yuipath %]/container/container-min.js"></script> > <script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script> >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/ui.tabs.js"></script> >+<script type="text/javascript" src="[% themelang %]/lib/jquery/jquery-ui.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.hoverIntent.minified.js"></script> > <script type="text/javascript" language="javascript" src="[% themelang %]/js/script.js"></script> > [% IF ( OPACAmazonCoverImages ) %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.css b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.css >new file mode 100644 >index 0000000..e6b47dc >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.css >@@ -0,0 +1,357 @@ >+/*! >+ * jQuery UI CSS Framework 1.8.20 >+ * >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * http://docs.jquery.com/UI/Theming/API >+ */ >+ >+/* Layout helpers >+----------------------------------*/ >+.ui-helper-hidden { display: none; } >+.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } >+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } >+.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } >+.ui-helper-clearfix:after { clear: both; } >+.ui-helper-clearfix { zoom: 1; } >+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } >+ >+ >+/* Interaction Cues >+----------------------------------*/ >+.ui-state-disabled { cursor: default !important; } >+ >+ >+/* Icons >+----------------------------------*/ >+ >+/* states and images */ >+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } >+ >+ >+/* Misc visuals >+----------------------------------*/ >+ >+/* Overlays */ >+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } >+ >+ >+/*! >+ * jQuery UI CSS Framework 1.8.20 >+ * >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * http://docs.jquery.com/UI/Theming/API >+ * >+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px >+ */ >+ >+ >+/* Component containers >+----------------------------------*/ >+.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } >+.ui-widget .ui-widget { font-size: 1em; } >+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } >+.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } >+.ui-widget-content a { color: #222222; } >+.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } >+.ui-widget-header a { color: #222222; } >+ >+/* Interaction states >+----------------------------------*/ >+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; } >+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; } >+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } >+.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; } >+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } >+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; } >+.ui-widget :active { outline: none; } >+ >+/* Interaction Cues >+----------------------------------*/ >+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } >+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } >+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } >+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } >+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } >+.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } >+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } >+.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } >+ >+/* Icons >+----------------------------------*/ >+ >+/* states and images */ >+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } >+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } >+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } >+.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } >+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } >+.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } >+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } >+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } >+ >+/* positioning */ >+.ui-icon-carat-1-n { background-position: 0 0; } >+.ui-icon-carat-1-ne { background-position: -16px 0; } >+.ui-icon-carat-1-e { background-position: -32px 0; } >+.ui-icon-carat-1-se { background-position: -48px 0; } >+.ui-icon-carat-1-s { background-position: -64px 0; } >+.ui-icon-carat-1-sw { background-position: -80px 0; } >+.ui-icon-carat-1-w { background-position: -96px 0; } >+.ui-icon-carat-1-nw { background-position: -112px 0; } >+.ui-icon-carat-2-n-s { background-position: -128px 0; } >+.ui-icon-carat-2-e-w { background-position: -144px 0; } >+.ui-icon-triangle-1-n { background-position: 0 -16px; } >+.ui-icon-triangle-1-ne { background-position: -16px -16px; } >+.ui-icon-triangle-1-e { background-position: -32px -16px; } >+.ui-icon-triangle-1-se { background-position: -48px -16px; } >+.ui-icon-triangle-1-s { background-position: -64px -16px; } >+.ui-icon-triangle-1-sw { background-position: -80px -16px; } >+.ui-icon-triangle-1-w { background-position: -96px -16px; } >+.ui-icon-triangle-1-nw { background-position: -112px -16px; } >+.ui-icon-triangle-2-n-s { background-position: -128px -16px; } >+.ui-icon-triangle-2-e-w { background-position: -144px -16px; } >+.ui-icon-arrow-1-n { background-position: 0 -32px; } >+.ui-icon-arrow-1-ne { background-position: -16px -32px; } >+.ui-icon-arrow-1-e { background-position: -32px -32px; } >+.ui-icon-arrow-1-se { background-position: -48px -32px; } >+.ui-icon-arrow-1-s { background-position: -64px -32px; } >+.ui-icon-arrow-1-sw { background-position: -80px -32px; } >+.ui-icon-arrow-1-w { background-position: -96px -32px; } >+.ui-icon-arrow-1-nw { background-position: -112px -32px; } >+.ui-icon-arrow-2-n-s { background-position: -128px -32px; } >+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } >+.ui-icon-arrow-2-e-w { background-position: -160px -32px; } >+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } >+.ui-icon-arrowstop-1-n { background-position: -192px -32px; } >+.ui-icon-arrowstop-1-e { background-position: -208px -32px; } >+.ui-icon-arrowstop-1-s { background-position: -224px -32px; } >+.ui-icon-arrowstop-1-w { background-position: -240px -32px; } >+.ui-icon-arrowthick-1-n { background-position: 0 -48px; } >+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } >+.ui-icon-arrowthick-1-e { background-position: -32px -48px; } >+.ui-icon-arrowthick-1-se { background-position: -48px -48px; } >+.ui-icon-arrowthick-1-s { background-position: -64px -48px; } >+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } >+.ui-icon-arrowthick-1-w { background-position: -96px -48px; } >+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } >+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } >+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } >+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } >+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } >+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } >+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } >+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } >+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } >+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } >+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } >+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } >+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } >+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } >+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } >+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } >+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } >+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } >+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } >+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } >+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } >+.ui-icon-arrow-4 { background-position: 0 -80px; } >+.ui-icon-arrow-4-diag { background-position: -16px -80px; } >+.ui-icon-extlink { background-position: -32px -80px; } >+.ui-icon-newwin { background-position: -48px -80px; } >+.ui-icon-refresh { background-position: -64px -80px; } >+.ui-icon-shuffle { background-position: -80px -80px; } >+.ui-icon-transfer-e-w { background-position: -96px -80px; } >+.ui-icon-transferthick-e-w { background-position: -112px -80px; } >+.ui-icon-folder-collapsed { background-position: 0 -96px; } >+.ui-icon-folder-open { background-position: -16px -96px; } >+.ui-icon-document { background-position: -32px -96px; } >+.ui-icon-document-b { background-position: -48px -96px; } >+.ui-icon-note { background-position: -64px -96px; } >+.ui-icon-mail-closed { background-position: -80px -96px; } >+.ui-icon-mail-open { background-position: -96px -96px; } >+.ui-icon-suitcase { background-position: -112px -96px; } >+.ui-icon-comment { background-position: -128px -96px; } >+.ui-icon-person { background-position: -144px -96px; } >+.ui-icon-print { background-position: -160px -96px; } >+.ui-icon-trash { background-position: -176px -96px; } >+.ui-icon-locked { background-position: -192px -96px; } >+.ui-icon-unlocked { background-position: -208px -96px; } >+.ui-icon-bookmark { background-position: -224px -96px; } >+.ui-icon-tag { background-position: -240px -96px; } >+.ui-icon-home { background-position: 0 -112px; } >+.ui-icon-flag { background-position: -16px -112px; } >+.ui-icon-calendar { background-position: -32px -112px; } >+.ui-icon-cart { background-position: -48px -112px; } >+.ui-icon-pencil { background-position: -64px -112px; } >+.ui-icon-clock { background-position: -80px -112px; } >+.ui-icon-disk { background-position: -96px -112px; } >+.ui-icon-calculator { background-position: -112px -112px; } >+.ui-icon-zoomin { background-position: -128px -112px; } >+.ui-icon-zoomout { background-position: -144px -112px; } >+.ui-icon-search { background-position: -160px -112px; } >+.ui-icon-wrench { background-position: -176px -112px; } >+.ui-icon-gear { background-position: -192px -112px; } >+.ui-icon-heart { background-position: -208px -112px; } >+.ui-icon-star { background-position: -224px -112px; } >+.ui-icon-link { background-position: -240px -112px; } >+.ui-icon-cancel { background-position: 0 -128px; } >+.ui-icon-plus { background-position: -16px -128px; } >+.ui-icon-plusthick { background-position: -32px -128px; } >+.ui-icon-minus { background-position: -48px -128px; } >+.ui-icon-minusthick { background-position: -64px -128px; } >+.ui-icon-close { background-position: -80px -128px; } >+.ui-icon-closethick { background-position: -96px -128px; } >+.ui-icon-key { background-position: -112px -128px; } >+.ui-icon-lightbulb { background-position: -128px -128px; } >+.ui-icon-scissors { background-position: -144px -128px; } >+.ui-icon-clipboard { background-position: -160px -128px; } >+.ui-icon-copy { background-position: -176px -128px; } >+.ui-icon-contact { background-position: -192px -128px; } >+.ui-icon-image { background-position: -208px -128px; } >+.ui-icon-video { background-position: -224px -128px; } >+.ui-icon-script { background-position: -240px -128px; } >+.ui-icon-alert { background-position: 0 -144px; } >+.ui-icon-info { background-position: -16px -144px; } >+.ui-icon-notice { background-position: -32px -144px; } >+.ui-icon-help { background-position: -48px -144px; } >+.ui-icon-check { background-position: -64px -144px; } >+.ui-icon-bullet { background-position: -80px -144px; } >+.ui-icon-radio-off { background-position: -96px -144px; } >+.ui-icon-radio-on { background-position: -112px -144px; } >+.ui-icon-pin-w { background-position: -128px -144px; } >+.ui-icon-pin-s { background-position: -144px -144px; } >+.ui-icon-play { background-position: 0 -160px; } >+.ui-icon-pause { background-position: -16px -160px; } >+.ui-icon-seek-next { background-position: -32px -160px; } >+.ui-icon-seek-prev { background-position: -48px -160px; } >+.ui-icon-seek-end { background-position: -64px -160px; } >+.ui-icon-seek-start { background-position: -80px -160px; } >+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ >+.ui-icon-seek-first { background-position: -80px -160px; } >+.ui-icon-stop { background-position: -96px -160px; } >+.ui-icon-eject { background-position: -112px -160px; } >+.ui-icon-volume-off { background-position: -128px -160px; } >+.ui-icon-volume-on { background-position: -144px -160px; } >+.ui-icon-power { background-position: 0 -176px; } >+.ui-icon-signal-diag { background-position: -16px -176px; } >+.ui-icon-signal { background-position: -32px -176px; } >+.ui-icon-battery-0 { background-position: -48px -176px; } >+.ui-icon-battery-1 { background-position: -64px -176px; } >+.ui-icon-battery-2 { background-position: -80px -176px; } >+.ui-icon-battery-3 { background-position: -96px -176px; } >+.ui-icon-circle-plus { background-position: 0 -192px; } >+.ui-icon-circle-minus { background-position: -16px -192px; } >+.ui-icon-circle-close { background-position: -32px -192px; } >+.ui-icon-circle-triangle-e { background-position: -48px -192px; } >+.ui-icon-circle-triangle-s { background-position: -64px -192px; } >+.ui-icon-circle-triangle-w { background-position: -80px -192px; } >+.ui-icon-circle-triangle-n { background-position: -96px -192px; } >+.ui-icon-circle-arrow-e { background-position: -112px -192px; } >+.ui-icon-circle-arrow-s { background-position: -128px -192px; } >+.ui-icon-circle-arrow-w { background-position: -144px -192px; } >+.ui-icon-circle-arrow-n { background-position: -160px -192px; } >+.ui-icon-circle-zoomin { background-position: -176px -192px; } >+.ui-icon-circle-zoomout { background-position: -192px -192px; } >+.ui-icon-circle-check { background-position: -208px -192px; } >+.ui-icon-circlesmall-plus { background-position: 0 -208px; } >+.ui-icon-circlesmall-minus { background-position: -16px -208px; } >+.ui-icon-circlesmall-close { background-position: -32px -208px; } >+.ui-icon-squaresmall-plus { background-position: -48px -208px; } >+.ui-icon-squaresmall-minus { background-position: -64px -208px; } >+.ui-icon-squaresmall-close { background-position: -80px -208px; } >+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } >+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } >+.ui-icon-grip-solid-vertical { background-position: -32px -224px; } >+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } >+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } >+.ui-icon-grip-diagonal-se { background-position: -80px -224px; } >+ >+ >+/* Misc visuals >+----------------------------------*/ >+ >+/* Corner radius */ >+.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } >+.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } >+.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } >+.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } >+ >+/* Overlays */ >+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } >+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! >+ * jQuery UI Autocomplete 1.8.20 >+ * >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * http://docs.jquery.com/UI/Autocomplete#theming >+ */ >+.ui-autocomplete { position: absolute; cursor: default; } >+ >+/* workarounds */ >+* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ >+ >+/* >+ * jQuery UI Menu 1.8.20 >+ * >+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * http://docs.jquery.com/UI/Menu#theming >+ */ >+.ui-menu { >+ list-style:none; >+ padding: 2px; >+ margin: 0; >+ display:block; >+ float: left; >+} >+.ui-menu .ui-menu { >+ margin-top: -3px; >+} >+.ui-menu .ui-menu-item { >+ margin:0; >+ padding: 0; >+ zoom: 1; >+ float: left; >+ clear: left; >+ width: 100%; >+} >+.ui-menu .ui-menu-item a { >+ text-decoration:none; >+ display:block; >+ padding:.2em .4em; >+ line-height:1.5; >+ zoom:1; >+} >+.ui-menu .ui-menu-item a.ui-state-hover, >+.ui-menu .ui-menu-item a.ui-state-active { >+ font-weight: normal; >+ margin: -1px; >+} >+/*! >+ * jQuery UI Tabs 1.8.20 >+ * >+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * http://docs.jquery.com/UI/Tabs#theming >+ */ >+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ >+.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } >+.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } >+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } >+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } >+.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ >+.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } >+.ui-tabs .ui-tabs-hide { display: none !important; } >diff --git a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.js b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.js >new file mode 100644 >index 0000000..789014a >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.js >@@ -0,0 +1,25 @@ >+/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.core.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;return!b.href||!g||f.nodeName.toLowerCase()!=="map"?!1:(h=a("img[usemap=#"+g+"]")[0],!!h&&d(h))}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};if(a.ui.version)return;a.extend(a.ui,{version:"1.8.20",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;return a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0),/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)}),c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){return c===b?g["inner"+d].call(this):this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){return typeof b!="number"?g["outer"+d].call(this,b):this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!d||!a.element[0].parentNode)return;for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css("overflow")==="hidden")return!1;var d=c&&c==="left"?"scrollLeft":"scrollTop",e=!1;return b[d]>0?!0:(b[d]=1,e=b[d]>0,b[d]=0,e)},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}})})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.widget.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler("remove")}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){return c||(!b||a.filter(b,[this]).length)&&a("*",this).add([this]).each(function(){try{a(this).triggerHandler("remove")}catch(b){}}),d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1],f=e+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&&this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e=="string",g=Array.prototype.slice.call(arguments,1),h=this;return e=!f&&g.length?a.extend.apply(null,[!0,e].concat(g)):e,f&&e.charAt(0)==="_"?h:(f?this.each(function(){var d=a.data(this,c),f=d&&a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&&f!==b)return h=f,!1}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))}),h)}},a.Widget=function(a,b){arguments.length&&this._createWidget(a,b)},a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c=="string"){if(d===b)return this.options[c];e={},e[c]=d}return this._setOptions(e),this},_setOptions:function(b){var c=this;return a.each(b,function(a,b){c._setOption(a,b)}),this},_setOption:function(a,b){return this.options[a]=b,a==="disabled"&&this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);return this.element.trigger(c,d),!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.mouse.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+".preventClickEvent"))return a.removeData(c.target,b.widgetName+".preventClickEvent"),c.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(b){if(c)return;this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel=="string"&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted)return b.preventDefault(),!0}return!0===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0,!0},_mouseMove:function(b){return!a.browser.msie||document.documentMode>=9||!!b.button?this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted):this._mouseUp(b)},_mouseUp:function(b){return a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b)),!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.position.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;return i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]==="right"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]==="bottom"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1],this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,"marginLeft",!0))||0,i=parseInt(a.curCSS(this,"marginTop",!0))||0,o=d+h+(parseInt(a.curCSS(this,"marginRight",!0))||0),p=g+i+(parseInt(a.curCSS(this,"marginBottom",!0))||0),q=a.extend({},n),r;b.my[0]==="right"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]==="bottom"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each(["left","top"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]===e)return;var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,h=c.at[0]==="left"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0},top:function(b,c){if(c.at[1]===e)return;var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,h=c.at[1]==="top"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,"position"))&&(b.style.position="relative");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,"top",!0),10)||0,g=parseInt(a.curCSS(b,"left",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};"using"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];return!c||!c.ownerDocument?null:b?this.each(function(){a.offset.setOffset(this,b)}):h.call(this)}),function(){var b=document.getElementsByTagName("body")[0],c=document.createElement("div"),d,e,g,h,i;d=document.createElement(b?"div":"body"),g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},b&&a.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML="",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()})(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.autocomplete.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){var c=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.isMultiLine=this.element.is("textarea"),this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(b.options.disabled||b.element.propAttr("readOnly"))return;d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move("previousPage",c);break;case e.PAGE_DOWN:b._move("nextPage",c);break;case e.UP:b._keyEvent("previous",c);break;case e.DOWN:b._keyEvent("next",c);break;case e.ENTER:case e.NUMPAD_ENTER:b.menu.active&&(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&&(b.selectedItem=null,b.search(null,c))},b.options.delay)}}).bind("keypress.autocomplete",function(a){d&&(d=!1,a.preventDefault())}).bind("focus.autocomplete",function(){if(b.options.disabled)return;b.selectedItem=null,b.previous=b.element.val()}).bind("blur.autocomplete",function(a){if(b.options.disabled)return;clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150)}),this._initSource(),this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(c){c.target!==b.element[0]&&c.target!==d&&!a.ui.contains(d,c.target)&&b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data("item.autocomplete");!1!==b._trigger("focus",a,{item:d})&&/^key/.test(a.originalEvent.type)&&b.element.val(d.value)},selected:function(a,d){var e=d.item.data("item.autocomplete"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger("select",a,{item:e})&&b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(":visible")&&b.element.val()!==b.term&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),a.fn.bgiframe&&this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr("autocomplete")},a(window).bind("beforeunload",b.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),a(window).unbind("beforeunload",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==="source"&&this._initSource(),b==="appendTo"&&this.menu.element.appendTo(a(c||"body",this.element[0].ownerDocument)[0]),b==="disabled"&&c&&this.xhr&&this.xhr.abort()},_initSource:function(){var b=this,c,d;a.isArray(this.options.source)?(c=this.options.source,this.source=function(b,d){d(a.ui.autocomplete.filter(c,b.term))}):typeof this.options.source=="string"?(d=this.options.source,this.source=function(c,e){b.xhr&&b.xhr.abort(),b.xhr=a.ajax({url:d,data:c,dataType:"json",success:function(a,b){e(a)},error:function(){e([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)===!1)return;return this._search(a)},_search:function(a){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.source({term:a},this._response())},_response:function(){var a=this,b=++c;return function(d){b===c&&a.__response(d),a.pending--,a.pending||a.element.removeClass("ui-autocomplete-loading")}},__response:function(a){!this.options.disabled&&a&&a.length?(a=this._normalize(a),this._suggest(a),this._trigger("open")):this.close()},close:function(a){clearTimeout(this.closing),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",a))},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(b){return b.length&&b[0].label&&b[0].value?b:a.map(b,function(b){return typeof b=="string"?{label:b,value:b}:a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(new a.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a("<li></li>").data("item.autocomplete",c).append(a("<a></a>").text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(":visible")){this.search(null,b);return}if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)},widget:function(){return this.menu.element},_keyEvent:function(a,b){if(!this.isMultiLine||this.menu.element.is(":visible"))this._move(a,b),b.preventDefault()}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),"i");return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})})(jQuery),function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){if(!a(c.target).closest(".ui-menu-item a").length)return;c.preventDefault(),b.select(c)}),this.refresh()},refresh:function(){var b=this,c=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");c.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this.element.scrollTop(d+c):c>=e&&this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",a,{item:b})},deactivate:function(){if(!this.active)return;this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,c){if(!this.active){this.activate(c,this.element.children(b));return}var d=this.active[a+"All"](".ui-menu-item").eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(".ui-menu-item:first"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:last")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(".ui-menu-item:last"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(".ui-menu-item:first")),this.activate(b,e)}else this.activate(b,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?"prop":"attr"]("scrollHeight")},select:function(a){this._trigger("selected",a,{item:this.active})}})}(jQuery);;/*! jQuery UI - v1.8.20 - 2012-04-30 >+* https://github.com/jquery/jquery-ui >+* Includes: jquery.ui.tabs.js >+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */ >+(function(a,b){function e(){return++c}function f(){return++d}var c=0,d=0;a.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading…</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(!0)},_setOption:function(a,b){if(a=="selected"){if(this.options.collapsible&&b==this.options.selected)return;this.select(b)}else this.options[a]=b,this._tabify()},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+e()},_sanitizeSelector:function(a){return a.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+f());return a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=a(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function m(b,c){b.css("display",""),!a.support.opacity&&c.opacity&&b[0].style.removeAttribute("filter")}var d=this,e=this.options,f=/^#.+/;this.list=this.element.find("ol,ul").eq(0),this.lis=a(" > li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return a("a",this)[0]}),this.panels=a([]),this.anchors.each(function(b,c){var g=a(c).attr("href"),h=g.split("#")[0],i;h&&(h===location.toString().split("#")[0]||(i=a("base")[0])&&h===i.href)&&(g=c.hash,c.href=g);if(f.test(g))d.panels=d.panels.add(d.element.find(d._sanitizeSelector(g)));else if(g&&g!=="#"){a.data(c,"href.tabs",g),a.data(c,"load.tabs",g.replace(/#.*$/,""));var j=d._tabId(c);c.href="#"+j;var k=d.element.find("#"+j);k.length||(k=a(e.panelTemplate).attr("id",j).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(d.panels[b-1]||d.list),k.data("destroy.tabs",!0)),d.panels=d.panels.add(k)}else e.disabled.push(b)}),c?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),e.selected===b?(location.hash&&this.anchors.each(function(a,b){if(b.hash==location.hash)return e.selected=a,!1}),typeof e.selected!="number"&&e.cookie&&(e.selected=parseInt(d._cookie(),10)),typeof e.selected!="number"&&this.lis.filter(".ui-tabs-selected").length&&(e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),e.selected=e.selected||(this.lis.length?0:-1)):e.selected===null&&(e.selected=-1),e.selected=e.selected>=0&&this.anchors[e.selected]||e.selected<0?e.selected:0,e.disabled=a.unique(e.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(a,b){return d.lis.index(a)}))).sort(),a.inArray(e.selected,e.disabled)!=-1&&e.disabled.splice(a.inArray(e.selected,e.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),e.selected>=0&&this.anchors.length&&(d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(e.selected).addClass("ui-tabs-selected ui-state-active"),d.element.queue("tabs",function(){d._trigger("show",null,d._ui(d.anchors[e.selected],d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash))[0]))}),this.load(e.selected)),a(window).bind("unload",function(){d.lis.add(d.anchors).unbind(".tabs"),d.lis=d.anchors=d.panels=null})):e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),this.element[e.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),e.cookie&&this._cookie(e.selected,e.cookie);for(var g=0,h;h=this.lis[g];g++)a(h)[a.inArray(g,e.disabled)!=-1&&!a(h).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");e.cache===!1&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs");if(e.event!=="mouseover"){var i=function(a,b){b.is(":not(.ui-state-disabled)")&&b.addClass("ui-state-"+a)},j=function(a,b){b.removeClass("ui-state-"+a)};this.lis.bind("mouseover.tabs",function(){i("hover",a(this))}),this.lis.bind("mouseout.tabs",function(){j("hover",a(this))}),this.anchors.bind("focus.tabs",function(){i("focus",a(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){j("focus",a(this).closest("li"))})}var k,l;e.fx&&(a.isArray(e.fx)?(k=e.fx[0],l=e.fx[1]):k=l=e.fx);var n=l?function(b,c){a(b).closest("li").addClass("ui-tabs-selected ui-state-active"),c.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){m(c,l),d._trigger("show",null,d._ui(b,c[0]))})}:function(b,c){a(b).closest("li").addClass("ui-tabs-selected ui-state-active"),c.removeClass("ui-tabs-hide"),d._trigger("show",null,d._ui(b,c[0]))},o=k?function(a,b){b.animate(k,k.duration||"normal",function(){d.lis.removeClass("ui-tabs-selected ui-state-active"),b.addClass("ui-tabs-hide"),m(b,k),d.element.dequeue("tabs")})}:function(a,b,c){d.lis.removeClass("ui-tabs-selected ui-state-active"),b.addClass("ui-tabs-hide"),d.element.dequeue("tabs")};this.anchors.bind(e.event+".tabs",function(){var b=this,c=a(b).closest("li"),f=d.panels.filter(":not(.ui-tabs-hide)"),g=d.element.find(d._sanitizeSelector(b.hash));if(c.hasClass("ui-tabs-selected")&&!e.collapsible||c.hasClass("ui-state-disabled")||c.hasClass("ui-state-processing")||d.panels.filter(":animated").length||d._trigger("select",null,d._ui(this,g[0]))===!1)return this.blur(),!1;e.selected=d.anchors.index(this),d.abort();if(e.collapsible){if(c.hasClass("ui-tabs-selected"))return e.selected=-1,e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue("tabs",function(){o(b,f)}).dequeue("tabs"),this.blur(),!1;if(!f.length)return e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue("tabs",function(){n(b,g)}),d.load(d.anchors.index(this)),this.blur(),!1}e.cookie&&d._cookie(e.selected,e.cookie);if(g.length)f.length&&d.element.queue("tabs",function(){o(b,f)}),d.element.queue("tabs",function(){n(b,g)}),d.load(d.anchors.index(this));else throw"jQuery UI Tabs: Mismatching fragment identifier.";a.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function(a){return typeof a=="string"&&(a=this.anchors.index(this.anchors.filter("[href$='"+a+"']"))),a},destroy:function(){var b=this.options;return this.abort(),this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.anchors.each(function(){var b=a.data(this,"href.tabs");b&&(this.href=b);var c=a(this).unbind(".tabs");a.each(["href","load","cache"],function(a,b){c.removeData(b+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){a.data(this,"destroy.tabs")?a(this).remove():a(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),b.cookie&&this._cookie(null,b.cookie),this},add:function(c,d,e){e===b&&(e=this.anchors.length);var f=this,g=this.options,h=a(g.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),i=c.indexOf("#")?this._tabId(a("a",h)[0]):c.replace("#","");h.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0);var j=f.element.find("#"+i);return j.length||(j=a(g.panelTemplate).attr("id",i).data("destroy.tabs",!0)),j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),e>=this.lis.length?(h.appendTo(this.list),j.appendTo(this.list[0].parentNode)):(h.insertBefore(this.lis[e]),j.insertBefore(this.panels[e])),g.disabled=a.map(g.disabled,function(a,b){return a>=e?++a:a}),this._tabify(),this.anchors.length==1&&(g.selected=0,h.addClass("ui-tabs-selected ui-state-active"),j.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[e],this.panels[e])),this},remove:function(b){b=this._getIndex(b);var c=this.options,d=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();return d.hasClass("ui-tabs-selected")&&this.anchors.length>1&&this.select(b+(b+1<this.anchors.length?1:-1)),c.disabled=a.map(a.grep(c.disabled,function(a,c){return a!=b}),function(a,c){return a>=b?--a:a}),this._tabify(),this._trigger("remove",null,this._ui(d.find("a")[0],e[0])),this},enable:function(b){b=this._getIndex(b);var c=this.options;if(a.inArray(b,c.disabled)==-1)return;return this.lis.eq(b).removeClass("ui-state-disabled"),c.disabled=a.grep(c.disabled,function(a,c){return a!=b}),this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b])),this},disable:function(a){a=this._getIndex(a);var b=this,c=this.options;return a!=c.selected&&(this.lis.eq(a).addClass("ui-state-disabled"),c.disabled.push(a),c.disabled.sort(),this._trigger("disable",null,this._ui(this.anchors[a],this.panels[a]))),this},select:function(a){a=this._getIndex(a);if(a==-1)if(this.options.collapsible&&this.options.selected!=-1)a=this.options.selected;else return this;return this.anchors.eq(a).trigger(this.options.event+".tabs"),this},load:function(b){b=this._getIndex(b);var c=this,d=this.options,e=this.anchors.eq(b)[0],f=a.data(e,"load.tabs");this.abort();if(!f||this.element.queue("tabs").length!==0&&a.data(e,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(b).addClass("ui-state-processing");if(d.spinner){var g=a("span",e);g.data("label.tabs",g.html()).html(d.spinner)}return this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:f,success:function(f,g){c.element.find(c._sanitizeSelector(e.hash)).html(f),c._cleanup(),d.cache&&a.data(e,"cache.tabs",!0),c._trigger("load",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f,g){c._cleanup(),c._trigger("load",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.error(a,f,b,e)}catch(g){}}})),c.element.dequeue("tabs"),this},abort:function(){return this.element.queue([]),this.panels.stop(!1,!0),this.element.queue("tabs",this.element.queue("tabs").splice(-2,2)),this.xhr&&(this.xhr.abort(),delete this.xhr),this._cleanup(),this},url:function(a,b){return this.anchors.eq(a).removeData("cache.tabs").data("load.tabs",b),this},length:function(){return this.anchors.length}}),a.extend(a.ui.tabs,{version:"1.8.20"}),a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(a,b){var c=this,d=this.options,e=c._rotate||(c._rotate=function(b){clearTimeout(c.rotation),c.rotation=setTimeout(function(){var a=d.selected;c.select(++a<c.anchors.length?a:0)},a),b&&b.stopPropagation()}),f=c._unrotate||(c._unrotate=b?function(a){e()}:function(a){a.clientX&&c.rotate(null)});return a?(this.element.bind("tabsshow",e),this.anchors.bind(d.event+".tabs",f),e()):(clearTimeout(c.rotation),this.element.unbind("tabsshow",e),this.anchors.unbind(d.event+".tabs",f),delete this._rotate,delete this._unrotate),this}})})(jQuery);; >\ No newline at end of file >diff --git a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.css b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.css >deleted file mode 100644 >index 34bd5fb..0000000 >--- a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.css >+++ /dev/null >@@ -1,80 +0,0 @@ >-/* Caution! Ensure accessibility in print and other media types... */ >-@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */ >- .ui-tabs-hide { >- display: none; >- } >-} >- >-/* Hide useless elements in print layouts... */ >-@media print { >- .ui-tabs-nav { >- display: none; >- } >-} >- >-/* Skin */ >-.ui-tabs-nav, .ui-tabs-panel { >-} >-.ui-tabs-nav { >- list-style: none; >-} >-.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */ >- display: block; >- clear: both; >- content: " "; >-} >-.ui-tabs-nav li { >- float: left; >- list-style-type : none; >-} >-.ui-tabs-nav a, .ui-tabs-nav a span { >- float: left; /* fixes dir=ltr problem and other quirks IE */ >- } >-.ui-tabs-nav a { >- margin: 0; /* position: relative makes opacity fail for disabled tab in IE */ >- white-space: nowrap; /* @ IE 6 */ >- outline: 0; /* @ Firefox, prevent dotted border after click */ >-} >-.ui-tabs-nav a:link, .ui-tabs-nav a:visited { >-} >-.ui-tabs-nav .ui-tabs-selected a { >- } >-.ui-tabs-nav a span { >- padding-top: 1px; >- padding-right: 0; >- height: 20px; >- line-height: 20px; >-} >-.ui-tabs-nav .ui-tabs-selected a span { >- padding-top: 0; >- height: 20px; >- line-height: 20px; >-} >-.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, >-.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */ >- cursor: text; >-} >-.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active, >-.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */ >- cursor: pointer; >-} >-.ui-tabs-disabled { >- opacity: .4; >- filter: alpha(opacity=40); >-} >-.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { >- color: #000; >-} >-.ui-tabs-panel { >- border: 1px solid #E8E8E8; >- padding : 1em; >- background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */ >-} >- >-/* Additional IE specific bug fixes... */ >-* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */ >- display: inline-block; >-} >-*:first-child+html .ui-tabs-nav { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */ >- display: inline-block; >-} >\ No newline at end of file >diff --git a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.js b/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.js >deleted file mode 100644 >index 672bfb2..0000000 >--- a/koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.js >+++ /dev/null >@@ -1,517 +0,0 @@ >-/* >- * Tabs 3 - New Wave Tabs >- * >- * Copyright (c) 2007 Klaus Hartl (stilbuero.de) >- * Dual licensed under the MIT (MIT-LICENSE.txt) >- * and GPL (GPL-LICENSE.txt) licenses. >- * >- * http://docs.jquery.com/UI/Tabs >- */ >- >-(function($) { >- >- // if the UI scope is not availalable, add it >- $.ui = $.ui || {}; >- >- // tabs API methods >- $.fn.tabs = function() { >- var method = typeof arguments[0] == 'string' && arguments[0]; >- var args = method && Array.prototype.slice.call(arguments, 1) || arguments; >- >- return this.each(function() { >- if (method) { >- var tabs = $.data(this, 'ui-tabs'); >- tabs[method].apply(tabs, args); >- } else >- new $.ui.tabs(this, args[0] || {}); >- }); >- }; >- >- // tabs class >- $.ui.tabs = function(el, options) { >- var self = this; >- >- this.element = el; >- >- this.options = $.extend({ >- >- // basic setup >- selected: 0, >- unselect: options.selected === null, >- event: 'click', >- disabled: [], >- cookie: null, // pass options object as expected by cookie plugin: { expires: 7, path: '/', domain: 'jquery.com', secure: true } >- // TODO bookmarkable: $.ajaxHistory ? true : false, >- >- // Ajax >- spinner: 'Loading…', >- cache: false, >- idPrefix: 'ui-tabs-', >- ajaxOptions: {}, >- >- // animations >- fx: null, /* e.g. { height: 'toggle', opacity: 'toggle', duration: 200 } */ >- >- // templates >- tabTemplate: '<li><a href="#{href}"><span>#{label}</span></a></li>', >- panelTemplate: '<div></div>', >- >- // CSS classes >- navClass: 'ui-tabs-nav', >- selectedClass: 'ui-tabs-selected', >- unselectClass: 'ui-tabs-unselect', >- disabledClass: 'ui-tabs-disabled', >- panelClass: 'ui-tabs-panel', >- hideClass: 'ui-tabs-hide', >- loadingClass: 'ui-tabs-loading' >- >- }, options); >- >- this.options.event += '.ui-tabs'; // namespace event >- this.options.cookie = $.cookie && $.cookie.constructor == Function && this.options.cookie; >- >- $(el).bind('setData.ui-tabs', function(event, key, value) { >- self.options[key] = value; >- this.tabify(); >- }).bind('getData.ui-tabs', function(event, key) { >- return self.options[key]; >- }); >- >- // save instance for later >- $.data(el, 'ui-tabs', this); >- >- // create tabs >- this.tabify(true); >- }; >- >- // instance methods >- $.extend($.ui.tabs.prototype, { >- tabId: function(a) { >- return a.title && a.title.replace(/\s/g, '_').replace(/[^A-Za-z0-9\-_:\.]/g, '') >- || this.options.idPrefix + $.data(a); >- }, >- ui: function(tab, panel) { >- return { >- instance: this, >- options: this.options, >- tab: tab, >- panel: panel >- }; >- }, >- tabify: function(init) { >- >- this.$lis = $('li:has(a[href])', this.element); >- this.$tabs = this.$lis.map(function() { return $('a', this)[0]; }); >- this.$panels = $([]); >- >- var self = this, o = this.options; >- >- this.$tabs.each(function(i, a) { >- // inline tab >- if (a.hash && a.hash.replace('#', '')) // Safari 2 reports '#' for an empty hash >- self.$panels = self.$panels.add(a.hash); >- // remote tab >- else if ($(a).attr('href') != '#') { // prevent loading the page itself if href is just "#" >- $.data(a, 'href.ui-tabs', a.href); // required for restore on destroy >- $.data(a, 'load.ui-tabs', a.href); // mutable >- var id = self.tabId(a); >- a.href = '#' + id; >- var $panel = $('#' + id); >- if (!$panel.length) { >- $panel = $(o.panelTemplate).attr('id', id).addClass(o.panelClass) >- .insertAfter( self.$panels[i - 1] || self.element ); >- $panel.data('destroy.ui-tabs', true); >- } >- self.$panels = self.$panels.add( $panel ); >- } >- // invalid tab href >- else >- o.disabled.push(i + 1); >- }); >- >- if (init) { >- >- // attach necessary classes for styling if not present >- $(this.element).hasClass(o.navClass) || $(this.element).addClass(o.navClass); >- this.$panels.each(function() { >- var $this = $(this); >- $this.hasClass(o.panelClass) || $this.addClass(o.panelClass); >- }); >- >- // disabled tabs >- for (var i = 0, index; index = o.disabled[i]; i++) >- this.disable(index); >- >- // Try to retrieve selected tab: >- // 1. from fragment identifier in url if present >- // 2. from cookie >- // 3. from selected class attribute on <li> >- // 4. otherwise use given "selected" option >- // 5. check if tab is disabled >- this.$tabs.each(function(i, a) { >- if (location.hash) { >- if (a.hash == location.hash) { >- o.selected = i; >- // prevent page scroll to fragment >- //if (($.browser.msie || $.browser.opera) && !o.remote) { >- if ($.browser.msie || $.browser.opera) { >- var $toShow = $(location.hash), toShowId = $toShow.attr('id'); >- $toShow.attr('id', ''); >- setTimeout(function() { >- $toShow.attr('id', toShowId); // restore id >- }, 500); >- } >- scrollTo(0, 0); >- return false; // break >- } >- } else if (o.cookie) { >- var index = parseInt($.cookie('ui-tabs' + $.data(self.element)),10); >- if (index && self.$tabs[index]) { >- o.selected = index; >- return false; // break >- } >- } else if ( self.$lis.eq(i).hasClass(o.selectedClass) ) { >- o.selected = i; >- return false; // break >- } >- }); >- var n = this.$lis.length; >- while (this.$lis.eq(o.selected).hasClass(o.disabledClass) && n) { >- o.selected = ++o.selected < this.$lis.length ? o.selected : 0; >- n--; >- } >- if (!n) // all tabs disabled, set option unselect to true >- o.unselect = true; >- >- // highlight selected tab >- this.$panels.addClass(o.hideClass); >- this.$lis.removeClass(o.selectedClass); >- if (!o.unselect) { >- this.$panels.eq(o.selected).show().removeClass(o.hideClass); // use show and remove class to show in any case no matter how it has been hidden before >- this.$lis.eq(o.selected).addClass(o.selectedClass); >- } >- >- // load if remote tab >- var href = !o.unselect && $.data(this.$tabs[o.selected], 'load.ui-tabs'); >- if (href) >- this.load(o.selected, href); >- >- // disable click if event is configured to something else >- if (!(/^click/).test(o.event)) >- this.$tabs.bind('click', function(e) { e.preventDefault(); }); >- >- } >- >- var hideFx, showFx, baseFx = { 'min-width': 0, duration: 1 }, baseDuration = 'normal'; >- if (o.fx && o.fx.constructor == Array) >- hideFx = o.fx[0] || baseFx, showFx = o.fx[1] || baseFx; >- else >- hideFx = showFx = o.fx || baseFx; >- >- // reset some styles to maintain print style sheets etc. >- var resetCSS = { display: '', overflow: '', height: '' }; >- if (!$.browser.msie) // not in IE to prevent ClearType font issue >- resetCSS.opacity = ''; >- >- // Hide a tab, animation prevents browser scrolling to fragment, >- // $show is optional. >- function hideTab(clicked, $hide, $show) { >- $hide.animate(hideFx, hideFx.duration || baseDuration, function() { // >- $hide.addClass(o.hideClass).css(resetCSS); // maintain flexible height and accessibility in print etc. >- if ($.browser.msie && hideFx.opacity) >- $hide[0].style.filter = ''; >- if ($show) >- showTab(clicked, $show, $hide); >- }); >- } >- >- // Show a tab, animation prevents browser scrolling to fragment, >- // $hide is optional. >- function showTab(clicked, $show, $hide) { >- if (showFx === baseFx) >- $show.css('display', 'block'); // prevent occasionally occuring flicker in Firefox cause by gap between showing and hiding the tab panels >- $show.animate(showFx, showFx.duration || baseDuration, function() { >- $show.removeClass(o.hideClass).css(resetCSS); // maintain flexible height and accessibility in print etc. >- if ($.browser.msie && showFx.opacity) >- $show[0].style.filter = ''; >- >- // callback >- $(self.element).triggerHandler("show.ui-tabs", [self.ui(clicked, $show[0])]); >- >- }); >- } >- >- // switch a tab >- function switchTab(clicked, $li, $hide, $show) { >- /*if (o.bookmarkable && trueClick) { // add to history only if true click occured, not a triggered click >- $.ajaxHistory.update(clicked.hash); >- }*/ >- $li.addClass(o.selectedClass) >- .siblings().removeClass(o.selectedClass); >- hideTab(clicked, $hide, $show); >- } >- >- // attach tab event handler, unbind to avoid duplicates from former tabifying... >- this.$tabs.unbind(o.event).bind(o.event, function() { >- >- //var trueClick = e.clientX; // add to history only if true click occured, not a triggered click >- var $li = $(this).parents('li:eq(0)'), >- $hide = self.$panels.filter(':visible'), >- $show = $(this.hash); >- >- // If tab is already selected and not unselectable or tab disabled or click callback returns false stop here. >- // Check if click handler returns false last so that it is not executed for a disabled tab! >- if (($li.hasClass(o.selectedClass) && !o.unselect) || $li.hasClass(o.disabledClass) >- || $(self.element).triggerHandler("select.ui-tabs", [self.ui(this, $show[0])]) === false) { >- this.blur(); >- return false; >- } >- >- self.options.selected = self.$tabs.index(this); >- >- // if tab may be closed >- if (o.unselect) { >- if ($li.hasClass(o.selectedClass)) { >- self.options.selected = null; >- $li.removeClass(o.selectedClass); >- self.$panels.stop(); >- hideTab(this, $hide); >- this.blur(); >- return false; >- } else if (!$hide.length) { >- self.$panels.stop(); >- var a = this; >- self.load(self.$tabs.index(this), function() { >- $li.addClass(o.selectedClass).addClass(o.unselectClass); >- showTab(a, $show); >- }); >- this.blur(); >- return false; >- } >- } >- >- if (o.cookie) >- $.cookie('ui-tabs' + $.data(self.element), self.options.selected, o.cookie); >- >- // stop possibly running animations >- self.$panels.stop(); >- >- // show new tab >- if ($show.length) { >- >- // prevent scrollbar scrolling to 0 and than back in IE7, happens only if bookmarking/history is enabled >- /*if ($.browser.msie && o.bookmarkable) { >- var showId = this.hash.replace('#', ''); >- $show.attr('id', ''); >- setTimeout(function() { >- $show.attr('id', showId); // restore id >- }, 0); >- }*/ >- >- var a = this; >- self.load(self.$tabs.index(this), function() { >- switchTab(a, $li, $hide, $show); >- }); >- >- // Set scrollbar to saved position - need to use timeout with 0 to prevent browser scroll to target of hash >- /*var scrollX = window.pageXOffset || document.documentElement && document.documentElement.scrollLeft || document.body.scrollLeft || 0; >- var scrollY = window.pageYOffset || document.documentElement && document.documentElement.scrollTop || document.body.scrollTop || 0; >- setTimeout(function() { >- scrollTo(scrollX, scrollY); >- }, 0);*/ >- >- } else >- throw 'jQuery UI Tabs: Mismatching fragment identifier.'; >- >- // Prevent IE from keeping other link focussed when using the back button >- // and remove dotted border from clicked link. This is controlled in modern >- // browsers via CSS, also blur removes focus from address bar in Firefox >- // which can become a usability and annoying problem with tabsRotate. >- if ($.browser.msie) >- this.blur(); >- >- //return o.bookmarkable && !!trueClick; // convert trueClick == undefined to Boolean required in IE >- return false; >- >- }); >- >- }, >- add: function(url, label, index) { >- if (url && label) { >- index = index || this.$tabs.length; // append by default >- >- var o = this.options; >- var $li = $(o.tabTemplate.replace(/#\{href\}/, url).replace(/#\{label\}/, label)); >- $li.data('destroy.ui-tabs', true); >- >- var id = url.indexOf('#') == 0 ? url.replace('#', '') : this.tabId( $('a:first-child', $li)[0] ); >- >- // try to find an existing element before creating a new one >- var $panel = $('#' + id); >- if (!$panel.length) { >- $panel = $(o.panelTemplate).attr('id', id) >- .addClass(o.panelClass).addClass(o.hideClass); >- $panel.data('destroy.ui-tabs', true); >- } >- if (index >= this.$lis.length) { >- $li.appendTo(this.element); >- $panel.appendTo(this.element.parentNode); >- } else { >- $li.insertBefore(this.$lis[index]); >- $panel.insertBefore(this.$panels[index]); >- } >- >- this.tabify(); >- >- if (this.$tabs.length == 1) { >- $li.addClass(o.selectedClass); >- $panel.removeClass(o.hideClass); >- var href = $.data(this.$tabs[0], 'load.ui-tabs'); >- if (href) >- this.load(index, href); >- } >- >- // callback >- $(this.element).triggerHandler("add.ui-tabs", >- [this.ui(this.$tabs[index], this.$panels[index])] >- ); >- >- } else >- throw 'jQuery UI Tabs: Not enough arguments to add tab.'; >- }, >- remove: function(index) { >- if (index && index.constructor == Number) { >- var o = this.options, $li = this.$lis.eq(index).remove(), >- $panel = this.$panels.eq(index).remove(); >- >- // If selected tab was removed focus tab to the right or >- // tab to the left if last tab was removed. >- if ($li.hasClass(o.selectedClass) && this.$tabs.length > 1) >- this.click(index + (index < this.$tabs.length ? 1 : -1)); >- this.tabify(); >- >- // callback >- $(this.element).triggerHandler("remove.ui-tabs", >- [this.ui($li.find('a')[0], $panel[0])] >- ); >- >- } >- }, >- enable: function(index) { >- var self = this, o = this.options, $li = this.$lis.eq(index); >- $li.removeClass(o.disabledClass); >- if ($.browser.safari) { // fix disappearing tab (that used opacity indicating disabling) after enabling in Safari 2... >- $li.css('display', 'inline-block'); >- setTimeout(function() { >- $li.css('display', 'block'); >- }, 0); >- } >- >- o.disabled = $.map(this.$lis.filter('.' + o.disabledClass), >- function(n, i) { return self.$lis.index(n); } ); >- >- // callback >- $(this.element).triggerHandler("enable.ui-tabs", >- [this.ui(this.$tabs[index], this.$panels[index])] >- ); >- >- }, >- disable: function(index) { >- var self = this, o = this.options; >- this.$lis.eq(index).addClass(o.disabledClass); >- >- o.disabled = $.map(this.$lis.filter('.' + o.disabledClass), >- function(n, i) { return self.$lis.index(n); } ); >- >- // callback >- $(this.element).triggerHandler("disable.ui-tabs", >- [this.ui(this.$tabs[index], this.$panels[index])] >- ); >- >- }, >- select: function(index) { >- if (typeof index == 'string') >- index = this.$tabs.index( this.$tabs.filter('[href$=' + index + ']')[0] ); >- this.$tabs.eq(index).trigger(this.options.event); >- }, >- load: function(index, callback) { // callback is for internal usage only >- var self = this, o = this.options, >- $a = this.$tabs.eq(index), a = $a[0]; >- >- var url = $a.data('load.ui-tabs'); >- >- // no remote - just finish with callback >- if (!url) { >- typeof callback == 'function' && callback(); >- return; >- } >- >- // load remote from here on >- if (o.spinner) { >- var $span = $('span', a), label = $span.html(); >- $span.html('<em>' + o.spinner + '</em>'); >- } >- var finish = function() { >- self.$tabs.filter('.' + o.loadingClass).each(function() { >- $(this).removeClass(o.loadingClass); >- if (o.spinner) >- $('span', this).html(label); >- }); >- self.xhr = null; >- }; >- var ajaxOptions = $.extend({}, o.ajaxOptions, { >- url: url, >- success: function(r, s) { >- $(a.hash).html(r); >- finish(); >- // This callback is required because the switch has to take >- // place after loading has completed. >- typeof callback == 'function' && callback(); >- >- if (o.cache) >- $.removeData(a, 'load.ui-tabs'); // if loaded once do not load them again >- >- // callback >- $(self.element).triggerHandler("load.ui-tabs", >- [self.ui(self.$tabs[index], self.$panels[index])] >- ); >- >- o.ajaxOptions.success && o.ajaxOptions.success(r, s); >- } >- }); >- if (this.xhr) { >- // terminate pending requests from other tabs and restore tab label >- this.xhr.abort(); >- finish(); >- } >- $a.addClass(o.loadingClass); >- setTimeout(function() { // timeout is again required in IE, "wait" for id being restored >- self.xhr = $.ajax(ajaxOptions); >- }, 0); >- >- }, >- url: function(index, url) { >- this.$tabs.eq(index).data('load.ui-tabs', url); >- }, >- destroy: function() { >- var o = this.options; >- $(this.element).unbind('.ui-tabs') >- .removeClass(o.navClass).removeData('ui-tabs'); >- this.$tabs.each(function() { >- var href = $.data(this, 'href.ui-tabs'); >- if (href) >- this.href = href; >- $(this).unbind('.ui-tabs') >- .removeData('href.ui-tabs').removeData('load.ui-tabs'); >- }); >- this.$lis.add(this.$panels).each(function() { >- if ($.data(this, 'destroy.ui-tabs')) >- $(this).remove(); >- else >- $(this).removeClass([o.selectedClass, o.unselectClass, >- o.disabledClass, o.panelClass, o.hideClass].join(' ')); >- }); >- } >- }); >- >-})(jQuery); >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tt >index 35f1895..5be6ac3 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tt >@@ -2,9 +2,6 @@ > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/JavaScript" language="JavaScript"> > //<![CDATA[ >- $(document).ready(function() { >- $('#bibliodescriptions > ul').tabs(); >- }); > YAHOO.util.Event.onContentReady("furtherm", function () { > $("#furtherm").css("display","block").css("visibility","hidden"); > $("#furthersearches").parent().show(); >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >index 4698324..6ed2b86 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >@@ -4,7 +4,7 @@ > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript" language="javascript">//<![CDATA[ > $(document).ready(function() { >- $('#advsearches > ul').tabs(); >+ $('#advsearches').tabs(); > }); > //]]> > </script> >@@ -140,7 +140,7 @@ > <ul> > [% FOREACH advsearchloo IN advancedsearchesloop %] > <li id="advsearch-tab-[% advsearchloo.advanced_search_type %]"> >- <a href="/cgi-bin/koha/opac-search.pl#advsearch-[% advsearchloo.advanced_search_type %]"> >+ <a href="#advsearch-[% advsearchloo.advanced_search_type %]"> > [% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item type > [% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection > [% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving location >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 3c45aff..776f82f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -27,7 +27,7 @@ > > > $(document).ready(function() { >- $('#bibliodescriptions > ul').tabs(); >+ $('#bibliodescriptions').tabs(); > [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]$("#tagform").hide(); > $("#addtagl").show(); > $("#addtagl a").click(function(){ >@@ -607,18 +607,18 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > > <ul> > [% IF ( defaulttab == 'holdings' ) %]<li id="tab_holdings" class="ui-tabs-selected">[% ELSE %]<li id="tab_holdings">[% END %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#holdings">Holdings ( [% count %] )</a> >+ <a href="#holdings">Holdings ( [% count %] )</a> > </li> >-<li id="tab_descriptions"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#descriptions">Title notes</a></li> >+<li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li> > [% IF ( SYNDETICS_TOC ) %] >- <li id="tab_toc"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#toc">TOC</a></li> >+ <li id="tab_toc"> <a href="#toc">TOC</a></li> > [% END %] > [% IF ( SyndeticsEnabled ) %] > [% IF ( SyndeticsExcerpt ) %][% IF ( SYNDETICS_EXCERPT ) %] >- <li id="tab_excerpt"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#excerpt">Excerpt</a></li> >+ <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li> > [% END %][% END %] > [% IF ( SyndeticsReviews ) %][% IF ( SYNDETICS_REVIEWS ) %] >- <li id="tab_reviews"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#reviews">Reviews</a></li> >+ <li id="tab_reviews"> <a href="#reviews">Reviews</a></li> > <li id="tab_LTFLreviews"> > [% IF ( using_https ) %] > <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script> >@@ -630,53 +630,53 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > </li> > [% END %][% END %] > [% IF ( SyndeticsAuthorNotes ) %][% IF ( SYNDETICS_ANOTES ) %] >- <li id="tab_anotes"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#anotes">About the author</a></li> >+ <li id="tab_anotes"> <a href="#anotes">About the author</a></li> > [% END %][% END %] > [% END %] > [% IF ( LibraryThingForLibrariesID ) %] > [% IF ( LibraryThingForLibrariesTabbedView ) %] >- <li id="tab_LFTLSimilarItems"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#LFTLSimilarItems">Similar items</a></li> >- <li id="tab_LTFLTagBrowse"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#LTFLTagBrowse">Tag browser</a></li> >+ <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li> >+ <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li> > [% END %] > [% END %] > [% IF ( subscriptionsnumber ) %] > [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-selected">[% ELSE %]<li id="tab_subscriptions">[% END %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a> >+ <a href="#subscriptions">Subscriptions</a> > </li> > [% END %] > [% IF ( reviewson ) %] >- <li id="tab_comments"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#comments">Comments ( [% IF reviews.defined %][% reviews.size %][% ELSE %]0[% END %] )</a></li> >+ <li id="tab_comments"><a href="#comments">Comments ( [% IF reviews.defined %][% reviews.size %][% ELSE %]0[% END %] )</a></li> > [% END %] > > [% IF ( NovelistSelectProfile ) %] > [% IF ( NovelistSelectView == 'tab') %] >- <li id="tab_NovelistSelect"> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#NovelistSelect">Novelist Select</a></li> >+ <li id="tab_NovelistSelect"> <a href="#NovelistSelect">Novelist Select</a></li> > [% END %] > [% END %] > > [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonSimilarItems ) %][% IF ( AMAZON_SIMILAR_PRODUCTS ) %] >- <li id="tab_related"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#similars">Related</a></li> >+ <li id="tab_related"><a href="#similars">Related</a></li> > [% END %][% END %][% END %] > > [% IF ( OPACFRBRizeEditions ) %][% IF ( XISBNS ) %] >- <li id="tab_editions"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li> >+ <li id="tab_editions"><a href="#editions">Editions</a></li> > [% END %][% END %] > > [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonReviews ) %] >- <li id="tab_amazonreviews"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#amazonreviews">Amazon reviews</a></li> >+ <li id="tab_amazonreviews"><a href="#amazonreviews">Amazon reviews</a></li> > [% END %][% END %] > [% IF ( Babeltheque ) %] >- <li id="tab_babeltheque"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#babeltheque">Babelthèque</a></li> >+ <li id="tab_babeltheque"><a href="#babeltheque">Babelthèque</a></li> > [% END %] > > [% IF ( serialcollection ) %] > [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-selected">[% ELSE %]<li id="tab_serialcollection">[% END %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#serialcollection">Serial collection</a> >+ <a href="#serialcollection">Serial collection</a> > </li> > [% END %] > > [% IF ( OPACLocalCoverImages ) %][% IF ( localimages ) %] >- <li id="tab_images"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li> >+ <li id="tab_images"><a href="#images">Images</a></li> > [% END %][% END %] > </ul> > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt >index 5f3f39c..8786925 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt >@@ -29,7 +29,7 @@ $(document).ready(function(){ > [% UNLESS ( count ) %] > You have never borrowed anything from this library. > [% ELSE %] >-<div id="opac-user-readingrec" class="toptabs"> >+<div id="opac-user-readingrec" class="statictabs"> > > <div class="resultscontrol resort"> <form id="sortform" action="/cgi-bin/koha/opac-readingrecord.pl" method="get"> > [% UNLESS ( limit ) %]<input type="hidden" name="limit" value="full" />[% END %] >@@ -41,19 +41,19 @@ You have never borrowed anything from this library. > > </select> <input type="submit" value="Go" id="sortsubmit" class="submit clearfix" /></form></div> > >-<ul class="ui-tabs-nav"> >+<ul> > > [% IF ( showfulllink ) %] > [% IF ( limit ) %] >-<li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=full[% IF ( orderbytitle ) %]&order=title[% END %]">Show all items</a></li><li class="ui-tabs-selected"><a href="#readingrec">Showing last 50 items</a></li> >+<li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=full[% IF ( orderbytitle ) %]&order=title[% END %]">Show all items</a></li><li class="active"><a href="#readingrec">Showing last 50 items</a></li> > [% ELSE %] >-<li class="ui-tabs-selected"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing all items</a></li><li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=50[% IF ( orderbytitle ) %]&order=title[% END %]">Show last 50 items only</a></li> >+<li class="active"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing all items</a></li><li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=50[% IF ( orderbytitle ) %]&order=title[% END %]">Show last 50 items only</a></li> > [% END %] > [% ELSE %] >-<li class="ui-tabs-selected"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing all items</a></li> >+<li class="active"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing all items</a></li> > [% END %] > </ul> >-<div class="ui-tabs-panel"><table id="readingrec"> >+<div class="tabs-container"><table id="readingrec"> > <tr> > <th colspan="2">Title</th> > <th>Item type</th> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >index 6de2a81..0b8930f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >@@ -16,7 +16,7 @@ $.tablesorter.addParser({ > type: 'text' > }); > $(function() { >- $('#opac-user-views > ul').tabs(); >+ $('#opac-user-views').tabs(); > $.tablesorter.defaults.widgets = ['zebra']; > [% IF ( dateformat == 'metric' ) %]$.tablesorter.defaults.dateFormat = ['uk'];[% END %] > $("#holdst").tablesorter({ >@@ -110,15 +110,15 @@ $.tablesorter.addParser({ > > <div id="opac-user-views" class="toptabs"> > <ul> >- <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts">Checked out</a></li> >- [% IF ( overdues_count ) %]<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues">Overdue</a></li>[% END %] >+ <li><a href="#opac-user-checkouts">Checked out</a></li> >+ [% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue</a></li>[% END %] > [% IF ( OPACFinesTab ) %] >- [% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li>[% END %] >- [% IF ( BORROWER_INF.amountoverzero ) %]<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li>[% END %] >- [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Credits</a></li>[% END %] >+ [% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines</a></li>[% END %] >+ [% IF ( BORROWER_INF.amountoverzero ) %]<li><a href="#opac-user-fines">Fines</a></li>[% END %] >+ [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits</a></li>[% END %] > [% END %] >- [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-waiting">Waiting</a></li>[% END %][% END %] >- [% IF ( reserves_count ) %]<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds">Holds</a></li>[% END %] >+ [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting</a></li>[% END %][% END %] >+ [% IF ( reserves_count ) %]<li><a href="#opac-user-holds">Holds</a></li>[% END %] > </ul> > > <div id="opac-user-checkouts">[% IF ( issues_count ) %] >-- >1.7.2.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8143
:
9886
|
9922
|
10074
| 10084 |
10322