Filename | /usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc |
Statements | Executed 97 statements in 517µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 202µs | 574µs | __ANON__[:121] | Template::Document::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # spent 574µs (202+372) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc:121] which was called:
# once (202µs+372µs) by Template::Document::process at line 151 of Template/Document.pm | ||||
2 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||||
3 | 1 | 9µs | 1 | 4µs | <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> # spent 4µs making 1 call to Template::Stash::XS::get |
4 | 2 | 13µs | 2 | 6µs | <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" /> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
5 | 1 | 7µs | 1 | 3µs | <link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/jquery-ui.css" /> # spent 3µs making 1 call to Template::Stash::XS::get |
6 | 3 | 15µs | 2 | 7µs | [% SET opaclayoutstylesheet='opac.css' UNLESS opaclayoutstylesheet %] [% IF (opaclayoutstylesheet.match('^https?:|^\/')) %] <link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet %]" /> # spent 7µs making 2 calls to Template::Stash::XS::get, avg 4µs/call |
7 | 2 | 1µs | [% ELSE %] <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% opaclayoutstylesheet %]" /> | ||
8 | 3 | 42µs | 2 | 126µs | [% END %] [% IF ( opaccolorstylesheet ) %] [% IF (opaccolorstylesheet.match('^https?:|^\/')) %] <link rel="stylesheet" type="text/css" href="[% opaccolorstylesheet %]" /> # spent 81µs making 1 call to Template::Stash::XS::get
# spent 46µs making 1 call to Template::VMethods::text_match |
9 | 1 | 1µs | [% ELSE %] <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% opaccolorstylesheet %]" /> | ||
10 | 2 | 8µs | 1 | 3µs | [% END %] [% END %] [% IF ( opac_css_override ) %] <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% opac_css_override %]" /> # spent 3µs making 1 call to Template::Stash::XS::get |
11 | 3 | 18µs | 3 | 28µs | [% END %] <link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" /> # spent 21µs making 2 calls to Template::Stash::XS::get, avg 11µs/call
# spent 7µs making 1 call to Template::Stash::undefined |
12 | 1 | 400ns | [% IF persona %] <link rel="stylesheet" type="text/css" href="[% themelang %]/css/persona-buttons.css" /> | ||
13 | 2 | 12µs | 2 | 6µs | [% END %] [% IF ( OPACMobileUserCSS ) %]<style type="text/css" media="screen and (max-width:700px)">[% OPACMobileUserCSS %]</style>[% END %] [% IF ( bidi ) %] <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
14 | 4 | 20µs | 4 | 19µs | [% END %] [% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %] # spent 16µs making 3 calls to Template::Stash::XS::get, avg 5µs/call
# spent 2µs making 1 call to Template::Stash::undefined |
15 | 2 | 1µs | <!-- yui js --> | ||
16 | 3 | 7µs | 1 | 3µs | <script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
17 | 4 | 10µs | 1 | 3µs | <script type="text/javascript" src="[% yuipath %]/container/container-min.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
18 | 3 | 8µs | 1 | 3µs | <script type="text/javascript" src="[% yuipath %]/menu/menu-min.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
19 | 2 | 7µs | 1 | 3µs | <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
20 | 2 | 78µs | 1 | 73µs | <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery-ui.js"></script> # spent 73µs making 1 call to Template::Stash::XS::get |
21 | 2 | 8µs | 1 | 3µs | <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.hoverIntent.minified.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
22 | 2 | 7µs | 1 | 3µs | <script type="text/javascript" src="[% themelang %]/js/script.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
23 | 1 | 400ns | [% IF ( OPACAmazonCoverImages ) %] <script type="text/javascript" language="javascript">//<![CDATA[ | ||
24 | var NO_AMAZON_IMAGE = _("No cover image available"); | ||||
25 | //]]> | ||||
26 | </script> | ||||
27 | 1 | 7µs | 1 | 3µs | <script type="text/javascript" language="javascript" src="[% themelang %]/js/amazonimages.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
28 | 2 | 8µs | 1 | 3µs | [% END %] [% IF ( SyndeticsCoverImages ) %] <script type="text/javascript">//<![CDATA[ # spent 3µs making 1 call to Template::Stash::XS::get |
29 | 1 | 2µs | var NO_AMAZON_IMAGE = _("No cover image available"); | ||
30 | //]]> | ||||
31 | 1 | 300ns | </script> | ||
32 | 2 | 12µs | 2 | 6µs | <script type="text/javascript" src="[% themelang %]/js/amazonimages.js"></script> [% END %] [% IF ( opacbookbag ) %]<script type="text/javascript" src="[% themelang %]/js/basket.js"> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
33 | 1 | 500ns | [% ELSIF ( virtualshelves ) %]<script type="text/javascript" src="[% themelang %]/js/basket.js"> | ||
34 | 1 | 7µs | 1 | 3µs | [% ELSE %]<script type="text/javascript"> var readCookie;[% END %] # spent 3µs making 1 call to Template::Stash::XS::get |
35 | 1 | 500ns | </script> | ||
36 | 1 | 400ns | |||
37 | <script type="text/javascript"> | ||||
38 | //<![CDATA[ | ||||
39 | var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again") | ||||
40 | 1 | 700ns | var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?"); | ||
41 | [% IF ( opacbookbag ) %]var MSG_BASKET_EMPTY = _("Your cart is currently empty"); | ||||
42 | var MSG_RECORD_IN_BASKET = _("This item is already in your cart"); | ||||
43 | var MSG_RECORD_ADDED = _("This item has been added to your cart"); | ||||
44 | var MSG_RECORD_REMOVED = _("This item has been removed from your cart"); | ||||
45 | var MSG_NRECORDS_ADDED = _(" item(s) added to your cart"); | ||||
46 | var MSG_NRECORDS_IN_BASKET = _("already in your cart"); | ||||
47 | var MSG_NO_RECORD_SELECTED = _("No item was selected"); | ||||
48 | var MSG_NO_RECORD_ADDED = _("No item was added to your cart"); | ||||
49 | var MSG_CONFIRM_DEL_BASKET = _("Are you sure you want to empty your cart?"); | ||||
50 | var MSG_CONFIRM_DEL_RECORDS = _("Are you sure you want to remove the selected items?"); | ||||
51 | var MSG_ITEM_IN_CART = _("In your cart"); | ||||
52 | var MSG_IN_YOUR_CART = _("Items in your cart: "); | ||||
53 | var MSG_ITEM_NOT_IN_CART = _("Add to your cart"); | ||||
54 | $("#cartDetails").ready(function(){ $("#cmspan").html("<a href=\"#\" id=\"cartmenulink\"><span id=\"carticon\"></span> "+_("Cart")+"<span id=\"basketcount\"><\/span><\/a>"); }); [% ELSE %][% IF ( virtualshelves ) %] | ||||
55 | 1 | 7µs | 1 | 3µs | var MSG_NO_RECORD_SELECTED = _("No item was selected");[% END %][% END %] # spent 3µs making 1 call to Template::Stash::XS::get |
56 | [% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]var MSG_TAGS_DISABLED = _("Sorry, tags are not enabled on this system."); | ||||
57 | var MSG_TAG_ALL_BAD = _("Error! Your tag was entirely markup code. It was NOT added. Please try again with plain text."); | ||||
58 | var MSG_ILLEGAL_PARAMETER = _("Error! Illegal parameter"); | ||||
59 | var MSG_TAG_SCRUBBED = _("Note: Your tag contained markup code that was removed. The tag was added as "); | ||||
60 | var MSG_ADD_TAG_FAILED = _("Error! The add_tag operation failed on"); | ||||
61 | 1 | 500ns | var MSG_ADD_TAG_FAILED_NOTE = _("Note: you can only tag an item with a given term once. Check 'My Tags' to see your current tags."); | ||
62 | var MSG_DELETE_TAG_FAILED = _("Error! You cannot delete the tag"); | ||||
63 | var MSG_DELETE_TAG_FAILED_NOTE = _("Note: you can only delete your own tags.") | ||||
64 | var MSG_LOGIN_REQUIRED = _("You must be logged in to add tags."); | ||||
65 | var MSG_TAGS_ADDED = _("Tags added: "); | ||||
66 | var MSG_TAGS_DELETED = _("Tags added: "); | ||||
67 | var MSG_TAGS_ERRORS = _("Errors: "); | ||||
68 | var MSG_MULTI_ADD_TAG_FAILED = _("Unable to add one or more tags."); | ||||
69 | 1 | 12µs | 2 | 6µs | var MSG_NO_TAG_SPECIFIED = _("No tag was specified.");[% END %][% END %] # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
70 | [% IF ( OPACAmazonCoverImages ) %]$(window).load(function() { | ||||
71 | verify_images(); | ||||
72 | 1 | 6µs | 1 | 3µs | });[% END %] # spent 3µs making 1 call to Template::Stash::XS::get |
73 | [% IF ( SyndeticsCoverImages ) %]$(window).load(function() { | ||||
74 | verify_images(); | ||||
75 | 2 | 7µs | 1 | 3µs | });[% END %] # spent 3µs making 1 call to Template::Stash::XS::get |
76 | 2 | 12µs | 2 | 6µs | [% IF ( opacuserjs ) %][% opacuserjs %][% END %] # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
77 | //]]> | ||||
78 | 1 | 7µs | 1 | 3µs | [% IF ( opacbookbag ) %]</script><script type="text/javascript" src="[% themelang %]/js/basket.js"> # spent 3µs making 1 call to Template::Stash::XS::get |
79 | 3 | 1µs | [% ELSIF ( virtualshelves ) %]</script><script type="text/javascript" src="[% themelang %]/js/basket.js"> | ||
80 | 1 | 7µs | 1 | 3µs | [% ELSE %]</script><script type="text/javascript">var readCookie;[% END %]</script> # spent 3µs making 1 call to Template::Stash::XS::get |
81 | 4 | 56µs | 3 | 45µs | [% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]<script type="text/javascript" src="[% themelang %]/js/tags.js"></script>[% END %][% ELSE %][% END %] [% IF ( GoogleJackets ) %] <script type="text/javascript" src="[% themelang %]/js/google-jackets.js"></script> # spent 45µs making 3 calls to Template::Stash::XS::get, avg 15µs/call |
82 | 2 | 2µs | <script type="text/javascript"> | ||
83 | //<![CDATA[ | ||||
84 | var NO_GOOGLE_JACKET = _("No cover image available"); | ||||
85 | 1 | 400ns | //]]> | ||
86 | 1 | 400ns | </script> | ||
87 | 1 | 8µs | 1 | 3µs | [% END %] [% IF OpenLibraryCovers %] <script type="text/javascript" src="[% themelang %]/js/openlibrary.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
88 | <script type="text/javascript"> | ||||
89 | //<![CDATA[ | ||||
90 | 1 | 200ns | var NO_OL_JACKET = _("No cover image available"); | ||
91 | 1 | 300ns | //]]> | ||
92 | </script> | ||||
93 | 2 | 12µs | 2 | 6µs | [% END %] [% IF OPACLocalCoverImages %] <script type="text/javascript" src="[% themelang %]/js/localcovers.js"></script> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
94 | 1 | 600ns | <script type="text/javascript"> | ||
95 | //<![CDATA[ | ||||
96 | var NO_LOCAL_JACKET = _("No cover image available"); | ||||
97 | 1 | 300ns | //]]> | ||
98 | </script> | ||||
99 | 1 | 7µs | 1 | 3µs | [% END %] [% IF ( BakerTaylorEnabled ) %]<script type="text/javascript" src="[% themelang %]/js/bakertaylorimages.js"></script> # spent 3µs making 1 call to Template::Stash::XS::get |
100 | 1 | 500ns | <script type="text/javascript"> | ||
101 | //<![CDATA[ | ||||
102 | var NO_BAKERTAYLOR_IMAGE = _("No cover image available"); | ||||
103 | 1 | 600ns | $(window).load(function(){ | ||
104 | bt_verify_images(); | ||||
105 | }); | ||||
106 | //]]> | ||||
107 | 2 | 15µs | 3 | 20µs | </script>[% END %] <link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" /> # spent 16µs making 2 calls to Template::Stash::XS::get, avg 8µs/call
# spent 4µs making 1 call to Template::Stash::undefined |
108 | 1 | 400ns | [% IF ( GoogleIndicTransliteration ) %] <script type="text/javascript" src="http://www.google.com/jsapi"></script> | ||
109 | <script type="text/javascript" src="[% themelang %]/js/googleindictransliteration.js"></script> | ||||
110 | 1 | 8µs | 2 | 13µs | [% END %] # spent 10µs making 1 call to Template::Stash::XS::get
# spent 3µs making 1 call to Template::Stash::undefined |
111 | |||||
- - | |||||
113 | 1 | 2µs | |||
- - | |||||
115 | 1 | 400ns | |||
- - | |||||
120 | 1 | 7µs | |||
- - | |||||
123 | 1 | 23µs |