[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en/includes doc-he... [dev_week]
Owen Leonard
oleonard at athenscounty.lib.oh.us
Wed Aug 23 18:59:24 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Owen Leonard <oleonard> 06/08/23 16:59:24
Added files:
koha-tmpl/opac-tmpl/npl/en/includes: doc-head-close-cat.inc
doc-head-close-results.inc
masthead-basic.inc
usermenu.inc
Log message:
New includes to handle some of the restructuring in the new design
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/doc-head-close-cat.inc?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/doc-head-close-results.inc?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/masthead-basic.inc?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/usermenu.inc?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
Patches:
Index: doc-head-close-cat.inc
===================================================================
RCS file: doc-head-close-cat.inc
diff -N doc-head-close-cat.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ doc-head-close-cat.inc 23 Aug 2006 16:59:24 -0000 1.1.2.1
@@ -0,0 +1,86 @@
+</title>
+<!-- TMPL_IF NAME="TemplateEncoding" -->
+<meta http-equiv="Content-Type" content="text/html; charset=<!-- TMPL_VAR NAME='TemplateEncoding' -->" />
+<!-- TMPL_ELSE -->
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<!-- /TMPL_IF -->
+<meta http-equiv="Content-Language" content="en-us" />
+<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang">/includes/favicon.ico" type="image/x-icon" />
+ <!-- TMPL_IF name="opacstylesheet" -->
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="opacstylesheet" -->);
+</style>
+ <!-- TMPL_ELSE -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/<!-- TMPL_VAR NAME="opaccolorstylesheet" -->" />
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME="themelang" -->/includes/<!-- TMPL_VAR NAME="opaclayoutstylesheet" -->);
+</style>
+ <!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="livesearch" -->
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME="themelang" -->/includes/livesearch.css);
+</style>
+<!-- /TMPL_IF -->
+<script language="javascript" type="text/javascript">
+function Help() {
+ newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
+}
+
+function openWindow(targeturl, windowname) {
+ newwin =
+ window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
+}
+
+ var newwin;
+
+ // Open the popup window if it doesn't already exist and give it focus.
+ function PopWin(targeturl, windowname) {
+
+ if (!newwin || newwin.closed) newwin = window.open(targeturl,windowname, "height=300,width=400,scrollbars=yes,resizable=yes");
+ newwin.focus();
+ }
+
+ // Set the value of the form field to the passed value and optionally shift
+ // focus and close the popup.
+ function FillForm(val,formname,formfield) {
+
+ document.forms[formname].elements[formfield].value = val;
+
+ // Uncomment below to shift focus after clicking link in popup.
+ document.forms[formname].elements[formfield].focus();
+
+ // Uncomment below to close popup after clicking link.
+ newwin.close();
+ }
+
+
+
+ function openDictionary(dict, search, target) {
+ if ((dict == 'all') || (dict == 'publicationyear')) {
+ alert("The selected field is not correct to search on dictionary.");
+ } else {
+ var dict_window = window.open('/cgi-bin/koha/dictionary.pl?dictionary=' + dict + '&search=' + search + '&target=' + target,'_blanck','height=325,width=550,status=no,toolbar=no,menubar=no,location=no,resizable=no,top=100,left=100');
+ dict_window.focus();
+ }
+ }
+
+ </script>
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/catsearch.js"></script>
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/main.js"></script>
+ <!-- TMPL_IF NAME="AmazonContent" -->
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/amazonimages.js"></script>
+ <!-- /TMPL_IF -->
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/script.js"></script>
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/basket.js"></script>
+ <script type="text/javascript" language="javascript">
+ var MSG_BASKET_EMPTY = "You book bag is currently empty";
+ var MSG_RECORD_IN_BASKET = "This item is already in your book bag";
+ var MSG_RECORD_ADDED = "This item has been added to your book bag";
+ var MSG_NRECORDS_ADDED = " item(s) added to your book bag";
+ var MSG_NRECORDS_IN_BASKET = "already in the bag";
+ var MSG_NO_RECORD_SELECTED = "No item was selected";
+ var MSG_NO_RECORD_ADDED = "No item was added to your book bag";
+</script>
+</head>
+<body id="withsidebar">
Index: doc-head-close-results.inc
===================================================================
RCS file: doc-head-close-results.inc
diff -N doc-head-close-results.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ doc-head-close-results.inc 23 Aug 2006 16:59:24 -0000 1.1.2.1
@@ -0,0 +1,86 @@
+</title>
+<!-- TMPL_IF NAME="TemplateEncoding" -->
+<meta http-equiv="Content-Type" content="text/html; charset=<!-- TMPL_VAR NAME='TemplateEncoding' -->" />
+<!-- TMPL_ELSE -->
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<!-- /TMPL_IF -->
+<meta http-equiv="Content-Language" content="en-us" />
+<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang">/includes/favicon.ico" type="image/x-icon" />
+ <!-- TMPL_IF name="opacstylesheet" -->
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="opacstylesheet" -->);
+</style>
+ <!-- TMPL_ELSE -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/<!-- TMPL_VAR NAME="opaccolorstylesheet" -->" />
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME="themelang" -->/includes/<!-- TMPL_VAR NAME="opaclayoutstylesheet" -->);
+</style>
+ <!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="livesearch" -->
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME="themelang" -->/includes/livesearch.css);
+</style>
+<!-- /TMPL_IF -->
+<script language="javascript" type="text/javascript">
+function Help() {
+ newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
+}
+
+function openWindow(targeturl, windowname) {
+ newwin =
+ window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
+}
+
+ var newwin;
+
+ // Open the popup window if it doesn't already exist and give it focus.
+ function PopWin(targeturl, windowname) {
+
+ if (!newwin || newwin.closed) newwin = window.open(targeturl,windowname, "height=300,width=400,scrollbars=yes,resizable=yes");
+ newwin.focus();
+ }
+
+ // Set the value of the form field to the passed value and optionally shift
+ // focus and close the popup.
+ function FillForm(val,formname,formfield) {
+
+ document.forms[formname].elements[formfield].value = val;
+
+ // Uncomment below to shift focus after clicking link in popup.
+ document.forms[formname].elements[formfield].focus();
+
+ // Uncomment below to close popup after clicking link.
+ newwin.close();
+ }
+
+
+
+ function openDictionary(dict, search, target) {
+ if ((dict == 'all') || (dict == 'publicationyear')) {
+ alert("The selected field is not correct to search on dictionary.");
+ } else {
+ var dict_window = window.open('/cgi-bin/koha/dictionary.pl?dictionary=' + dict + '&search=' + search + '&target=' + target,'_blanck','height=325,width=550,status=no,toolbar=no,menubar=no,location=no,resizable=no,top=100,left=100');
+ dict_window.focus();
+ }
+ }
+
+ </script>
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/catsearch.js"></script>
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/main.js"></script>
+ <!-- TMPL_IF NAME="AmazonContent" -->
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/amazonimages.js"></script>
+ <!-- /TMPL_IF -->
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/script.js"></script>
+ <script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/basket.js"></script>
+ <script type="text/javascript" language="javascript">
+ var MSG_BASKET_EMPTY = "You book bag is currently empty";
+ var MSG_RECORD_IN_BASKET = "This item is already in your book bag";
+ var MSG_RECORD_ADDED = "This item has been added to your book bag";
+ var MSG_NRECORDS_ADDED = " item(s) added to your book bag";
+ var MSG_NRECORDS_IN_BASKET = "already in the bag";
+ var MSG_NO_RECORD_SELECTED = "No item was selected";
+ var MSG_NO_RECORD_ADDED = "No item was added to your book bag";
+</script>
+</head>
+<body id="withnav">
Index: masthead-basic.inc
===================================================================
RCS file: masthead-basic.inc
diff -N masthead-basic.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ masthead-basic.inc 23 Aug 2006 16:59:24 -0000 1.1.2.1
@@ -0,0 +1,15 @@
+<div id="masthead">
+
+<h1 id="libraryname"><a href="/cgi-bin/koha/opac-main.pl"><!-- TMPL_VAR NAME="LibraryName" --></a></h1>
+<div id="members">
+ <ul><!-- TMPL_IF NAME="loggedinusername" --><li><span class="members">Logged in as <span class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --></span></span></li><!-- TMPL_ELSE --><li><a href="/cgi-bin/koha/opac-user.pl">Log in to Your Account</a></li><!-- /TMPL_IF --><!--TMPL_IF NAME="virtualshelves" --><li><a href="/cgi-bin/koha/opac-shelves.pl">My Virtual Shelves</a></li><!-- /TMPL_IF --><!-- TMPL_IF NAME="loggedinusername" --><li><a href="/cgi-bin/koha/opac-user.pl">My Account</a></li><!-- /TMPL_IF --><!-- TMPL_IF NAME="opacbookbag" --><li><a href="/cgi-bin/koha/opac-basket.pl" onclick="openBasket(); return false;" title="A "shopping cart" for your selections">Book Bag<span id="basket"><script language="javascript" type="text/javascript">if(basketcount){ document.write(basketcount) };</script></span></a></li><!-- /TMPL_IF --><!-- TMPL_IF NAME="loggedinusername" --><li><a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></li><!-- /TMPL_IF -->
+ </ul>
+</div>
+<div class="menu">
+</div>
+</div>
+
+<!-- TMPL_IF NAME="opaclanguagesdisplay" --><div id="languages">
+ <ul>
+ <!-- TMPL_LOOP NAME="languages" --><!-- TMPL_IF NAME="current" --><li><!-- TMPL_VAR NAME="label" --> </li><!-- TMPL_ELSE --><li><a href="/cgi-bin/koha/changelanguage.pl?language=<!-- TMPL_VAR NAME="language" -->"><!-- TMPL_VAR NAME="label" --></a> </li><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
+ </ul></div><!-- /TMPL_IF -->
\ No newline at end of file
Index: usermenu.inc
===================================================================
RCS file: usermenu.inc
diff -N usermenu.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ usermenu.inc 23 Aug 2006 16:59:24 -0000 1.1.2.1
@@ -0,0 +1,2 @@
+<div id="usermenu"> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> |
+ <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> <!-- TMPL_IF name="OpacPasswordChange" --> | <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- /TMPL_IF --><!-- TMPL_IF NAME="opacreadinghistory" -->| <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="suggestion" -->| <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></div>
\ No newline at end of file
More information about the Koha-cvs
mailing list