From 9f03ca7e2a12c364695f2d4e90337ff97559c61c Mon Sep 17 00:00:00 2001 From: oleonard Date: Fri, 3 Mar 2006 20:10:26 +0000 Subject: [PATCH] New programmer templates for the OPAC. Markup has been pared down, but structure hasn't been updated according to new guidelines put forth by Paul on the mailing list (i.e. named blocks, etc). --- .../prog/en/includes/amazonimages.js | 15 + .../opac-tmpl/prog/en/includes/basket.js | 365 +++++++++++++++ .../opac-tmpl/prog/en/includes/colors.css | 418 ++++++++++++++++++ .../opac-tmpl/prog/en/includes/colors.npl.css | 404 +++++++++++++++++ .../includes/doc-head-close-basket-print.inc | 17 + .../en/includes/doc-head-close-basket.inc | 24 + .../prog/en/includes/doc-head-close.inc | 30 ++ .../prog/en/includes/doc-head-open.inc | 5 + .../opac-tmpl/prog/en/includes/favicon.ico | Bin 0 -> 1406 bytes koha-tmpl/opac-tmpl/prog/en/includes/main.js | 9 + .../opac-tmpl/prog/en/includes/masthead.inc | 8 + .../prog/en/includes/masthead_adv.inc | 21 + .../opac-tmpl/prog/en/includes/navigation.inc | 1 + .../prog/en/includes/opac-basket-bottom.inc | 14 + .../prog/en/includes/opac-bottom.inc | 3 + koha-tmpl/opac-tmpl/prog/en/includes/opac.css | 46 ++ .../opac-tmpl/prog/en/includes/print.css | 211 +++++++++ .../opac-tmpl/prog/en/includes/script.js | 66 +++ koha-tmpl/opac-tmpl/prog/en/kohaerror.tmpl | 10 + .../opac-tmpl/prog/en/opac-ISBDdetail.tmpl | 69 +++ .../opac-tmpl/prog/en/opac-MARCdetail.tmpl | 143 ++++++ koha-tmpl/opac-tmpl/prog/en/opac-account.tmpl | 46 ++ .../prog/en/opac-addbookbybiblionumber.tmpl | 24 + koha-tmpl/opac-tmpl/prog/en/opac-auth.tmpl | 48 ++ koha-tmpl/opac-tmpl/prog/en/opac-basket.tmpl | 85 ++++ koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl | 217 +++++++++ .../opac-tmpl/prog/en/opac-detailprint.tmpl | 85 ++++ .../opac-tmpl/prog/en/opac-dictionary.tmpl | 142 ++++++ .../prog/en/opac-full-serial-issues.tmpl | 80 ++++ koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl | 85 ++++ koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl | 46 ++ .../opac-tmpl/prog/en/opac-readingrecord.tmpl | 35 ++ .../prog/en/opac-recacquisitions.tmpl | 41 ++ koha-tmpl/opac-tmpl/prog/en/opac-reserve.tmpl | 107 +++++ koha-tmpl/opac-tmpl/prog/en/opac-search.tmpl | 163 +++++++ .../opac-tmpl/prog/en/opac-searchresults.tmpl | 108 +++++ .../opac-tmpl/prog/en/opac-sendbasket.tmpl | 32 ++ .../prog/en/opac-sendbasketform.tmpl | 24 + .../opac-tmpl/prog/en/opac-serial-issues.tmpl | 90 ++++ koha-tmpl/opac-tmpl/prog/en/opac-shelves.tmpl | 139 ++++++ .../opac-tmpl/prog/en/opac-suggestions.tmpl | 155 +++++++ koha-tmpl/opac-tmpl/prog/en/opac-user.tmpl | 138 ++++++ .../opac-tmpl/prog/en/opac-userdetails.tmpl | 86 ++++ .../opac-tmpl/prog/en/opac-userupdate.tmpl | 39 ++ 44 files changed, 3894 insertions(+) create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/amazonimages.js create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/basket.js create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/colors.css create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/colors.npl.css create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket-print.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/doc-head-open.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/favicon.ico create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/main.js create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/masthead_adv.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/opac-basket-bottom.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/opac.css create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/print.css create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/script.js create mode 100644 koha-tmpl/opac-tmpl/prog/en/kohaerror.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-ISBDdetail.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-MARCdetail.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-account.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-auth.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-basket.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-detailprint.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-dictionary.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-full-serial-issues.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-readingrecord.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-recacquisitions.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-reserve.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-search.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-searchresults.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-sendbasket.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-sendbasketform.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-serial-issues.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-shelves.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-suggestions.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-user.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-userdetails.tmpl create mode 100644 koha-tmpl/opac-tmpl/prog/en/opac-userupdate.tmpl diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/amazonimages.js b/koha-tmpl/opac-tmpl/prog/en/includes/amazonimages.js new file mode 100644 index 0000000000..20f7126755 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/amazonimages.js @@ -0,0 +1,15 @@ +// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html +function verify_images() { + for (var i = 0; i < document.images.length; i++) { + img = document.images[i]; + if ((img.src.indexOf('images.amazon.com') >= 0) || (img.src.indexOf('g-images.amazon.com') >=0)) { + w = img.width; + h = img.height; + if ((w == 1) || (h == 1)) { + img.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + } else if ((img.complete != null) && (!img.complete)) { + img.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + } + } + } +} diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/basket.js b/koha-tmpl/opac-tmpl/prog/en/includes/basket.js new file mode 100644 index 0000000000..c10105d5d7 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/basket.js @@ -0,0 +1,365 @@ +////////////////////////////////////////////////////////////////////////////// +// BASIC FUNCTIONS FOR COOKIE MANGEMENT // +////////////////////////////////////////////////////////////////////////////// + +var CGIBIN = "/cgi-bin/koha/"; + + +var nameCookie = "bib_list"; +var valCookie = readCookie(nameCookie); + +if(valCookie){ + var arrayRecords = valCookie.split("/"); + if(arrayRecords.length > 0){ + var basketcount = " ("+(arrayRecords.length-1)+")"; + } else { + var basketcount = ""; + } +} else { + var basketcount = ""; +} + +function writeCookie(name, val, wd) { + if (wd) { + parent.opener.document.cookie = name + "=" + val; + } + else { + parent.document.cookie = name + "=" + val; + } +} + +function readCookieValue (str, val_beg) { + var val_end = str.indexOf(";", val_end); + if (val_end == -1) + val_end = str.length; + return str.substring(val_beg, val_end); +} + +function readCookie(name, wd) { + var str_name = name + "="; + var str_len = str_name.length; + var str_cookie = ""; + if (wd) { + str_cookie = parent.opener.document.cookie; + } + else { + str_cookie = parent.document.cookie; + } + var coo_len = str_cookie.length; + var i = 0; + + while (i < coo_len) { + var j = i + str_len; + if (str_cookie.substring(i, j) == str_name) + return readCookieValue(str_cookie, j); + i = str_cookie.indexOf(" ", i) + 1; + if (i == 0) + break; + } + + return null; +} + +function delCookie(name) { + var exp = new Date(); + exp.setTime(exp.getTime()-1); + parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString(); +} + + +/////////////////////////////////////////////////////////////////// +// SPECIFIC FUNCTIONS USING COOKIES // +/////////////////////////////////////////////////////////////////// + +function openBasket() { + var strCookie = ""; + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie); + if (valCookie) { + strCookie = nameCookie + "=" + valCookie; + } + + if (strCookie) { + var iW = 620; + var iH = 450; + var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,height="+iH+",width="+iW; + var loc = CGIBIN + "opac-basket.pl?" + strCookie; + var basket = open(loc, "basket", optWin); + if (window.focus) {basket.focus()} + } + else { + alert(MSG_BASKET_EMPTY); + } +} + + +function addRecord(val, selection) { + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie); + var write = 0; + + if ( ! valCookie ) { // empty basket + valCookie = val + '/'; + write = 1; + updateBasket(1,document); + } + else { + // is this record already in the basket ? + var found = false; + var arrayRecords = valCookie.split("/"); + + for (var i = 0; i < valCookie.length - 1; i++) { + if (val == arrayRecords[i]) { + found = true; + break; + } + } + + if ( found ) { + if (selection) { + return 0; + } + alert(MSG_RECORD_IN_BASKET); + } + else { + valCookie += val + '/'; + write = 1; + updateBasket(arrayRecords.length,document); + } + } + + if (write) { + writeCookie(nameCookie, valCookie); + if (selection) { // when adding a selection of records + return 1; + } + alert(MSG_RECORD_ADDED); + } +} + + +function addMultiple(){ + var c_value = ""; + if(document.myform.bibid.length > 0) { + for (var i=0; i < document.myform.bibid.length; i++) { + if (document.myform.bibid[i].checked) { + c_value = c_value + document.myform.bibid[i].value + "/"; + } + } + addSelRecords(c_value); + } else { + c_value = c_value + document.myform.bibid.value + "/"; + addSelRecords(c_value); + } +} + + +function addSelRecords(valSel) { // function for adding a selection of biblios to the basket + // from the results list + var arrayRecords = valSel.split("/"); + var i = 0; + var nbAdd = 0; + for (i=0;i nbAdd) { + msg = nbAdd+" "+MSG_NRECORDS_ADDED+", "+(i-nbAdd)+" "+MSG_NRECORDS_IN_BASKET; + } + else { + msg = nbAdd+" "+MSG_NRECORDS_ADDED; + } + } + else { + if (i < 1) { + msg = MSG_NO_RECORD_SELECTED; + } + else { + msg = MSG_NO_RECORD_ADDED+" ("+MSG_NRECORDS_IN_BASKET+") !"; + } + } + alert(msg); +} + + +function selRecord(num, status) { + var str = document.myform.records.value + if (status){ + str += num+"/"; + } + else { + str = delRecord(num, str); + } + + document.myform.records.value = str; +} + + +function delSelRecords() { + var recordsSel = 0; + var end = 0; + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie, 1); + + if (valCookie) { + var str = document.myform.records.value; + if (str.length > 0){ + recordsSel = 1; + var str2 = valCookie; + while (!end){ + s = str.indexOf("/"); + if (s>0){ + num = str.substring(0, s) + str = delRecord(num,str); + str2 = delRecord(num,str2); + } else { + end = 1; + } + } + + if (str2.length == 0) { // equivalent to emptying the basket + var rep = false; + rep = confirm(MSG_CONFIRM_DEL_BASKET); + if (rep) { + delCookie(nameCookie); + document.location = "about:blank"; + updateBasket(0,top.opener.document); + window.close(); + } else { + return; + } + } else { + writeCookie(nameCookie, str2, 1); + } + } + } + + if (recordsSel) { + var strCookie = ""; + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie, 1); + strCookie = nameCookie + "=" + valCookie; + var arrayRecords = valCookie.split("/"); + updateBasket(arrayRecords.length-1,top.opener.document); + document.location = CGIBIN + "opac-basket.pl?" + strCookie; + } + else { + alert(MSG_NO_RECORD_SELECTED); + } +} + + +function delRecord (n, s) { + var re = /\d/; + var aux = s; + var found = 0; + var pos = -1; + + while (!found) { + pos = aux.indexOf(n, pos+1); + var charAfter = aux.charAt(pos+n.length); // character right after the researched string + if (charAfter.match(re)) { // record number inside another one + continue; + } + else { // good record number + aux = s.substring(0, pos)+ s.substring(pos+n.length+1, s.length); + s = aux; + found = 1; + } + } + + return s; +} + + +function delBasket() { + var nameCookie = "bib_list"; + + var rep = false; + rep = confirm(MSG_CONFIRM_DEL_BASKET); + if (rep) { + delCookie(nameCookie); + document.location = "about:blank"; + updateBasket(0,top.opener.document); + window.close(); + } +} + + +function quit() { + if (document.myform.records.value) { + var rep = false; + rep = confirm(MSG_CONFIRM_DEL_RECORDS); + if (rep) { + delSelRecords(); + } + } + updateBasket(arrayRecords.length-1,top.opener.document); + window.close(); +} + +function sendBasket() { + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie); + var strCookie = nameCookie + "=" + valCookie; + + var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie; + + var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=400,top=50,left=100"; + var win_form = open(loc,"win_form",optWin); +} + +function printBasket() { + var loc = document.location + "&print=1"; + document.location = loc; +} + +function showMore() { + var strCookie = ""; + + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie); + if (valCookie) { + strCookie = nameCookie + "=" + valCookie; + } + var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=1"; + document.location = loc; +} + +function showLess() { + var strCookie = ""; + + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie); + if (valCookie) { + strCookie = nameCookie + "=" + valCookie; + } + var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=0"; + document.location = loc; +} + +function updateBasket(updated_value,target) { + if(typeof document.getElementById != "undefined") { + target.getElementById('basket').innerHTML = " ("+updated_value+")"; + } else if (typeof document.layers != "undefined") { + target.layers['basket'].open(); + target.layers['basket'].write(" ("+updated_value+")"); + target.layers['basket'].close(); + } else if(typeof document.all != "undefined" && typeof +document.getElementById == "undefined") { + target.all['basket'].innerHTML = " ("+updated_value+")"; + } +} + +function openBiblio(dest,biblionumber) { + openerURL=dest+"?bib="+biblionumber; + opener.document.location = openerURL; + opener.focus(); +} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/colors.css b/koha-tmpl/opac-tmpl/prog/en/includes/colors.css new file mode 100644 index 0000000000..65db541668 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/colors.css @@ -0,0 +1,418 @@ +/* COLORS, BACKGROUNDS, AND BORDERS */ + +a { + color : #006699; +} + +a:active { + color : #990033; +} + +a:visited { + color : #006699; +} + +a:hover { + color : #990033; +} + +a:link.current { + background-color : transparent; + color : #3366CC; +} + +a:hover.current { + background-color : #CCFF00; + color : #CC3333; +} + +a:visited.current { + background-color : transparent; + color : #3366CC; +} + +a:active.current { + background-color : #99CC00; + color : #FFFF99; +} + +a:link.nav { + background-color : #EFF1DC; + border : 1px solid #CCCC99; + color : #3366CC; +} + +a:hover.nav { + background-color : #FFFFCC; + border : 1px solid #CCCC99; + color : #CC3333; +} + +a:active.nav { + background-color : #FFFFCC; + border : 1px solid #CCCC99; + color : #D25500; +} + +a:visited.nav { + background-color : #EFF1DC; + border : 1px solid #CCCC99; + color : #3366CC; +} + +.menu a:link.logout { + background-color : #FFDD75; + color : Black; +} + +.menu a:active.logout { + background-color : #FFDD75; + color : Black; +} + + +.menu a:visited.logout { + background-color : #FFDD75; + color : Black; +} + +.menu a:hover.logout { + background-color : #FFCC33; + color : Black; +} + +body { + background-color : #FFFFFF; +} + +caption { + color : #000066; +} + +div.form, div.details { + background-color : #FFFFFF; +} + +h1,h2,h3,h4,h5,h6 { + color : #000066; +} + +h1.logo { + color : #D3DFAD; +} + +p.error, div.error { + background-color : #FFFFCC; + border : 1px dashed #cc6600; +} + +div.error h3 { + color : #990000; +} + +table { + background-color : #ffffff; +} + +td { + border-bottom : 1px solid #DDDDDD; + border-right : 1px solid #DDDDDD; +} + +th { + background-color : #EFF1DC; + border-bottom : 1px solid #CCCCCC; + border-right : 1px solid #CCCCCC; +} + +th[scope="row"] { + background-color : #E7E7CA; +} + +tr.highlight th[scope="row"] { + background-color : #EEEEEE; +} + +th:last-child { + background-color : #EFF1DC; + border-bottom : 1px solid #CCCCCC; + border-right : 0 solid #CCCCCC; +} + +td.input, div.form td, div.details td { + border-bottom : 1px solid #CCCCCC; + border-left : 0; + border-right : 0; + color : #000000; +} + +td.label, div.form th, div.details th { + background-color : #FFF; + border-bottom : 1px solid #CCCCCC; + border-left : 1px solid #CCCCCC; + border-right : 0; + border-top : 0; + color : #000088; +} + +td.label { + border-bottom : 1px solid #CCCCCC; + border-left : 1px solid #CCCCCC; + color : #000088; +} + +td:last-child { + border-bottom : 1px solid #CCCCCC; + border-right : 0 solid #CCCCCC; +} + +tr.highlight { + background-color : #F8F8EB; +} + +.content-block { + background-color : #FFFFFF; +} + +.current { + background-color : #FFFFFF; + color : #3366CC; +} + +.further { + color: #CCCC99; + border: 2px solid #DDDED3; + background-color : #EEEEEB; +} + +.further h4 { + background-color : #D8DEB8; +} + +.further li { + border-bottom : 1px solid #DDDED3; + } + +.detail-sidebar { + background-color : #EEEEEB; +} + +.operations li a, .operations li a:visited { + border: 2px solid #D8DEB8; + color: #FFFFCC; + background-color : #6699CC; +} + +.operations li a:hover { + color: #FFFF99; + background-color: #0099FF; +} + +.operations li a:active { + color: : #FFFF99; + background-color: #0099FF; +} + +.loggedin { + color : #D8DEB8; +} + +.marctag { + color : #000000; + background-color : #E7E7CA; +} + +.marcsubfieldletter { + background-color: #EFF1DC; +} + +.marcsubfieldname { + background-color: #EFF1DC; +} + +.subfield { + background-color: #EFF1DC; +} + +.subfieldvalue { + background-color : #FFFFFF; +} + +.menu { + color : #000000; +} + +#members a { + text-decoration : none; +} + +.menu a:link, #members a:link { + color : #0099CC; +} + +.menu a:visited, #members a:visited { + color : #0099CC; +} + +.menu a:hover, #members a:hover { + color : #990000; +} + +.menu a:active, #members a:active { + color : #990000; +} + +.opac-detail { + background-color : #FFFFCC; +} + +em.new { + color : #CC3333; +} + +.note { + background-color : #EEEEEB; + border-left : 1px solid #DDDED3; + border-top : 1px solid #DDDED3; + border-right : 1px solid #DDDED3; + border-bottom : 1px solid #DDDED3; +} +.opac-detail dd { + border-bottom : 1px solid #E7E7CA; + color : #000000; +} + +.submit { + background-color : #6699CC; + color : #FFFFCC; +} + +input.icon { + background-color : #6699CC; + color : #FFFFCC; +} + +#footer { + border-top : 1px solid #EEEEEE; +} + +#main { + background-color : transparent; + border-right : 1px solid #EEEEEE; +} + +#window { + background-color : #E7E7CA; + border-left : 1px solid #CCCC99; +} + +#masthead { + background-color : White; + border-bottom : 1px solid #EEEEEE; +} + +#nav { + background-color : #EFF1DC; +} + +#nav ul li { + background-color : #EFF1DC; /*width : 100%;*/ + border-bottom : 1px solid #CCCC99; + border-left : 0 solid #FFFFCC; + border-right : 0 solid #006699; + border-top : 0 solid #FFFFCC; +} + +#nav ul li+li { + border-bottom : 1px solid #CCCC99; + border-left : 0 solid #FFFFCC; + border-right : 0 solid #006699; +} + +#nav li ul li { + background-color : #E7E7CA; + border-bottom : 1px solid #D8DEB8; + border-left : 0 solid #FFFFCC; + border-right : 0 solid #006699; + border-top : 0 solid #FFFFCC; +} + +#nav li ul li a { + color: Blue; +} + +#nav li ul li a:link { + color: #359; +} + +#nav li ul li a:visited { + color: #359; +} + +#nav li ul li a:hover { + color: #CC3333; +} + +#results, .results { + color : #000066; +} + +#sidebar { + background-color : #F8F8EB; + border : 1px dashed #666666; +} + +#sidebar h3 { + color : #000066; +} + +#sidebar .submit { + background-color : #6699CC; + color : #FFFFCC; +} + +#search-sidebar { + background-color : #F8F8EB; +} + +.sidebar-box { + border : 1px dashed #cccccc; +} + +.issued { + color : #999999; +} + +tr.overdue td { + background-color : #fea7a7; +} + +td.overdue { + color : #cc0000; +} + + +#members { + background-color : transparent; + border : 0px dashed #666666; + color : #000066; + } + +#members a.logout { + background-color : #FFDD75; + color : Black; +} + +#members a:hover.logout { + background-color : #FFCC33; +} + +.loggedinusername { + color : #666666; +} + +/* Amazon CSS Stuff */ + +#itemReviews dt { + border-bottom: 1px solid #ddd; +} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/colors.npl.css b/koha-tmpl/opac-tmpl/prog/en/includes/colors.npl.css new file mode 100644 index 0000000000..786316ec5b --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/colors.npl.css @@ -0,0 +1,404 @@ +/* COLORS, BACKGROUNDS, AND BORDERS */ + +a { + color : #006699; +} + +a:active { + color : #990033; +} + +a:visited { + color : #006699; +} + +a:hover { + color : #990033; +} + +a:link.current { + background-color : transparent; + color : #3366CC; +} + +a:hover.current { + background-color : #CCFF00; + color : #CC3333; +} + +a:visited.current { + background-color : transparent; + color : #3366CC; +} + +a:active.current { + background-color : #99CC00; + color : #FFFF99; +} + +a:link.nav { + background-color : #FFFFCC; + color : #3366CC; +} + +a:hover.nav { + background-color : #CCFF00; + color : #CC3333; +} + +a:active.nav { + background-color : #99CC00; + color : #FFFF99; +} + +a:visited.nav { + background-color : #FFFFCC; + color : #3366CC; +} + +.menu a:link.logout { + background-color : #FFDD75; + color : Black; +} + +.menu a:active.logout { + background-color : #FFDD75; + color : Black; +} + + +.menu a:visited.logout { + background-color : #FFDD75; + color : Black; +} + +.menu a:hover.logout { + background-color : #FFCC33; + color : Black; +} + +body { + background-color : #339999; +} + +caption { + color : #000066; +} + +div.form, div.details { + background-color : #FFFFCC; +} + +h1,h2,h3,h4,h5,h6 { + color : #000066; +} + + +h1.logo { + color : #D3DFAD; +} + +p.error, div.error { + background-color : #FFFFCC; + border : 1px dashed #cc6600; +} + +div.error h3 { + color : #990000; +} + +table { + background-color : #FFFFCC; + border-collapse : collapse; +} + +td { + border-bottom : 1px solid #E7E7CA; + border-right : 1px solid #E7E7CA; +} + +th { + background-color : #D8DEB8; + border-bottom : 1px solid #000000; + border-right : 1px solid #000000; +} + +th:last-child { + background-color : #D8DEB8; + border-bottom : 1px solid #000000; +} + +th[scope="row"] { + background-color : #E7E7CA; +} + +tr.highlight th[scope="row"] { + background-color : #EFF1DC; +} + +td.input, div.form td, div.details td { + border-bottom : 1px solid #E7E7CA; + border-left : 0; + border-right : 0; + color : #000000; +} + +td.label, div.form th, div.details th { + background-color : #FFC; + border-bottom : 1px solid #E7E7CA; + border-left : 1px solid #E7E7CA; + color : #000088; +} + +td.label { + border-bottom : 1px solid #E7E7CA; + border-left : 1px solid #E7E7CA; + color : #000088; +} + +td:last-child { + border-bottom : 1px solid #E7E7CA; + border-right : 0 solid #E7E7CA; +} + +tr.highlight { + background-color : #FFFFFF; +} + +.content-block { + background-color : #FFFFCC; +} + +.current { + background-color : #FFFFFF; + color : #3366CC; +} + + +.further { + color: #CCCC99; + border: 2px solid #D8DEB8; + background-color : #E7E7CA; +} + +.further h4 { + background-color : #D8DEB8; +} + +.further li { + border-bottom : 1px solid #CCCC99; + } + +.detail-sidebar { + background-color : #E7E7CA; +} + +.operations li a, .operations li a:visited { + border: 2px solid #D8DEB8; + color: #E7E7CA; + background-color : #CC6600; +} + +.operations li a:hover { + color: #FFFFCC; + background-color: #FF9933; +} + +.operations li a:active { + color: : #FFFFCC; + background-color: #FF9933; +} + +.loggedin { + color : #D8DEB8; +} + +.marctag { + color : #000000; + background-color : #E7E7CA; +} + +.marcsubfieldletter { + background-color: #EFF1DC; +} + +.marcsubfieldname { + background-color: #FFFFCC; +} + +.subfield { + background-color: #FFFFCC; +} + +.subfieldvalue { + background-color : #FFFFFF; +} + +.menu { + color : #CCCC99; +} + +.menu a:link, #members a:link { + color : #CCFF66; +} + +.menu a:visited, #members a:visited { + color : #CCFF66; +} + +.menu a:hover, #members a:hover { + color : #FFFFCC; +} + +.menu a:active, #members a:active { + color : #FFFFCC; +} + +.opac-detail { + background-color : #FFFFCC; +} + +em.new { + color : #CC3333; +} + +.note { + background-color : #E7E7CA; + border-left : 1px solid #FFFFCC; + border-top : 1px solid #FFFFCC; + border-right : 1px solid #999900; + border-bottom : 1px solid #999900; +} + +.opac-detail dd { + border-bottom : 1px solid #E7E7CA; + color : #000000; +} + +.submit { + background-color : #CC6600; + color : #FEEDDB; +} + +input.icon { + background-color : #CC6600; + color : #FEEDDB; +} + +#footer { + border-top : 1px solid #000000; +} + +#main { + background-color : #CCCC99; + border-left : 1px solid #CCCC99; +} + +#window { + background-color : #CCCC99; + border-left : 1px solid #CCCC99; +} + +#masthead { + background-color : #339999; +} + +#nav { + background-color : #CCCC99; +} + +#nav ul li { + background-color : #D8DEB8; /*width : 100%;*/ + border-bottom : 1px solid #CCCC99; + border-left : 0 solid #FFFFCC; + border-right : 0 solid #006699; + border-top : 0 solid #FFFFCC; +} + +#nav ul li+li { + border-bottom : 1px solid #CCCC99; + border-left : 0 solid #FFFFCC; + border-right : 0 solid #006699; +} + +#nav li ul li { + background-color : #E7E7CA; + border-bottom : 1px solid #D8DEB8; + border-left : 0 solid #FFFFCC; + border-right : 0 solid #006699; + border-top : 0 solid #FFFFCC; +} + +#nav li ul li a { + color: Blue; +} + +#nav li ul li a:link { + color: #359; +} + +#nav li ul li a:visited { + color: #359; +} + +#nav li ul li a:hover { + color: #CC3333; +} + +#results, .results { + color : #000066; +} + +#sidebar { + background-color : #EFF1DC; + border : 1px dashed #CCCC99; +} + +#sidebar h3 { + color : #000066; +} + +#sidebar .submit { + background-color : #CC6600; + color : #FEEDDB; +} + +#search-sidebar { + background-color : #FFFFCC; +} + +.sidebar-box { + border : 1px dashed #CCCC99; +} + +.issued { + color : #999999; +} + +.overdue { + color : #cc0000; +} + +#members { + background-color : #339999; + border : 0px dashed #666666; + color : #000066; + } + +#members a.logout { + background-color : #FFDD75; + color : Black; +} + +#members a:hover.logout { + background-color : #FFCC33; +} + +.loggedinusername { + color : #D8DEB8; +} + +#itemReviews dt { + border-bottom: 1px solid #ddd; +} + diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket-print.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket-print.inc new file mode 100644 index 0000000000..6a63f83910 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket-print.inc @@ -0,0 +1,17 @@ + + +/includes/favicon.ico" type="image/x-icon" /> + + + + + + + \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket.inc new file mode 100644 index 0000000000..dd46a8d020 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close-basket.inc @@ -0,0 +1,24 @@ + + + +/includes/favicon.ico" type="image/x-icon" /> + + + +/includes/" /> + + + + + + + \ No newline at end of file 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 new file mode 100644 index 0000000000..c687375158 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ -0,0 +1,30 @@ + + + + + + +/includes/" /> + + + + + + + + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-open.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-open.inc new file mode 100644 index 0000000000..90770a40c3 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-open.inc @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/favicon.ico b/koha-tmpl/opac-tmpl/prog/en/includes/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..586bd559d9cd6d67a69a1e0f5b96cc7a1b95ca46 GIT binary patch literal 1406 zcmeH`J&#gB6o#Mcdf62fk=5&>a$VQ2tDr8dvVLy@KZ1gW4ht&6KOlqvJ&84;0ct8b zLT5stAc2AcC`f4dNFYGM^)3Qon{DjOzLPUK&zUos%sUwnv|%)&&3pV5K>`#lv=WC} zoYybY$?souyIp)fAHiUd;c&=cFu-cH5{X2Z&*v-_3!>2|Hk*xHF2`&(V=|dAolXgd z!?@jUMxzm}R*O_BMKYPB)9GNh+i5nN`2BuFQN&;{P%f9z>2zc=8H&Xsi9~{YK2N1m zp-?Cg2n1-i+l<F!yk0M6vl)xULa9`u-|rKP#R!E$I2;bD)hZ^FiCV3OAP6)X4YJuR zilWf#^>DddNRoss%cRq3JRT46c$|8@j??M9%$BRQD+m5-2UJx(|1%e*6}Kb^8hrb% z*Z(*;+t<=1?>J9SKYjl4b<M~2W5>w{_2Zgt^4oXsjT)``Un#HOSeN*Bzy3KdUT(2! zk)IqsJ$kn8S05Zm=7*0SZ`gR(w14luv|;_tTenrioeitH-Mt$ct<F=g?QmV(;$^zx Li?<d2^@0BY<gf51 literal 0 HcmV?d00001 diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/main.js b/koha-tmpl/opac-tmpl/prog/en/includes/main.js new file mode 100644 index 0000000000..2a8b6c934c --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/main.js @@ -0,0 +1,9 @@ +// one window.onload to rule them all + +window.onload=kohajs; + +// check to see if functions exist before loading them +function kohajs() { + if ( typeof window.verify_images == "function" ) verify_images(); +} + diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc new file mode 100644 index 0000000000..3700f85af9 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -0,0 +1,8 @@ +<div id="masthead"> + +<h1><!-- TMPL_IF NAME="opacsmallimage" --><img alt="<!-- TMPL_VAR NAME="LibraryName" -->" src="<!-- TMPL_VAR NAME="opacsmallimage" -->" /><!-- /TMPL_IF -->Library Catalog Search</h1> + +<ul><li><a href="/cgi-bin/koha/opac-main.pl">Search Home</a></li> +<li><a href="/cgi-bin/koha/opac-search.pl">Advanced Search</a></li><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></ul> + +</div> diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead_adv.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead_adv.inc new file mode 100644 index 0000000000..d7fb8c5f00 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead_adv.inc @@ -0,0 +1,21 @@ +<div id="masthead"> +<h1><!-- TMPL_IF NAME="opacsmallimage" --><img alt="<!-- TMPL_VAR NAME="LibraryName" -->" src="<!-- TMPL_VAR NAME="opacsmallimage" -->" /><!-- /TMPL_IF -->Library Catalog Search</h1> +<div class="menu"><a href="/cgi-bin/koha/opac-main.pl">Search Home</a> | <a href="" 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></div><br class="clear"> +<!-- <!-- TMPL_IF NAME="loggedinusername" --> +<div class="menu"><span class="loggedin">You are logged in as <!-- TMPL_LOOP NAME="USER_INFO" --><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a><!-- /TMPL_LOOP --></span> | <a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></div> +<!-- /TMPL_IF --> --> + +<!-- TMPL_IF NAME="loggedinusername" --><div id="members"> + <ul> + <li>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></li> + <li><a href="/cgi-bin/koha/opac-shelves.pl">My Book Lists</a></li> + <li><a href="/cgi-bin/koha/opac-user.pl">My Account</a></li> + <li><a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></li> + </ul> +</div> +<!-- TMPL_ELSE --> + <div id="members"> + <a class="card" href="/cgi-bin/koha/opac-user.pl">Log in to access<br /> cardholder features</a> + </div> +<!-- /TMPL_IF --> +</div> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc b/koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc new file mode 100644 index 0000000000..1d22f6eb40 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc @@ -0,0 +1 @@ +<div id="nav"><!-- TMPL_VAR NAME="OpacNav" --></div> diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-basket-bottom.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-basket-bottom.inc new file mode 100644 index 0000000000..0861503691 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-basket-bottom.inc @@ -0,0 +1,14 @@ +<div id="bottombloc"> +<!-- TMPL_IF NAME="loggedinusername" --> + <p> + Logged in as <b><!-- TMPL_VAR NAME="loggedinusername" --></b> <a href="/cgi-bin/koha/opac-user.pl">Members Home</a> + || <a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a> + </p> +<!-- TMPL_ELSE --> + <p> + <a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha + </p> +<!-- /TMPL_IF --> +</div> +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc new file mode 100644 index 0000000000..e84cffcdf2 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc @@ -0,0 +1,3 @@ +<!-- TMPL_IF NAME="opaccredits" --><div id="footer"><!-- TMPL_VAR NAME="opaccredits" --></div><!-- /TMPL_IF --> +</body> +</html> diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac.css b/koha-tmpl/opac-tmpl/prog/en/includes/opac.css new file mode 100644 index 0000000000..4ccdb270a3 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac.css @@ -0,0 +1,46 @@ +body { + font-family : Verdana, Geneva, Arial, sans-serif; + font-size : .7em; +} + +table { + border-collapse : collapse; + border-top : 1px solid #CCCCCC; + border-right : 1px solid #CCCCCC; + margin : 1em 0; +} + +caption { + font-size : 140%; + text-align : left; + font-weight : bold; +} + +td,th { + border-left : 1px solid #CCCCCC; + border-bottom : 1px solid #CCCCCC; + padding : 5px; +} + +th { + background-color : #CCCCCC; + border-left : 1px solid #999999; + border-bottom : 1px solid #999999; +} + +th[scope=row] { + background-color : #EEEEEE; + text-align : right; +} + +input[type=submit], input[type=button], input[type=reset]{ + background-color : #6699cc; + color : #FFFFFF; + font-size : 1em; + font-weight : bold; +} + +tr.highlight td, tr.highlight th { + background-color : #EEEEEE; +} + diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/print.css b/koha-tmpl/opac-tmpl/prog/en/includes/print.css new file mode 100644 index 0000000000..cae7ac833f --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/print.css @@ -0,0 +1,211 @@ +a:link { + color : #000066; + text-decoration: none; +} + +a:visited { + color : #000066; + text-decoration: none; +} + +a:hover { + color : #993300; + text-decoration: none; +} + +body { + background-color : #FFF; + color : #333333; + font-family : arial, geneva, sans-serif; + font-size : 14px; + margin : 0px 0px 0px 0px; +} + +caption { + color : #000066; + font-size : 18px; + font-weight : bold; + margin-top : 5px; + text-align : left; +} + +div.table { + width : 100%; +} + +form { + margin : 0px; + padding : 0px; +} + +h1 + { + color : #000066; + font-size : 22px; + font-weight : bold; + margin-bottom : 3px; + margin-top : 3px; +} + +h2 { + color : #000066; + font-size : 20px; + font-weight : bold; + margin-bottom : 3px; + margin-top : 3px; +} + +h3 { + color : #000066; + font-size : 18px; + font-weight : bold; + margin-bottom : 3px; + margin-top : 3px; +} + +h4 { + color : #000066; + font-size : 16px; + font-weight : bold; + margin-bottom : 3px; + margin-top : 3px; +} + +h5 { + color : #000066; + font-size : 15px; + font-weight : bold; + margin-bottom : 1px; + margin-top : 1px; +} + +h6 { + color : #000066; + font-size : 14px; + font-weight : bold; + margin-bottom : 1px; + margin-top : 1px; +} + +p { + margin-top : 0px; +} + +table { + background-color : #FFFFFF; + border-bottom : 0px solid #CCCCCC; + border-collapse : collapse; + border-left : 0px solid #CCCCCC; + margin : 3px 0px 5px 0px; + padding : 0px; + width : 99%; +} + +td { + background-color : #FFF; + border-bottom : 1px solid #CCCCCC; + border-right : 1px solid #CCCCCC; + font-size : 12px; + padding : 5px 5px 5px 5px; + vertical-align : top; +} + +td:last-child { + background-color : #FFF; + border-bottom : 1px solid #CCCCCC; + border-right : 0px solid #CCCCCC; + font-size : 12px; + padding : 5px 5px 5px 5px; + vertical-align : top; +} + +th { + background-color : #E9E9E9; + border-bottom : 1px solid #CCCCCC; + border-right : 1px solid #CCCCCC; + font-size : 14px; + font-weight : bold; + padding : 5px 5px 5px 5px; +} + +th:last-child { + background-color : #E9E9E9; + border-bottom : 1px solid #CCCCCC; + border-right : 0px solid #CCCCCC; + font-size : 14px; + font-weight : bold; + padding : 5px 5px 5px 5px; +} + +td.input, div.form td, div.details td { + border-bottom : 1px solid #CCCCCC; + border-left : 0px; + border-right : 0px; + color : #000000; + line-height : 1.5em; + padding : 4px; + text-align : left; +} + +td.label, div.form th, div.details th { + background-color : #FFF; + border-bottom : 1px solid #CCCCCC; + border-left : 1px solid #CCCCCC; + border-right : 0px; + border-top : 0px; + color : #000088; + font-weight : bold; + line-height : 1.5em; + padding : 4px; + text-align : right; + vertical-align : top; +} + +tr.highlight { + background-color: #CCCCCC; +} + +.class { + font-weight : bold; +} + +.cancel { + background-color : #993300; + color : #FFFFCC; + font-size : 12px; + font-weight : bold; + padding : 2px; +} + +.error { + font-weight: bold; +} + +.ex { + font-family : "Courier New", Courier, monospace; +} +.inline { + display : inline; +} + +.print { + display : none; +} + +.submit { + background-color : #669999; + color : #FFFFCC; + font-size : 12px; + font-weight : bold; + padding : 2px; +} + +#main { + background-color : #FFF; + border-left : 0px solid #CCCC99; + margin-left : 2%; + margin-right : 2%; + margin-top : 1%; + padding : 5px; + position : relative; +} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/script.js b/koha-tmpl/opac-tmpl/prog/en/includes/script.js new file mode 100644 index 0000000000..bb4423348e --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/script.js @@ -0,0 +1,66 @@ +function ValidateCode() +{ + // Validating the patron id by Oscar R. Paredes + // Please do not remove this line and the line above. + var patron_id = document.forms['auth'].userid.value; + var snumber = "Pp 0123456789"; + var len = patron_id.length; + var new_patron_id = ""; + var bOK = true + if (patron_id.length != 0) + { + for (i=0;(i<len)&&(bOK);i++) + { pos = snumber.indexOf(patron_id.substring(i,i+1)); + if (pos <0 || pos > 12) + { alert("Your card number is invalid, please verify it."); + bOK = false; + } + else + { if (pos > 2) + car = patron_id.substring(i,i+1); + else + car = ""; + new_patron_id = new_patron_id + car; + } + } // end for i + while (bOK && (new_patron_id.length < 7)) + new_patron_id = "0" + new_patron_id; + if (new_patron_id.length > 7) + { alert("Your library card number is too long."); + bOK = false; + } + if (bOK) + document.forms['auth'].userid.value = new_patron_id; + else + { + document.forms['auth'].userid.value = ""; + document.forms['auth'].userid.focus(); + } + } +} + +function CheckAll() +{ +count = document.mainform.elements.length; + for (i=0; i < count; i++) + { + if(document.mainform.elements[i].checked == 1){ + document.mainform.elements[i].checked = 0; + } else { + document.mainform.elements[i].checked = 1; + } + } +} + +function confirmDelete(message) { + var agree = confirm(message); + if(agree) { + return true; + } else { + return false; + } +} + +function Dopop(link) { + newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes'); + } \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/kohaerror.tmpl b/koha-tmpl/opac-tmpl/prog/en/kohaerror.tmpl new file mode 100644 index 0000000000..b6671dac8f --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/kohaerror.tmpl @@ -0,0 +1,10 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- An Error Has Occurred +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + + +<div id="main"> +<h3>An Error has Occurred</h3><!-- TMPL_VAR NAME="errormessage" --></div> +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-ISBDdetail.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-ISBDdetail.tmpl new file mode 100644 index 0000000000..9d31f0c85f --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-ISBDdetail.tmpl @@ -0,0 +1,69 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- ISBD +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> + <h3>ISBD</h3> + <p><!-- TMPL_VAR name="ISBD" --></p> + + <!-- TMPL_IF name="subscriptionsnumber" --> + <h2>We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscription(s) associated with this title.</h2> + <p>Below is a list of the three latest issues :</p> + <!-- TMPL_LOOP Name="subscriptions" --> + <!-- TMPL_IF name="subscriptionnotes"--> + <h2><!--TMPL_VAR Name="subscriptionnotes"--> </h2> + <!-- /TMPL_IF --> + <!--TMPL_IF Name="latestserials"--> + <table> + <tr><th>Issue number</th><th>Date</th><th>Status</th></tr> + <!--TMPL_LOOP Name="latestserials"--> + <tr> + <td> + <!--TMPL_VAR Name="serialseq"--> + </td> + <td> + <!--TMPL_VAR Name="planneddate"--> + </td> + <td> + <!--TMPL_IF Name="status1"-->Pending + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status2"-->Arrived + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status3"-->Late + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status4"-->Missing + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status5"-->Not Issued + <!--/TMPL_IF--> + <!--/TMPL_IF--> + <!--/TMPL_IF--> + <!--/TMPL_IF--> + <!--/TMPL_IF--> + </td> + </tr> + <!--/TMPL_LOOP --> + </table> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + <p><a href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Serial issues">Click here</a> for more information on subscription(s) history</p> + <!-- /TMPL_IF --> + + <!-- TMPL_UNLESS NAME="norequests" --> + <form action="/cgi-bin/koha/opac-reserve.pl" method="post"> + <input type="submit" name="submit" value="Place Reserve" /> + <input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" /> + </form> +<!-- /TMPL_UNLESS --> + +<form action="opac-MARCdetail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="MARC View" /></form> + +<form action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="Simple View" /></form> + +<form action="opac-detailprint.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="Print" onclick="Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->'); return false;"/></form> + +<form action="opac-addbookbybiblionumber.pl" method="get"><input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><input type="submit" value="Add to Shelf" onclick="Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;" /></form> + +<form><input type="submit" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->'); return false;" value="Add to Book Bag" /></form> +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-MARCdetail.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-MARCdetail.tmpl new file mode 100644 index 0000000000..8177bef033 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-MARCdetail.tmpl @@ -0,0 +1,143 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- MARC Details for Record No. <!-- TMPL_VAR name="biblionumber" --> +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> +<h2>MARC View</h2> +<!-- TMPL_UNLESS NAME="norequests" --> + <form action="/cgi-bin/koha/opac-reserve.pl" method="post"> + <input type="submit" name="submit" VALUE="Place Reserve" /> + <input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" /> + </form> +<!-- /TMPL_UNLESS --> +<!-- Hide from NPL --><form action="opac-ISBDdetail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="ISBD" /></form><!-- /Hide from NPL --> + +<form action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="Normal View" /></form> + +<form action="opac-detailprint.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="Print" onclick="Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->'); return false;"/></form> + +<!-- TMPL_IF name="virtualshelves" --><form action="/cgi-bin/koha/opac-addbookbybiblionumber.pl" method="get"><input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><input type="submit" value="Add to My Book List" onclick="Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;" /></form><!-- /TMPL_IF --> + +<form><input type="submit" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->'); return false;" value="Add to Book Bag" /></form> + + <table><!-- TMPL_LOOP name="0XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="1XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="2XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="3XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="4XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="5XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="6XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="7XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="8XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP name="9XX" --> + <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr> + <!-- TMPL_LOOP name="subfield" --> + <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td> + <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td> + <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td> + </tr> + <!-- /TMPL_LOOP --> + <!-- /TMPL_LOOP --> + </table> +<!-- TMPL_IF NAME="item_header_loop" --> +<h3>Copies</h3> + <table> + <tr> + <!-- TMPL_LOOP name="item_header_loop" --> + <th> + <!-- TMPL_VAR name="header_value" --> + </th> + <!-- /TMPL_LOOP --> + </tr> + <!-- TMPL_LOOP name="item_loop" --> + <tr> + <!-- TMPL_VAR name="item_value" --> + </tr> + <!-- /TMPL_LOOP --> + </table><!-- TMPL_ELSE --> + <p>No copies available.</p> + <!-- /TMPL_IF --> +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-account.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-account.tmpl new file mode 100644 index 0000000000..efcb9763af --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-account.tmpl @@ -0,0 +1,46 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + +<!--CONTENT--> + +<!-- TMPL_LOOP NAME="BORROWER_INFO" --> +<div id="main"> +<h1>Account for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h1> +<!-- /TMPL_LOOP --> + +<ul><li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> + <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> <!-- TMPL_IF name="OpacPasswordChange" --> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- /TMPL_IF --><!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul> + +<!-- TMPL_IF NAME="ACCOUNT_LINES" --> +<h3>Fines and Charges</h3> +<table> +<thead> +<tr><th>Date</th> +<th>Description</th> +<th>Fine Amount</th> +<th>Amount Outstanding</th> +</tr> +</thead> + +<tfoot><tr> +<th colspan="3">Total Due</th> +<td class="sum">$<!-- TMPL_VAR NAME="total" --></td> +</tr></tfoot> + +<tbody> +<!-- TMPL_LOOP NAME="ACCOUNT_LINES" --> +<!-- TMPL_IF NAME="odd" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> +<td><!-- TMPL_VAR NAME="date" --></td> +<td><!-- TMPL_VAR NAME="description" --> +<!-- TMPL_IF NAME="print_title" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td> +<!-- TMPL_IF NAME="amountcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="amount" --></td> +<!-- TMPL_IF NAME="amountoutstandingcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF -->$<!-- TMPL_VAR NAME="amountoutstanding" --></td></tr> +<!-- /TMPL_LOOP --> +</tbody> + +</table> +<!-- TMPL_ELSE --><h4>You have no Fines or Charges</h4><!-- /TMPL_IF --> +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl new file mode 100644 index 0000000000..2b447a7749 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl @@ -0,0 +1,24 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Add to My Book List<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<div id="window"> +<h3>Add <i><!-- TMPL_VAR NAME="title" --></i> <!-- TMPL_IF NAME="author" -->by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> to a Book List</h3><form action="/cgi-bin/koha/opac-addbookbybiblionumber.pl" method="post"> + +<h3>Select a Book List:</h3> +<p><label for="shelfnumber">Add to Existing List</label> <!-- TMPL_VAR NAME="CGIbookshelves" --></p> +</form> +<h4>...or...</h4> +<form action="/cgi-bin/koha/opac-addbookbybiblionumber.pl" method="post"> + +<h3>Add to a new Book List:</h3> +<p><label for="newbookshelf">New List Name:</label><input type="text" id="newbookshelf" name="newbookshelf" maxlength="40" size="40"> + <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"></p> +<p><label for="category">List Type: </label></th><td><select id="category" name="category"> + <option value="1">Private</option> + <option value="2">Public</option> + <option value="3">Free</option> + </select></p> + + + <p><input type="hidden" name="category" value="1" /><input type="submit" value="Add to My Book List"></p></form> +</div> +</body> +</html> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-auth.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-auth.tmpl new file mode 100644 index 0000000000..db2c39374c --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-auth.tmpl @@ -0,0 +1,48 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Log in to Your Account +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + +<!--CONTENT--> +<div id="main"> +<!-- TMPL_IF NAME="loginprompt" --> +<!-- login prompt time--> +<h3>Log In to Your Account</h3> +<!-- TMPL_IF NAME="nopermission" --> +<!-- This is what is displayed if user doesnt have permission --> +<p>Sorry, the system doesn't think you have permission to access this page. </p> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="timed_out" --> +<!-- This is what is displayed if login has timed out --> +<p>Sorry, your session has timed out. Please log in again.</p> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="different_ip" --> +<!-- This is what is displayed if user doesnt have permission --> +<p>You are logging from a different IP address. Please log in again.</p> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="invalid_username_or_password" --> +<!-- This is what is displayed if user doesnt have permission --> +<p>You entered an incorrect username or password. Please try again! And remember, usernames and passwords are case sensitive.</p> +<!-- /TMPL_IF --> + +<form action="<!-- TMPL_VAR NAME="url" -->" name="auth" id="auth" method="post"> +<!-- TMPL_LOOP NAME="INPUTS" --> + <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" /> +<!-- /TMPL_LOOP --> +<table> +<tr><th><label for="userid">Your card number</label></th><td> +<input type="text" size="25" id="userid" name="userid" /></td> +<tr><th><label for="password">Password or PIN</label></th><td><input type="password" size="25" id="password" name="password" /></td> +</table> +<input type="submit" value="Log In" class="submit" /> + <h5>Don't have a password yet?</h5><p> If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p> +<h5>Don't have a library card?</h5><p> If you don't have a library card, stop by your local library to sign up. </p> +</form> + + +<!-- /TMPL_IF --> +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-basket.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-basket.tmpl new file mode 100644 index 0000000000..05254693c9 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-basket.tmpl @@ -0,0 +1,85 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Your Book Bag<!-- TMPL_IF NAME="print_basket" --><!-- TMPL_INCLUDE NAME="doc-head-close-basket-print.inc" --><!-- TMPL_ELSE --><!-- TMPL_INCLUDE NAME="doc-head-close-basket.inc" --><!-- /TMPL_IF --> + +<div id="window"> + <!-- TMPL_UNLESS NAME="print_basket" --><h3>Your Book Bag</h3> + <!-- MENUS --> + +<!-- TMPL_IF NAME="verbose" --> +<form action="opac-basket.pl" method="get"><input type="submit" onclick="showLess(); return false;" value="Brief Display" /></form> +<!-- TMPL_ELSE --> +<form action="opac-basket.pl" method="get"><input type="submit" onclick="showMore(); return false;" value="More Details" /></form> +<!-- /TMPL_IF --> +<form action="opac-basket.pl" method="get"><input type="submit" onclick="delSelRecords(); return false;" value="Remove Selected Items" /></form> + +<form action="opac-basket.pl" method="get"><input type="submit" onclick="sendBasket(); return false;" value="Send" /></form> + +<form action="opac-basket.pl" method="get"><input type="submit" onclick="printBasket(); return false;" value="Print" /></form> + + <form action="opac-basket.pl" method="get"><input type="submit" onclick="delBasket(); return false;" value="Empty and Close" /></form> +<form action="opac-basket.pl" method="get"><input type="submit" onclick="quit(); return false;" value="Hide Window" /></form> +<!-- /TMPL_UNLESS --> + + +<!-- TMPL_IF NAME="verbose" --> +<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> +<h3><!-- TMPL_VAR NAME="title" --><!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --></h3> +<table> + <!-- TMPL_UNLESS NAME="print_basket" --><tr><td colspan="2"><form><label for="bib<!-- TMPL_VAR NAME="biblionumber" -->"><input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked)"> Select this Item</label></form></td></tr><!-- /TMPL_UNLESS --> + + <!-- TMPL_IF name="isbn" --><tr><th scope="row">ISBN:</th><td><!-- TMPL_VAR NAME="ISBN" --></td></tr><!-- /TMPL_IF --> + + <!-- TMPL_IF name="author" --><tr><th scope="row">Author:</th><td> <!-- TMPL_VAR NAME="author" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="additional" --><tr><th scope="row">Additional authors:</th><td><!-- TMPL_VAR NAME="additional" --></td></tr><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="publishercode" --> + <tr><th scope="row">Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="pages" --> + <tr><th scope="row">Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr> +<!-- /TMPL_IF --> + <!-- TMPL_IF name="collection" --><tr><th scope="row">Collection:</th><td> <!-- TMPL_VAR NAME="seriestitle" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="subject" --><tr><th scope="row">Subject:</th><td> <!-- TMPL_VAR NAME="subject" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="copyrightdate" --><tr><th scope="row">Copyright:</th><td> <!-- TMPL_VAR NAME="copyrightdate" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="notes" --><tr><th scope="row">Notes:</th><td> <!-- TMPL_VAR NAME="notes" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="unititle" --><tr><th scope="row">Unified title:</th><td> <!-- TMPL_VAR NAME="unititle" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="serial" --><tr><th scope="row">Serial:</th><td><!-- TMPL_VAR NAME="serial" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="dewey" --><tr><th scope="row">Dewey:</th><td><!-- TMPL_VAR name="dewey" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="classification" --><tr><th scope="row">Call Number:</th><td> <!-- TMPL_VAR name="classification" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="lccn" --><tr><th scope="row">LCCN:</th><td> <!-- TMPL_VAR name="lccn" --></td></tr><!-- /TMPL_IF --> + <!-- TMPL_IF name="url" --><tr><th scope="row">URL:</th><td> <!-- TMPL_VAR NAME="url" --></td></tr><!-- /TMPL_IF --> + </table> + <table><tr> + <th>Location: </th> + <th>Barcode: </th> + </tr> + <!-- TMPL_LOOP NAME="ITEM_RESULTS" --> + <tr> + <td> + <!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" --> + <!-- TMPL_IF name="itemcallnumber" --> + (<!-- TMPL_VAR NAME="itemcallnumber" -->) + <!-- /TMPL_IF --> + </td> + <td><!-- TMPL_VAR NAME="barcode" --></td> + </tr> + <!-- /TMPL_LOOP --></table> + <br> +<!-- /TMPL_LOOP --> +<!-- TMPL_ELSE --> +<table><!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> + <!-- BIBLIO RECORD TABLE --> +<!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> +<td><form><!-- TMPL_UNLESS NAME="print_basket" --><label for="bib<!-- TMPL_VAR NAME="biblionumber" -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></label><br><input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked);"><!-- /TMPL_UNLESS --></form></td><td><p><a href="#" onclick="openBiblio('<!-- TMPL_VAR name="dest" -->',<!-- TMPL_VAR name="biblionumber" -->)"><!-- TMPL_VAR NAME="title" --></a> <!-- TMPL_VAR NAME="author" --> + <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --> + <!-- TMPL_IF name="place" --> <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --><!-- /TMPL_IF --> + <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" --> <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --><!-- /TMPL_IF --> + <!-- TMPL_IF name="notes" --><p><!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF --> + </p></td><td><!-- TMPL_VAR NAME="classification" --></td></tr> + <!-- /TMPL_LOOP --> +</table> +<!-- /TMPL_IF --> +<!-- TMPL_UNLESS NAME="print_basket" --> +<form name="myform"><input type="hidden" name="records"></form> +<!-- /TMPL_UNLESS --> +</div> +</body> +</html> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl new file mode 100644 index 0000000000..feb700c524 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl @@ -0,0 +1,217 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Details for: <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> +<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> + +<!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="isbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._PIdp-schmooS,TopRight,7,-26_SCMZZZZZZZ_.jpg" alt="Book Cover Image" /></a><!-- TMPL_ELSE --><img border="0" src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="Book Cover Image" /><!-- /TMPL_IF --><!-- /TMPL_IF --> + + +<ul> +<!-- TMPL_UNLESS NAME="norequests" --><li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Place Reserve</a></li><!-- /TMPL_UNLESS --> +<li><a class="detail" href="/cgi-bin/koha/opac-MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">MARC View</a></li> +<!-- Hide from NPL --> <li><a class="isbd" href="/cgi-bin/koha/opac-ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">ISBD</a></li> <!-- Hide from NPL --> +<li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">Print</a></li> +<!-- TMPL_IF name="virtualshelves" --><li><a class="shelf" href="/cgi-bin/koha/opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">Add to My Book List</a></li><!-- /TMPL_IF --> +<li><a class="cart" href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">Add to My Book Bag</a></li> +</ul> + + +<h4>Search for this title in:</h4> +<ul> +<li><a href="http://www.google.com/search?q=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->+site:worldcatlibraries.org">Other Libraries(WorldCat)</a></li> +<li><a href="http://www.scholar.google.com/scholar?q=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->">Other Databases (Google Scholar)</a></li></ul> + +<h2><!-- TMPL_VAR NAME="title" --><!-- TMPL_IF NAME="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --></h2> +<!-- TMPL_IF NAME="author" --><h3>By <a href="/cgi-bin/koha/opac-search.pl?marclist=biblio.author&and_or=and&excluding=&operator=contains&value=<!-- TMPL_VAR NAME="author" -->&resultsperpage=20&orderby=biblio.title&op=do_search"><!-- TMPL_VAR NAME="author" --></a></h3><!-- /TMPL_IF --> + +<table> + +<!-- TMPL_UNLESS NAME="MARCNOTES" --> + +<!-- TMPL_IF NAME="notes" --> +<tr><th scope="row">Notes:</th><td><!-- TMPL_VAR NAME="notes" --></td></tr><!-- /TMPL_IF --> + +<!-- /TMPL_UNLESS --> + +<!-- TMPL_UNLESS NAME="MARCSUBJCTS" --> + +<!-- TMPL_IF name="subjects" --><tr><th>Subject(s):</th><td><!-- TMPL_LOOP name="subjects" --><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, <!-- /TMPL_LOOP --></td></tr><!-- /TMPL_IF --> + +<!-- /TMPL_UNLESS --> + +<!-- TMPL_IF NAME="MARCNOTES" --> + <tr> + <th scope="row">Detailed notes:</th> + <td scope="row"><ul><!-- TMPL_LOOP NAME="MARCNOTES" --><li><!-- TMPL_VAR NAME="marcnote" --></li><!-- /TMPL_LOOP --></ul></td></tr> + <!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="MARCSUBJCTS" --> + <tr> + <th scope="row">Related links:</th> + <td><ul><!-- TMPL_LOOP NAME="MARCSUBJCTS" --> + <!-- TMPL_IF name="linkvalue" --> + <li><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=<!-- TMPL_VAR name="link" -->&and_or=and&operator==&value=<!-- TMPL_VAR NAME="linkvalue" escape="HTML"-->"><!-- TMPL_VAR NAME="marcsubjct" --></a></li> + <!-- TMPL_ELSE --> + <li><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="marcsubjct" escape="HTML"-->"><!-- TMPL_VAR NAME="marcsubjct" --></a></li> + <!-- /TMPL_IF --> + +<!-- /TMPL_LOOP --></ul></td></tr> + <!-- /TMPL_IF --> +<!-- TMPL_IF NAME="item_description" --> +<tr> +<th scope="row">Item Description (from Amazon.com):</th> +<td><ul><li><!-- TMPL_VAR NAME="item_description" --></li></ul></td></tr> +<!-- /TMPL_IF --> + + + +<!-- TMPL_IF NAME="abstract" --><tr><th scope="row">Format:</th><td><!-- TMPL_VAR NAME="abstract" --></td></tr><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="copyrightdate" --> + <tr><th scope="row">Copyright:</th><td><!-- TMPL_VAR NAME="copyrightdate" --></td></tr> +<!-- /TMPL_IF --> + <!-- TMPL_IF NAME="seriestitle" --><tr><th scope="row">Series Title:</th><td><a href="/cgi-bin/koha/opac-search.pl?marclist=biblio.seriestitle&and_or=and&excluding=&operator=contains&value=<!-- TMPL_VAR NAME="seriestitle" ESCAPE=URL -->&resultsperpage=20&orderby=biblio.title&op=do_search"><!-- TMPL_VAR NAME="seriestitle" --></a><!-- TMPL_IF NAME="volume" --><!-- TMPL_VAR NAME="volume" --><!-- /TMPL_IF --></td></tr><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="isbn" --> + <tr><th scope="row">ISBN:</th><td><!-- TMPL_VAR NAME="isbn" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="lccn" --> + <tr><th scope="row">LCCN:</th><td><!-- TMPL_VAR NAME="lccn" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="publishercode" --> + <tr><th scope="row">Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="pages" --> + <tr><th scope="row">Physical Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr> +<!-- /TMPL_IF --> +<!-- /TMPL_LOOP --> + + <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> + <tr><th scope="row">Record No.:</th><td><!-- TMPL_VAR NAME="biblionumber" --></td></tr> <!-- /TMPL_LOOP --> +</table> +<table> +<!-- TMPL_IF NAME="MARCURLS" --> + <tr><th scope="row">Related URLs: </th><td><ul><!-- TMPL_LOOP NAME="MARCURLS" --><li><a href="<!-- TMPL_VAR NAME="MARCURL" -->"><!-- TMPL_VAR NAME="MARCURL" --></a></li><!-- /TMPL_LOOP --></ul></td></tr> + <!-- /TMPL_IF --> +</table> +<br clear="right" /> +</div> + +<!-- TMPL_IF NAME="ITEM_RESULTS" --> +<table> +<!--HOLDINGS INFORMATION HEADER TABLE ROWS--> +<tr><!-- <th> </th> --> +<th>Type/Format</th> +<th>Call Number</th> +<th>Location</th> +<th>Status</th> +<th>Due Date</th> +<th>Last Seen</th> +<!-- <th>Barcode</th> --></tr> +<tbody> +<!--INFORMATION ROWS--> +<!-- TMPL_LOOP NAME="ITEM_RESULTS" --> +<tr><td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="description" -->.gif" align="left" title="<!-- TMPL_VAR NAME="barcode" -->" alt="" /><!-- TMPL_VAR NAME="description" --></td> +<td><!-- TMPL_VAR NAME="classification" --></td> + <td> + <!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" --> + <!-- TMPL_IF name="itemcallnumber" --> + (<!-- TMPL_VAR NAME="itemcallnumber" -->) + <!-- /TMPL_IF --> + </td> + <td> + <!-- TMPL_IF name="datedue" --> + On loan + <!-- TMPL_ELSE --> + <!-- TMPL_IF name="notforloantext" --> + <!-- TMPL_VAR name="notforloantext" --> + <!-- TMPL_ELSE --> + Available + <!-- /TMPL_IF --> + <!-- /TMPL_IF --> + </td> +<td><!-- TMPL_VAR NAME="datedue" --></td> +<td><!-- TMPL_VAR NAME="datelastseen" --></td> +<!-- <td><!-- TMPL_VAR NAME="barcode" --></td> --></tr> +<!-- /TMPL_LOOP --> +</tbody> +</table> +<!-- TMPL_ELSE --> +<table><tr><td>No copies available.</td></tr></table> +<!-- /TMPL_IF --> + <!-- TMPL_IF name="subscriptionsnumber" --> + <p>This is a serial subscription (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> + <!-- TMPL_LOOP Name="subscriptions" --> + <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR Name="subscriptionnotes"--> </p><!-- /TMPL_IF --> + <!--TMPL_IF Name="latestserials"--> + <p> The three latest issues related to this subscription:</p> + <table> + <!--TMPL_LOOP Name="latestserials"--> + <tr> + <td> + <!--TMPL_VAR Name="serialseq"--> + </td> + <td> + <!--TMPL_VAR Name="planneddate"--> + </td> + <td> + <!--TMPL_IF Name="status1"-->Waited + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status2"-->Arrived + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status3"-->Late + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status4"-->Missing + <!--TMPL_ELSE --> + <!-- TMPL_IF Name="status5"-->Not Issued + <!--/TMPL_IF--> + <!--/TMPL_IF--> + <!--/TMPL_IF--> + <!--/TMPL_IF--> + <!--/TMPL_IF--> + </td> + </tr> + <!--/TMPL_LOOP --> + </table> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + <p> For more information: View a record of <a href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Serial issues">this subscription's issues</a></p> + <!-- /TMPL_IF --> +<!-- TMPL_IF NAME="AmazonContent" --> +<!-- Amazon Reviews --> +<div id="itemReviews"> + <h2>Amazon Reader Reviews:</h2> + <h4> + <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> + <!-- TMPL_IF NAME="isbn" --> + <a href="http://www.amazon.com/gp/customer-reviews/write-a-review.html/002-2970817-7876066?%5Fencoding=UTF8&asin=<!-- TMPL_VAR NAME="isbn" -->&store=books">Add your own review</a></h4> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --><br/> + + <!-- TMPL_IF NAME="rating" --> + <h4>Rating (from Amazon.com):</h4> + <div id="starMT"><div id="starFull" style="width:<!-- TMPL_VAR NAME="rating" -->px"></div></div> + + <!-- TMPL_LOOP NAME="REVIEWS" --> + <div class="content_set"> + <!-- TMPL_IF NAME="summary" --> + <h4 class="underline"> <!-- TMPL_VAR NAME="summary" --></h4> + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME="comment" --> + <p><!-- TMPL_VAR NAME="comment" --> + </p><!-- /TMPL_IF --> + </div> + <!-- /TMPL_LOOP --> + <!-- TMPL_ELSE --> + + <div class="content_set"> + <p class="error"> Sorry, there are no reviews available for this title. </p> + </div> + + <!-- /TMPL_IF --> +</div> <!-- itemReviews --> +<!-- /TMPL_IF--> + +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-detailprint.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-detailprint.tmpl new file mode 100644 index 0000000000..ee4cb2ed0d --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-detailprint.tmpl @@ -0,0 +1,85 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Details for: <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE NAME="doc-head-close-basket-print.inc" --> + +<div id="window"> +<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> +<h2><!-- TMPL_VAR NAME="title" --> <!-- TMPL_IF NAME="subtitle" -->: <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="author" -->; By <!-- TMPL_VAR NAME="author" --></h2><!-- /TMPL_IF --> + +<table> + +<!-- TMPL_IF NAME="abstract" --><tr><th scope="row">Format:</th><td><!-- TMPL_VAR NAME="abstract" --></td></tr><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="copyrightdate" --> + <tr><th scope="row">Copyright:</th><td><!-- TMPL_VAR NAME="copyrightdate" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="isbn" --> + <tr><th scope="row">ISBN:</th><td><!-- TMPL_VAR NAME="isbn" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="lccn" --> + <tr><th scope="row">LCCN:</th><td><!-- TMPL_VAR NAME="lccn" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="publishercode" --> + <tr><th scope="row">Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="pages" --> + <tr><th scope="row">Physical Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="notes" --> +<tr><th scope="row">Notes:</th><td><!-- TMPL_VAR NAME="notes" --></td></tr> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + +<!-- TMPL_UNLESS NAME="MARCSUBJCTS" --> +<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> +<!-- TMPL_IF name="subjects" --><tr><th scope="row">Subject(s):</th><td><!-- TMPL_LOOP name="subjects" --><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, <!-- /TMPL_LOOP --></td></tr><!-- /TMPL_IF --> +<!-- /TMPL_LOOP --> +<!-- /TMPL_UNLESS --> + +<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> + <tr><th scope="row">Record No.:</th><td><!-- TMPL_VAR NAME="biblionumber" --></td></tr> <!-- /TMPL_LOOP --> + +<!-- TMPL_IF NAME="MARCNOTES" --> + <tr> + <th scope="row">Detailed notes:</th> + <td><ul><!-- TMPL_LOOP NAME="MARCNOTES" --><li><!-- TMPL_VAR NAME="marcnote" --></li><!-- /TMPL_LOOP --></ul></td></tr> + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME="MARCSUBJCTS" --> + <tr> + <th scope="row">Related links:</th> + <td><ul><!-- TMPL_LOOP NAME="MARCSUBJCTS" --><li><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="marcsubjct" escape="HTML"-->"><!-- TMPL_VAR NAME="marcsubjct" --></a></li><!-- /TMPL_LOOP --></ul></td></tr> + <!-- /TMPL_IF --> +</table> + +<!-- TMPL_IF NAME="ITEM_RESULTS" --> +<table> +<!--HOLDINGS INFORMATION HEADER TABLE ROWS--> +<tr> +<th>Type/Format</th> +<th>Call Number</th> +<th>Location</th> +<th>Due Date</th> +<th>Last Seen</th> +<th>Barcode</th></tr> +<tbody> +<!--INFORMATION ROWS--> +<!-- TMPL_LOOP NAME="ITEM_RESULTS" --> +<tr><td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="description" -->.gif" align="left" title="<!-- TMPL_VAR NAME="barcode" -->" alt="" /><!-- TMPL_VAR NAME="description" --></td> +<td><!-- TMPL_VAR NAME="classification" --></td> +<td><!-- TMPL_VAR NAME="branchname" --></td> +<td><!-- TMPL_VAR NAME="datedue" --></td> +<td><!-- TMPL_VAR NAME="datelastseen" --></td> +<td><!-- TMPL_VAR NAME="barcode" --></td></tr> +<!-- /TMPL_LOOP --> +</tbody> +</table> +<!-- TMPL_ELSE --> +<table><tr><td>No copies available.</td></tr></table> +<!-- /TMPL_IF --> +<script language="javascript" type="text/javascript"> +function docprint() { + window.print(); + window.close(); +} +</script> +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-dictionary.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-dictionary.tmpl new file mode 100644 index 0000000000..89e3166505 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-dictionary.tmpl @@ -0,0 +1,142 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Dictionary Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> + +<div id="window"> + <h1>Dictionary Search</h1> + +<form name="f" method="post" action="opac-dictionary.pl"> + <input type="hidden" name="op" value="do_search" /> + <label for="keyword">Keyword(s): </label> + <input type="hidden" name="marclist" value="<!-- TMPL_VAR Name="marclist" -->" /> + <input type="text" name="search" value="<!-- TMPL_VAR Name="search" -->" size="20" /> + <input type="submit" value="Start search" class="submit" /> + <input type="hidden" name="type" value="<!-- TMPL_VAR Name="type" -->" /> + <input type="hidden" name="index" value="<!-- TMPL_VAR Name="anindex" ESCAPE="URL" -->" /> + </form> + +<!-- TMPL_IF Name=search --> + <!-- TMPL_IF NAME="authresult" --> + <div class="pages"> + <!-- TMPL_IF NAME="displayprev" --> + <a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><<Previous</a> + <!-- /TMPL_IF --> + <!-- TMPL_LOOP NAME="numbers" --> + <!-- TMPL_IF NAME="highlight" --> + <span class="current"><!-- TMPL_VAR NAME="number" --></span> + <!-- TMPL_ELSE --> + <a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + <!-- TMPL_IF NAME="displaynext" --> + <a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&marclist=<!-- TMPL_VAR NAME="marclist" -->&search=<!-- TMPL_VAR NAME="search" -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->">Next>></a> + <!-- /TMPL_IF --> +</div> + <div id="results"> + <!-- TMPL_IF NAME="nbresults" --> + Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --> in Authorities.<!-- TMPL_ELSE -->No results found in Authorities. + <!-- /TMPL_IF --> + </div> + + <table> + <tr> + <th colspan="3">Authorities</th> + </tr> + <tr> + <th>Summary</th> + <th>Used in</th> + <th>Select</th> + </tr> + <!-- TMPL_LOOP NAME="authresult" --> + <!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> + <td> + <!-- TMPL_VAR NAME="summary" --> + </td> + <td> + <!-- TMPL_VAR NAME="used" --> record(s) + </td> + <td> + <a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="summary" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">Select</a> | + <a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="mainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">Sel & close</a> + </td> + </tr> + <!-- /TMPL_LOOP --> + </table> + <!-- TMPL_ELSE --> + <h4>No results in Authorities</h4> + <!-- /TMPL_IF --> + + + <!-- TMPL_IF Name=catresult --> + <h3>Catalog Search Results</h3> + <div id="results"> + <!-- TMPL_IF NAME="total" --> + Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> in the catalog<!-- TMPL_ELSE -->No results found in the catalog. + <!-- /TMPL_IF --> + </div> + + <table> + <tr> + <th>Summary</th> + <th>Used in</th> + <th>Select</th> + </tr> + <!-- TMPL_LOOP NAME="catresult" --> + <!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><!-- /TMPL_IF --> + <td> + <!-- TMPL_IF name="MARC_ON" --> + <!-- TMPL_VAR NAME="value" --> + <!-- TMPL_ELSE --> + <!-- TMPL_VAR NAME="value" --> + <!-- /TMPL_IF --> + </td> + <td> + <!-- TMPL_VAR NAME="count" --> record(s) + </td> + <td> + <a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">Select</a> | + <a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">Sel & close</a> + </td> + </tr> + <!-- /TMPL_LOOP --> + </table> + + <div class="pages"> + <!-- TMPL_IF NAME="displayprev" --> + <a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><<Previous</a> + <!-- /TMPL_IF --> + <!-- TMPL_LOOP NAME="numbers" --> + <!-- TMPL_IF NAME="highlight" --> + <span class="current"><!-- TMPL_VAR NAME="number" --></span> + <!-- TMPL_ELSE --> + <a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + <!-- TMPL_IF NAME="displaynext" --> + <a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&marclist=<!-- TMPL_VAR NAME="marclist" -->&search=<!-- TMPL_VAR NAME="search" -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->">Next>></a> + <!-- /TMPL_IF --> + + <div id="results"> + <!-- TMPL_IF NAME="total" --> + Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> in the catalog.<!-- TMPL_ELSE -->No results found in the catalog. + <!-- /TMPL_IF --> + </div> + + <!-- /TMPL_IF --> + <script language="JavaScript" type="text/javascript"> + function SelectEntry(myentry, myindex, wclose){ + if (opener.document.f.value[myindex].value!=""){ + opener.document.f.value[myindex].value=opener.document.f.value[myindex].value+" "+myentry + } else { + opener.document.f.value[myindex].value=myentry + } + if (wclose == 1) { + // alert("closing") + self.close(); + } + } + </script> +<!-- /TMPL_IF --> + +</div> + +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-full-serial-issues.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-full-serial-issues.tmpl new file mode 100644 index 0000000000..c253416ab7 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-full-serial-issues.tmpl @@ -0,0 +1,80 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Serials +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + + + +<!-- TMPL_UNLESS name="popup" --> +<div id="main"> + <h2>Subscription information for <em><!-- TMPL_VAR name="bibliotitle" --></em></h2> + <form action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="icon brief" value="Normal View" /></form> +<!-- /TMPL_UNLESS --> + + <div class="tabs"> + <!-- TMPL_LOOP NAME="years" --> + <!-- TMPL_IF NAME="year" --> + <a href="#" onclick="active(<!-- TMPL_VAR NAME="year" -->); return false;" id="link<!-- TMPL_VAR NAME="year" -->"><!-- TMPL_VAR NAME="year" --></a> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + </div> + + <!-- TMPL_LOOP NAME="years" --> + <div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" class="tab" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->> + <table> + <caption><!-- TMPL_VAR NAME="year" --> Issues</caption> + <tr> + <th> Date + </th> + <th> Number + </th> + <th> Status + </th> + </tr> + <!-- TMPL_LOOP Name="serials" --> + <tr> + <td> + <!-- TMPL_VAR Name="planneddate" --> + </td> + <td> + <!-- TMPL_VAR Name="serialseq" --> + </td> + <td> + <!-- TMPL_IF Name="status1" -->Arrived<!-- /TMPL_IF --> + <!-- TMPL_IF Name="status2" -->Waited<!-- /TMPL_IF --> + <!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF --> + <!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF --> + </td> + </tr> + <!-- /TMPL_LOOP --> + </table> + </div> + <!--/TMPL_LOOP --> +</div> +<script language="JavaScript" type="text/javascript"> +function active(numlayer) +{ + for (i=<!--TMPL_VAR Name="yearmin"-->; i<=<!--TMPL_VAR Name="yearmax"-->; i++ ) { + ong = i; + link = "link"+i; + if (numlayer==i) { + document.getElementById(ong).style.visibility="visible"; + document.getElementById(link).style.color="#000066"; + document.getElementById(link).style.backgroundColor="#FFFFCC"; + } else { + document.getElementById(ong).style.visibility="hidden"; + if (document.getElementById(link)) { + document.getElementById(link).style.color="#669999"; + document.getElementById(link).style.backgroundColor="#D8DEB8"; + } + } + } +} +<!-- TMPL_LOOP name="years" --> +<!-- TMPL_IF NAME="first" --> + active(<!-- TMPL_VAR NAME="year" -->); +<!-- /TMPL_IF --> + <!--/TMPL_LOOP --> +</script> +</body> +</html> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl new file mode 100644 index 0000000000..f5660d3c5f --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl @@ -0,0 +1,85 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> -- Library Catalog +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> + +<div> + +<!-- TMPL_IF NAME="loggedinusername" --> +<!-- TMPL_ELSE --> +<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth"> +<h3>Log in to Check Your Account</h3> +<p><label for="userid">Card Number:</label><input type="text" id="userid" size="10" name="userid" /></p> +<p><label for="password">Password:</label> <input type="password" id="password" size="10" name="password" /></p> +<p><input type="submit" value="Log In" class="submit" /></p> +</form> +<!-- /TMPL_IF --> + +<form action="/cgi-bin/koha/opac-search.pl"> +<h3>Search the Library Catalog</h3> +<p> +<label for="value">Enter Keyword(s):</label> + <input type="hidden" name="op" value="do_search" /> + <input type="hidden" name="type" value="opac" /> + <input type="hidden" name="marclist" value="" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" size="27" name="value" id="value" /></p> + <p><input type="submit" value="Search" class="submit" /></p> + <p> + <a href="/cgi-bin/koha/opac-search.pl">Advanced Search (More Options)</a> + </p> + + </form> +</div> + +<div> + <h3>Recent acquisitions</h3> + <form action="/cgi-bin/koha/opac-search.pl"> + <p> + <!-- TMPL_VAR name="CGIitemtype" --><input type="hidden" name="marclist" value="biblioitems.itemtype" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <input type="hidden" name="op" value="do_search" /> + <input type="hidden" name="type" value="opac" /> + <input type="hidden" name="orderby" value="biblio.timestamp" /> + <input type="hidden" name="desc_or_asc" value="desc" /> + acquired in the last + <input type="text" name="desc_or_asc" size="3" value="30" /> + days + <input type="submit" value="Search" class="submit" /> + </p> + </form> +</div> + +<!-- TMPL_IF NAME="loggedinusername" --> +<div> +<h3>You're logged in as <em><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></em> (<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)<!-- /TMPL_LOOP --></h3> + +<ul><li><a href="/cgi-bin/koha/opac-user.pl">my library home</a> </li> <li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> + <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul> + <!-- TMPL_IF name="textmessaging"--> + <h3>Message from the library</h3> + <p class="error"><!-- TMPL_VAR name="textmessaging" --></p> + <!-- /TMPL_IF --> +<form method="post" action="/cgi-bin/koha/opac-logout.pl"> +<p><input type="submit" class="submit" name="logout" value="Log Out" /></p> +</form> +</div><!-- /TMPL_IF --> + + <!-- TMPL_IF NAME="opaclanguagesdisplay" --><div class="content-block"> + <h4 class="inline">Change Language:</h3> + <form action="/cgi-bin/koha/changelanguage.pl" method="post" class="inline"> + <select name="language"> + <!-- TMPL_LOOP NAME="languages" --> + <option value="<TMPL_VAR NAME="language">"><!-- TMPL_VAR NAME="language" --></option> + <!-- /TMPL_LOOP --> + </select> + <input type="submit" value="Switch" class="submit"> + </form></div><!-- /TMPL_IF --> +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl new file mode 100644 index 0000000000..809db363ac --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl @@ -0,0 +1,46 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Change Your Password +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead-user.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + +<!-- CONTENT --> +<div id="main"> + + + +<!-- TMPL_IF NAME= "Error_messages" --> +<h3>There was a problem with your submission</h3> +<p class="error"> + <!-- TMPL_IF NAME= "PassMismatch" --> + Passwords do not match. Please re-type your new password. + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME= "ShortPass" --> + Your new password must be at least 6 characters long + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME= "WrongPass" --> + Your current password was entered incorrectly. If this problem persists, please ask a librarian to re-set your password for you. + <!-- /TMPL_IF --></p> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME= "Ask_data" --> +<h1>Change your Password</h1> +<form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="get"> +<div class="form"> +<table><tr><th><label for="password">Current Password:</label></th><td><input type="password" id="Oldkey" size="25" name="Oldkey" /></td></tr> +<tr><th><label for="Newkey">New Password:</label></th><td><input type="password" id="Newkey" size="25" name="Newkey" /></td></tr> +<tr> <th><label for="Confirm">Re-Type New Password:</label></th><td><input type="password" id="Confirm" size="25" name="Confirm" /></td></tr></table> + <p><input type="submit" value="Submit Changes" class="submit" /></p> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME= "password_updated" --> +<h1>Password Updated</h1> + Your password has been changed + <form action="/cgi-bin/koha/opac-user.pl" method="post"> + <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /> + <p><input type="submit" class="icon back" value="Return to Your Record" /></p> + </form> +<!-- /TMPL_IF --> +</form> + +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-readingrecord.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-readingrecord.tmpl new file mode 100644 index 0000000000..7c3fa3a41d --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-readingrecord.tmpl @@ -0,0 +1,35 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Library Home for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead-user.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + +<div id="main"> +<h3>Reading History of <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h3> + +<!-- TMPL_UNLESS NAME="count" --> +You have never borrowed anything from the library. +<!-- TMPL_ELSE --> +<table> +<!-- TMPL_IF NAME="showfulllink" --> +<tr><td colspan="4">Showing All Items | <a href="opac-readingrecord.pl?limit=">Show Last 50 Items Only</a></td></tr><!-- TMPL_ELSE --> +<tr><td colspan="4">Showing Last 50 Items | <a href="opac-readingrecord.pl?limit=full">Show All Items</a></td></tr> +<!-- /TMPL_IF --><tr> +<tr><th><!-- TMPL_UNLESS NAME="orderbytitle" --><a href="/cgi-bin/koha/opac-readingrecord.pl?order=title">Title</a><!-- TMPL_ELSE --> <!-- /TMPL_UNLESS NAME="orderbyauthor"--></th> +<th><!-- TMPL_UNLESS --><a href="/cgi-bin/koha/opac-readingrecord.pl?order=author">Author</a><!-- TMPL_ELSE --> <!-- /TMPL_UNLESS --></th> +<th><!-- TMPL_UNLESS NAME="orderbydate" --><a href="/cgi-bin/koha/opac-readingrecord.pl">Date</a><!-- TMPL_ELSE -->Date<!-- /TMPL_UNLESS --></th></tr> + +<!-- TMPL_LOOP NAME="READING_RECORD" --> + +<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF --> +<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td> +<td><!-- TMPL_VAR NAME="author" --></td> +<td><!-- TMPL_IF NAME="returndate" --><!-- TMPL_VAR NAME="returndate" --><!-- TMPL_ELSE --><em>(Checked out)</em><!-- /TMPL_IF --></td> +</tr> + +<!-- /TMPL_LOOP --> +</table> + +<!-- /TMPL_UNLESS --> + +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-recacquisitions.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-recacquisitions.tmpl new file mode 100644 index 0000000000..5f3632f749 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-recacquisitions.tmpl @@ -0,0 +1,41 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Recent Acquisitions +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead_adv.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> + +<h1>Recent Acquisitions</h1> + +<form name="f" method="post" action="/cgi-bin/koha/opac-search.pl"> + <div class="form"> + <input type="hidden" name="marclist" value="biblioitems.itemtype" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <input type="hidden" name="op" value="do_search" /> + <input type="hidden" name="type" value="opac" /> + <!-- TMPL_VAR name="CGIitemtype" --> + Acquired by + <input type="hidden" name="marclist" value="items.homebranch" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <input type="hidden" name="op" value="do_search" /> + <input type="hidden" name="type" value="opac" /> + <select name="value"> + <option value="">Any Branch</option> + <!-- TMPL_LOOP name="branchloop" --> + <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name +="branchname" --></option> + <!-- /TMPL_LOOP --> + </select> + over the last <input type="text" name="desc_or_asc" size="3" /> days + <input type="hidden" name="orderby" value="biblio.timestamp" /> + <input type="submit" value="Search" class="submit" /> +</div> + +</form> +</div> + +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-reserve.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-reserve.tmpl new file mode 100644 index 0000000000..133236e57d --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-reserve.tmpl @@ -0,0 +1,107 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Reserving <!-- TMPL_VAR NAME="title" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<!--CONTENT--> +<!-- TMPL_IF NAME="message" --> +<div id="main"> +<!-- TMPL_IF NAME="GNA" --><p class="error"><strong>Sorry</strong>, you cannot place reserves because the library doesn't have up-to-date <a href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file. </p><p class="error">Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)</p><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="lost" --><p class="error"><strong>Sorry</strong>, you cannot place reserves because your library card has been marked as lost or stolen. </p><p class="error"> If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</p><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="debarred" --><p class="error"><strong>Sorry</strong>, you cannot place reserves because your account has been frozen.</p><p class="error">Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.</p><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="too_much_oweing" --><p class="error">Sorry, you cannot make reserves because you owe <!-- TMPL_VAR NAME="too_much_oweing" -->. </p> <!-- /TMPL_IF --> +<!-- TMPL_IF NAME="too_many_reserves" --><p class="error">Sorry, you cannot make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves. </p><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="already_reserved" --><p class="error">You already have a reserve placed on this item. +<form action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><input type="submit" class="icon back" value="Return to Item Detail Screen" /></form></p> +<!-- /TMPL_IF --> +<!-- TMPL_IF NAME="no_items_selected" --><p class="error">You must select at least one item.</p><!-- /TMPL_IF --> + <!-- TMPL_IF NAME="no_branch_selected" --><p class="error">You must select a branch for pickup!</p><!-- /TMPL_IF --> +</div> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="select_item_types" --> +<!-- The first time round you select which bibitems you want --> +<div id="main"> +<form action="/cgi-bin/koha/opac-reserve.pl" method="post"> +<input type="hidden" name="item_types_selected" value="1"> +<input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->"> +<h2>Reservation Details</h2> +<div class="form"> +<table> + <tr><th>Reserving: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span><!-- TMPL_IF NAME="author" --> (<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --></td></tr> + <tr><th>For:</th><td><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_LOOP --></td></tr> + + <tr><th>Pick up from:</th><td><select name="branch" id="branch"> + <option>-- Please choose your branch --</option> + <!-- TMPL_LOOP NAME="CGIbranch" --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branch" --></option><!-- /TMPL_LOOP --> +</select></td></tr> +</table> + +<!-- TMPL_IF NAME="onlyone" --> +<!-- If there is only one type --> + +</div><p><input type="submit" class="submit" value="Next >>"> +<input type="hidden" name="all" value="1"></p> +</form> + +<!-- TMPL_ELSE --> +<!-- If there is more than one type --> + + <h4>Choose Either...</h4> + <p><input class="checkbox" type="checkbox" name="all" value="next-available"> + Next Available Copy (any format)</p> + <h4> + ...Or Choose Acceptable Formats + </h4> + +<!-- TMPL_LOOP NAME="TYPE_ROWS" --> +<ul><!-- TMPL_LOOP NAME="ROW" --> +<li><input type="checkbox" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->" class="checkbox"><!-- TMPL_VAR NAME="description" --></li> +<!-- /TMPL_LOOP --> +</ul><!-- /TMPL_LOOP --> +<!-- <table> + <tr> + <th>Number of Copies</th><th>Requests already received for this title</th> <th>Items curently on issue, due back</th></tr> + <td><!-- TMPL_VAR NAME="itemcount" --></td> + <td><!-- TMPL_VAR NAME="reservecount" --></td> + <td><!-- TMPL_LOOP NAME="ITEMS" --><!-- TMPL_VAR NAME="date_due" -->, <!-- /TMPL_LOOP --></td> +</table> --> +</div> +<p><input type="submit" class="submit" value="Confirm Reservation >>"></p> +</form> +</div> +<!-- /TMPL_IF --> + + +<!-- end of the first form --> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="item_types_selected" --> +<!-- if the bibitems have already been selected --> +<div id="main"> +<form action="/cgi-bin/koha/opac-reserve.pl" method="post"> +<input type="hidden" name="place_reserve" value="1"> +<input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->"><h3>Confirm Reservation</h3> +<div class="details"> + <table> + <tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span></td></tr> + +<!-- TMPL_IF NAME="all" --> + <tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1"></td></tr> +<!-- TMPL_ELSE --> + <tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" --> +<input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" -->; +<!-- /TMPL_LOOP --></td></tr> + +<!-- /TMPL_IF --> + <tr><th>Pick up From: </th><td><!-- TMPL_VAR NAME="branchname" --><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"></td></tr> +</table> +</div> +<p><input type="submit" value="Finish and Place Reservation" class="submit" onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"></p> + +</FORM> + +<!-- /TMPL_IF --> +</div> +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-search.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-search.tmpl new file mode 100644 index 0000000000..89b8b4d525 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-search.tmpl @@ -0,0 +1,163 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Advanced Search +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead_adv.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<!-- CONTENT --> +<div id="main"> +<form name="f" method="post" action="/cgi-bin/koha/opac-search.pl"> +<h1>Search the Catalog</h1> + + <h3>Results:</h3> + <p><label for="resultsperpage">Results per page:</label> + <select name="resultsperpage" id="resultsperpage" size="1"> + <option value="20">20</option> + <option value="50">50</option> + <option value="100">100</option> + </select></p> + <p><label for="orderby">Ordered by:</label> + <select name="orderby" id="orderby" size="1"> + <option value="biblio.title">Title</option> + <option value="biblio.author">Author</option> + <option value="biblioitems.dewey">Dewey</option> + <option value="biblioitems.publicationyear">Publication Year</option> + <option value="biblioitems.publishercode">Publisher</option> + </select> + <select name="desc_or_asc" size="1"> + <option value="ASC">Ascending</option> + <option value="DESC">Descending</option> + </select> + </p> + +<table> +<tr><th scope="row"><label for="keyword">Keyword</label></th><td><input type="hidden" name="op" value="do_search" /> + <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> + <input type="hidden" name="marclist" value="" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" id="keyword" name="value" /></td></tr> +<tr><th scope="row"><label for="title">Title</label></th><td><input type="hidden" name="marclist" value="biblio.title" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" id="title" name="value" /><!-- TMPL_UNLESS NAME="Disable_Dictionary" --><a href="javascript:Dopop('opac-dictionary.pl?marclist=biblio.title&type=intranet&index=1',1)"><strong>...</strong></a><!-- /TMPL_UNLESS --></td></tr> +<tr><th scope="row"><label for="author">Author</label></th><td><input type="hidden" name="marclist" value="biblio.author" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" id="author" name="value" /><!-- TMPL_UNLESS NAME="Disable_Dictionary" --><a href="javascript:Dopop('opac-dictionary.pl?marclist=biblio.author&type=intranet&index=2',2)"><strong>...</strong></a><!-- /TMPL_UNLESS --></td></tr> +<tr><th scope="row"><label for="subject">Subject</label></th><td> + <input type="hidden" name="marclist" value="bibliosubject.subject" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" id="subject" name="value" size="35" /><!-- TMPL_UNLESS NAME="Disable_Dictionary" --><a href="javascript:Dopop('opac-dictionary.pl?marclist=bibliosubject.subject&type=intranet&index=3',3)"><strong>...</strong></a><!-- /TMPL_UNLESS --></td></tr> +<tr><th scope="row"><label for="seriestitle">Series title</label></th><td> + <input type="hidden" name="marclist" value="biblio.seriestitle" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" id="seriestitle" name="value" size="35"/></td></tr> + +<tr><th scope="row"><label for="itemtype">Format</label></th><td><input type="hidden" name="marclist" value="biblioitems.itemtype" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <!-- TMPL_VAR name="CGIitemtype" --></td></tr> +<tr><th scope="row"><label for="branch">Location</label></th><td><input type="hidden" name="marclist" value="items.homebranch" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <!-- TMPL_VAR name="CGIbranch" --></td></tr> +</table> +<p><input type="submit" value="Search" /></p> +<table> +<caption>Other options:</caption> +<tr><th scope="row"><label for="barcode">Barcode</label></th><td> + <input type="hidden" name="marclist" value="items.barcode" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <input type="text" id="barcode" name="value" size="14" maxlength="14" /></td></tr> +<tr><th scope="row"><label for="dewey">Call Number</label></th><td><input type="hidden" name="marclist" value="biblioitems.dewey" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="start" /> + <input type="text" id="dewey" name="value" /></td></tr> +<tr><th scope="row"><label for="isbn">ISBN</label></th><td><input type="hidden" name="marclist" value="biblioitems.isbn" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="start" /> + <input type="text" id="isbn" name="value" /></td></tr> +<tr><th scope="row"><label for="publisher">Publisher</label></th><td><input type="hidden" name="marclist" value="biblioitems.publishercode" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="contains" /> + <input type="text" id="publisher" name="value" /></td></tr> +<tr><th scope="row"><label for="pubbetween">Published between</label></th><td><input type="hidden" name="marclist" value="biblioitems.publicationyear" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value=">=" /> + <input type="text" id="pubbetween" name="value" size="6" maxlength="4" /></td></tr> +<tr><th scope="row"><label for="puband">...and</label></th><td><input type="hidden" name="marclist" value="biblioitems.publicationyear" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="<=" /> + <input type="text" id="puband" name="value" size="6" maxlength="4" /></td></tr> +</table> + <p><input type="submit" value="Search" /></p> +</form> + +<!-- Hide from NPL --><div class="content-block"> +<h3>Recent acquisitions</h3> + <form action="/cgi-bin/koha/opac-search.pl"> + <p> + <!-- TMPL_VAR name="CGIitemtype" --> acquired recently (the most recent being first) + <input type="hidden" name="marclist" value="biblioitems.itemtype" /> + <input type="hidden" name="and_or" value="and" /> + <input type="hidden" name="excluding" value="" /> + <input type="hidden" name="operator" value="=" /> + <input type="hidden" name="op" value="do_search" /> + <input type="hidden" name="type" value="opac" /> + <input type="hidden" name="orderby" value="biblio.timestamp desc" /> + <input type="submit" value="Search" /> + </p> + </form> +</div><!-- /Hide from NPL --> +<script type="text/javascript"> +function sql_update() { +document.f.sql.value=""; + for (i=0 ; i<document.f.marclist.length ; i++) { + if (document.f.value[i].value.length>0) { + document.f.sql.value = document.f.sql.value+ + document.f.and_or[i].value + ' (' + + document.f.excluding[i].value + ' ' + + document.f.marclist[i].value + ' ' + + document.f.operator[i].value + ' ' + + '\''+document.f.value[i].value + '\') '; + } + } +} + +function AddStatement() { + + document.forms[0].op.value="AddStatement"; + document.f.submit(); +} + +function PopupSuggestion() { + var strQuery=""; + for (i=0 ; i<document.f.marclist.length ; i++) { + if (document.f.value[i].value.length>0) { + strQuery += " "+document.f.value[i].value; + } + } + newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes'); +} + +</script> + + +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-searchresults.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-searchresults.tmpl new file mode 100644 index 0000000000..e4531c3aab --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-searchresults.tmpl @@ -0,0 +1,108 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- <!-- TMPL_IF NAME="searchdesc" -->Results of Search for '<!-- TMPL_VAR NAME="searchdesc" -->'<!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF --> +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> +<!-- TMPL_IF NAME="searchdesc" --> + <h3>Results for Search: <!-- TMPL_VAR NAME="searchdesc" --></h3> +<!-- TMPL_ELSE --> + <!-- TMPL_IF name="searchnew" --> + <h3><!-- TMPL_VAR name="itemtype" --> items acquired in the last <!-- TMPL_VAR name="duration" --> days</h3> + <!-- TMPL_ELSE --> + <h3>You did not specify any search criteria</h3> + <!-- /TMPL_IF --> +<!-- /TMPL_IF --> + + <div class="pages"> + <!-- TMPL_IF NAME=displayprev --> + <a href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE="URL" -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><<Previous</a> + <!-- /TMPL_IF --> + <!-- TMPL_LOOP NAME="numbers" --> + <!-- TMPL_IF NAME="highlight" --><!-- TMPL_VAR NAME="number" --><!-- TMPL_ELSE --> + <a href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><!-- TMPL_VAR NAME="number" --></a> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + <!-- TMPL_IF NAME=displaynext --> + <a href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search">Next >></a> + <!-- /TMPL_IF --></div> + <div id="results"><!-- TMPL_IF name=total --> + Results <!-- TMPL_VAR NAME="from" --> through <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> records. + <!-- TMPL_ELSE --> + No results found. + <!-- /TMPL_IF --></div> + +<!-- Search Results Table --> +<!-- TMPL_IF NAME="total" --> +<form action="opac-searchresults.pl" method="get" name="myform"> +<input type="submit" value="Add Checked Items to Book Bag" onclick="addMultiple(); return false;"> <input type="reset" value="Clear All" /> + <table> + <tr> + <!-- TMPL_IF NAME="AmazonContent" --> + <th colspan="3">Title</th> + <!-- TMPL_ELSE --> + <th colspan="2">Title</th> + <!-- /TMPL_IF --> + <th>Author</th> + <th>Call Number</th> + <th>Copies</th> + <th>Available at</th> + </tr> + <!-- Actual Search Results --> + <!-- TMPL_LOOP NAME="results" --> + <!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> + <td><label for="bib<!-- TMPL_VAR NAME="biblionumber" -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></label><br /><input type="checkbox" name="bibid" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" value="<!-- TMPL_VAR NAME="biblionumber" -->" /></td> +<!-- TMPL_IF NAME="AmazonContent" --> +<td><a class="p1" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="<!-- TMPL_IF NAME="isbn" -->http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg<!-- TMPL_ELSE -->http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif<!-- /TMPL_IF -->" alt="" border="0" /><!--<img class="large" src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01._PE_SCLZZZZZZZ_.jpg" title="Enlarged view of image" alt="Enlarged view of image" /> +--></a></td> +<!-- /TMPL_IF --> + + <td><!-- TMPL_IF name="BiblioDefaultViewmarc" --><a href="/cgi-bin/koha/opac-MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" --></a><!-- TMPL_ELSE --><!-- TMPL_IF name="BiblioDefaultViewisbd" --><a href="/cgi-bin/koha/opac-ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" --></a><!-- TMPL_ELSE --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" --></a><!-- /TMPL_IF --><!-- /TMPL_IF --> + <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF --> + <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF --> + <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --> + <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF --> + <!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF --> + <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --> + <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF --></td> + <td><a href="/cgi-bin/koha/opac-search.pl?marclist=biblio.author&and_or=and&excluding=&operator=contains&value=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->&resultsperpage=20&orderby=biblio.title&op=do_search"><!-- TMPL_VAR NAME="author" --></a></td> +<td><!-- TMPL_VAR NAME="classification" --></td> + <td><!-- TMPL_VAR name="totitem" --> + </td><td><!-- TMPL_LOOP name="CN" --><!-- TMPL_VAR name="holdingbranch" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF name="date_due" --> <i>(On Loan until <!-- TMPL_VAR name="date_due" -->)</i><!-- TMPL_ELSE --><!-- TMPL_IF name="itemcallnumber" --> (<!-- TMPL_VAR name="itemcallnumber" -->)<!-- /TMPL_IF --><!-- /TMPL_IF --><br /><!-- /TMPL_LOOP --></td></tr><!-- /TMPL_LOOP --> + </table> +</form> + +<div class="pages"> + <!-- TMPL_IF NAME=displayprev --> + <a href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE="URL" -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><<Previous</a> + <!-- /TMPL_IF --> + <!-- TMPL_LOOP NAME="numbers" --> + <!-- TMPL_IF NAME="highlight" --><!-- TMPL_VAR NAME="number" --><!-- TMPL_ELSE --> + <a href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><!-- TMPL_VAR NAME="number" --></a> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + <!-- TMPL_IF NAME=displaynext --> + <a href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search">Next >></a> + <!-- /TMPL_IF --></div> + + + +<!-- TMPL_IF name="suggestion" --> +<div class="note">Not finding what you're looking for?<br /> Make a <a href="opac-suggestions.pl?op=add">purchase suggestion</a></div> +<!-- /TMPL_IF --> + + +</div> + + + +<!-- TMPL_ELSE --> +Sorry, there were no results. + +<!-- TMPL_IF name="suggestion" --> +<div class="note">Not finding what you're looking for?<br /> Make a <a href="opac-suggestions.pl?op=add">purchase suggestion</a></div> +<!-- /TMPL_IF --> + +<!-- /TMPL_IF --> +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-sendbasket.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-sendbasket.tmpl new file mode 100644 index 0000000000..5f312ab145 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-sendbasket.tmpl @@ -0,0 +1,32 @@ +<SUBJECT> +Your Book Bag +<END_SUBJECT> + +<HEADER> +Hi, +Here is your Book Bag, sent from the Koha Online Catalog by <!-- TMPL_VAR name="email_sender" --> +<END_HEADER> + +<MESSAGE> +--------------------------------------------- +<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --><!-- TMPL_IF name="isbn" --> +Author: <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --><!-- TMPL_IF name="additional" --> +Additional authors: <!-- TMPL_VAR NAME="additional" --><!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" --> +ISBN: <!-- TMPL_VAR NAME="ISBN" --><!-- /TMPL_IF --><!-- TMPL_IF name="author" --> +Published by: <!-- TMPL_VAR NAME="publishercode" --><!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <!-- /TMPL_IF --><!-- TMPL_VAR NAME="publicationyear" --><!-- TMPL_IF name="pages" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" --><!-- TMPL_IF name="collection" --> +Collection: <!-- TMPL_VAR NAME="seriestitle" --><!-- /TMPL_IF --><!-- TMPL_IF name="subject" --> +Subject: <!-- TMPL_VAR NAME="subject" --><!-- /TMPL_IF --><!-- TMPL_IF name="copyrightdate" --> +Copyright year: <!-- TMPL_VAR NAME="copyrightdate" --><!-- /TMPL_IF --><!-- TMPL_IF name="notes" --> +Notes : <!-- TMPL_VAR NAME="notes" --><!-- /TMPL_IF --><!-- TMPL_IF name="unititle" --> +Unified title: <!-- TMPL_VAR NAME="unititle" --><!-- /TMPL_IF --><!-- TMPL_IF name="serial" --> +Serial: <!-- TMPL_VAR NAME="serial" --><!-- /TMPL_IF --><!-- TMPL_IF name="dewey" --> +Dewey: <!-- TMPL_VAR name="dewey" --><!-- /TMPL_IF --><!-- TMPL_IF name="classification" --> +Classification: <!-- TMPL_VAR name="classification" --><!-- /TMPL_IF --><!-- TMPL_IF name="lccn" --> +LCCN: <!-- TMPL_VAR name="lccn" --><!-- /TMPL_IF --><!-- TMPL_IF name="url" --> +URL : <!-- TMPL_VAR NAME="url" --><!-- /TMPL_IF --> +Items : <!-- TMPL_LOOP NAME="ITEM_RESULTS" --> + <!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" --> <!-- TMPL_IF name="itemcallnumber" -->(<!-- TMPL_VAR NAME="itemcallnumber" -->)<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="barcode" --> +<!-- /TMPL_LOOP --> +--------------------------------------------- +<!-- /TMPL_LOOP --> +<END_MESSAGE> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-sendbasketform.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-sendbasketform.tmpl new file mode 100644 index 0000000000..4649210b4b --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-sendbasketform.tmpl @@ -0,0 +1,24 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Sending Your Book Bag +<!-- TMPL_INCLUDE NAME="doc-head-close-basket.inc" --> + +<div id="window"> +<h3>Sending your book bag</h3> + +<!-- TMPL_IF NAME="email_add" --> + <!-- TMPL_IF NAME="SENT" --> + <p>The book bag was sent to: <!-- TMPL_VAR NAME="email_add" --></p> + <!-- TMPL_ELSE --> + <p>Problem sending the book bag...</p> + <!-- /TMPL_IF --> +<!-- TMPL_ELSE --> +<form action="<!-- TMPL_VAR NAME="url" -->" method="post"> +<p> <label for="email_add">E-mail Address:</label> <input type="text" id="email_add" name="email_add" size="35" /></p> + +<p><input type="submit" value="Send" /> + <input type="hidden" name="bib_list" value="<!-- TMPL_VAR NAME="bib_list" -->" /></p> +</form> +<!-- /TMPL_IF --> +<p><form action="opac-sendbasket.pl" method="get" /><input type="submit" value="Close Window" onclick="window.close(); return false;" /></form></p> +</div> +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-serial-issues.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-serial-issues.tmpl new file mode 100644 index 0000000000..591c900980 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-serial-issues.tmpl @@ -0,0 +1,90 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Serials +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead_adv.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> +<h1>Issues for a subscription</h1> + <form action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" value="Normal View" /></form> + +<form method="post" name="f"> +<!-- TMPL_LOOP name="subscription_LOOP" --> +<h2>Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h2> + <p>It began on <!-- TMPL_VAR name="startdate" --> and is issued every + + <!--TMPL_IF name="periodicity1" --> + day + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity2" --> + week + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity3" --> + 2 weeks + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity4" --> + 3 weeks + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity5" --> + month + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity6" --> + 2 months + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity7" --> + 3 months + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity8" --> + quarter + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity9" --> + 2 quarters + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity10" --> + year + <!-- /TMPL_IF --> + <!--TMPL_IF name="periodicity11" --> + 2 years + <!-- /TMPL_IF --> + + on + + <!--TMPL_IF name="arrival1" --> + Monday + <!-- /TMPL_IF --> + <!--TMPL_IF name="arrival2" --> + Tuesday + <!-- /TMPL_IF --> + <!--TMPL_IF name="arrival3" --> + Wednesday + <!-- /TMPL_IF --> + <!--TMPL_IF name="arrival4" --> + Thursday + <!-- /TMPL_IF --> + <!--TMPL_IF name="arrival5" --> + Friday + <!-- /TMPL_IF --> + <!--TMPL_IF name="arrival6" --> + Saturday + <!-- /TMPL_IF --> + <!--TMPL_IF name="arrival7" --> + Sunday + <!-- /TMPL_IF --> + + for + <!-- TMPL_IF name="numberlength" --><!-- TMPL_VAR name="numberlength" --> issues<!-- /TMPL_IF --> + <!-- TMPL_IF name="weeklength" --><!-- TMPL_VAR name="weeklength" --> weeks<!-- /TMPL_IF --> + <!-- TMPL_IF name="monthlength" --><!-- TMPL_VAR name="monthlength" --> months<!-- /TMPL_IF --> + + since <!-- TMPl_VAR name="startdate" --> + </p> + <p><!-- TMPL_VAR name="notes" --></p> + <!-- TMPL_IF name="opacnote" --> + <h2>Issues summary</h2> + <p> + <!-- TMPL_VAR name="opacnote" --> + </p> + <!-- /TMPL_IF --> +<!-- /TMPL_LOOP --> +</div> +</body> +</html> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-shelves.tmpl new file mode 100644 index 0000000000..7a89af4d0b --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-shelves.tmpl @@ -0,0 +1,139 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- <!-- TMPL_IF Name="viewshelf" -->Contents of <!-- TMPL_VAR Name="shelfname" --><!-- TMPL_ELSE -->List of Virtual Shelves<!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> + +<ul><li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> + <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> <!-- TMPL_IF name="OpacPasswordChange" --> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- /TMPL_IF --><!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul> + +<!-- TMPL_IF Name="viewshelf" --> + +<h3>Contents of <!-- TMPL_VAR Name="shelfname" --></h3> + +<form class="inline" action="/cgi-bin/koha/opac-shelves.pl" method="post" name="mainform"> + <table> + <tr> + <th><a href="/cgi-bin/koha/opac-shelves.pl" onclick="CheckAll(); return false;"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/checkall.gif" height="18" width="18" alt="Check All" title="Check All" border="0" /></a></th><th> </th><th>Title</th><th>Author</th><th>Call No.</th><!-- TMPL_UNLESS NAME="itemsloop" --><th> </th><!-- /TMPL_UNLESS --> + </tr> + <!-- TMPL_IF NAME="itemsloop" --> + <!-- TMPL_LOOP Name="itemsloop" --> + <tr<!-- TMPL_IF name="color" --> class="highlight"<!-- /TMPL_IF -->> + <td><input type="checkbox" name="REM-<!-- TMPL_VAR Name="itemnumber" -->" /><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->" /> + <input type="hidden" name="modifyshelfcontents" value="1" /> + <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->" /></td> + <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></td> + <td><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="title" --></a></td> + <td><!-- TMPL_VAR Name="author" --></td> + <td><!-- TMPL_VAR NAME="classification" --></td> + </tr><!-- /TMPL_LOOP --><!-- TMPL_ELSE --> + <tr><td colspan="6">This shelf is empty.</td><!-- TMPL_UNLESS NAME="itemsloop" --><td><input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="shelves" value="1" /><input type="submit" class="icon delete" value="Delete this Shelf" onclick="return confirmDelete('Are you sure you want to delete this shelf?')" /></td><!-- /TMPL_UNLESS --></tr> + <!-- /TMPL_IF --> + </table> + <!-- TMPL_IF name="manageshelf" --><!-- TMPL_IF NAME="itemsloop" --><input type="submit" value="Remove Selected Items" class="icon delete" onclick="return confirmDelete('Are you sure you want to remove these items from the shelf?')" /><!-- /TMPL_IF --><!-- /TMPL_IF --></form><!-- TMPL_IF name="manageshelf" --> <form class="inline" method="get" action="/cgi-bin/koha/opac-shelves.pl"><input type="hidden" name="op" value="modif" /><input type="hidden" value="<!-- TMPL_VAR Name="shelfnumber" -->" name="shelf" /><input type="submit" value="Modify this Shelf" class="icon edit" /></form> +<br /><br /> +<form action="/cgi-bin/koha/opac-shelves.pl" method="post"> + <table> + <tr><th colspan="2">Add an Item to this Shelf by Barcode</th></tr> + <tr> + <td><label for="addbarcode">Barcode:</label></td> + <td><input name="addbarcode" type="text" id="addbarcode" size="14" maxlength="14" /><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->" /><input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->" /><input type="hidden" name="modifyshelfcontents" value="1" /><input type="submit" value="Save" /></td> + </tr> + </table> +</form> +<!-- /TMPL_IF --> +<form class="inline" method="get" action="opac-shelves.pl"><input type="submit" value="Back to Virtual Shelves" /></form> +<!-- TMPL_ELSE --> + <!-- TMPL_IF Name="shelves" --> + <!-- TMPL_IF Name="status1" --> + <p class="error"><!-- TMPL_VAR Name="string1" --></p> + <!-- /TMPL_IF --> + <!-- TMPL_LOOP Name="paramsloop" --> + <!-- TMPL_IF Name="status" --> + <p class="error"><!-- TMPL_VAR Name="string" --></p> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> +<form method="post" action="/cgi-bin/koha/opac-shelves.pl"> + <input type="hidden" name="shelves" value="1"> + <h3>Create a New a Virtual Shelf</h3> + <table> + <tr><th scope="row"><label for="addshelf">Shelf Name:</label> </th><td> <input id="addshelf" type="text" name="addshelf" size="25"></td></tr> + <tr><th scope="row"><label for="owner">Owner:</label> </th><td><input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"><!-- TMPL_VAR name="loggedinusername" --></td></tr> + <tr><th scope="row"><label for="category">Category:</label> </th><td><select name="category" id="category"> + <option value="1">Private</option> + <option value="2">Public</option> + <option value="3">Free</option> + </select></td></tr></table> + <ul><li>A <strong>private</strong> virtual shelf is managed by you and can be seen only by you.</li><li> A <strong>public</strong> virtual shelf can be seen by everybody, but managed only by you.</li> + <li> A <strong>free</strong> virtual shelf can be added to and changed by any user.</li></ul> + <p><input type="submit" value="Add New Shelf"></p> + </form> + + <!-- TMPL_IF NAME="shelvesloop" --> + <form method="post" action="/cgi-bin/koha/opac-shelves.pl" name="mainform"> + <input type="hidden" name="shelves" value="1" /> + <h3>Delete Virtual Shelves</h3> + <table> + <tr><th> </th><th>Shelf Name</th><th>Contents</th></tr> + <!-- TMPL_LOOP Name="shelvesloop" --> + <!-- TMPL_IF name="canmanage" --> + <tr> + <td><input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->" /></td><td><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> item(s)</td></tr> + <!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + </table> + <input type="submit" value="Delete Shelves" /></form> + <!-- /TMPL_IF --> + <p><form class="inline" action="opac-shelves.pl" method="get"><input type="submit" value="Back to Virtual Shelves" /></form></p> + + <!-- TMPL_ELSE --> + <!-- TMPL_IF name="edit" --> + <form method="post"> + <input type="hidden" name="op" value="modifsave"> + <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->"> +<h3>Modify Virtual Shelf <!-- TMPL_VAR name="shelfname"--></h3> + <table> + <tr><td><label for="shelfname">Shelf Name: </label></td><td><input type="text" id="shelfname" name="shelfname" size="25" value="<!-- TMPL_VAR name="shelfname"-->" /></td></tr> + <tr><td><label for="owner">Owner: </label></td><td><input type="hidden" id="owner" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></td></tr> + <tr><td><label for="category">Category: </label></td><td><select id="category" name="category"> + <!-- TMPL_IF name="category1" --> + <option value="1" selected>Private</option> + <!-- TMPL_ELSE --> + <option value="1">Private</option> + <!-- /TMPL_IF --> + <!-- TMPL_IF name="category2" --> + <option value="2" selected>Public</option> + <!-- TMPL_ELSE --> + <option value="2">Public</option> + <!-- /TMPL_IF --> + <!-- TMPL_IF name="category3" --> + <option value="3" selected>Free</option> + <!-- TMPL_ELSE --> + <option value="3">Free</option> + <!-- /TMPL_IF --> + </select></td></tr> + </table> + <ul><li>A <strong>private</strong> virtual shelf is managed by you and can be seen <strong>only</strong> by you.</li> + <li> A <strong>public</strong> virtual shelf can be seen by <strong>everybody</strong>, but managed only by you.</li> + <li>A <strong>free</strong> virtual shelf can be added to or changed by <strong>any</strong> user.</li></ul> + <p><input type="submit" value="Save Changes"></p> + + </form> +<!-- /TMPL_IF --> +<h3>Virtual Shelves</h3> + +<table> +<tr><th>Shelf Name</th><th>Category</th><th>Content Size</th><th> </th></tr> +<!-- TMPL_LOOP Name="shelvesloop" --> +<tr<!-- TMPL_IF name="color" --> class="highlight"<!-- /TMPL_IF -->><td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_IF NAME="category1" -->Private<!-- /TMPL_IF --><!-- TMPL_IF NAME="category2" -->Public<!-- /TMPL_IF --><!-- TMPL_IF NAME="category3" -->Free<!-- /TMPL_IF --></td><td><!-- TMPL_VAR Name="shelfbookcount" --> item(s)</td><td><!-- TMPL_IF name="mine" --><a href="opac-shelves.pl?op=modif&shelf=<!-- TMPL_VAR NAME="shelf" -->">Modify</a><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + <!-- /TMPL_LOOP --> + </table> + <p><form action="opac-shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" value="Add or Remove Book Shelves" /></form></p> + <!-- /TMPL_IF --> +<!-- /TMPL_IF --> + +<br clear="both" /> +</div> +</body> +</html> + diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-suggestions.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-suggestions.tmpl new file mode 100644 index 0000000000..5db9dbb7ec --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-suggestions.tmpl @@ -0,0 +1,155 @@ +<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- +<!-- TMPL_IF name="op_add" -->Enter a new purchase suggestion<!-- /TMPL_IF --> +<!-- TMPL_IF name="op_else" -->Purchase Suggestions<!-- /TMPL_IF --> +<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> +<!--TMPL_INCLUDE NAME="masthead.inc" --> +<!--TMPL_INCLUDE NAME="navigation.inc" --> + +<div id="main"> +<!-- TMPL_IF name="op_add" --> + <h1>Enter a new purchase suggestion</h1> + + <p>Fill this form to suggest the library a new acquisition. You will be emailed when the library processes your purchase suggestion</p> + <p>No fields are mandatory. Enter whatever information you have. The "Notes" field can be used to provide any additional information.</p> + <form action="/cgi-bin/koha/opac-suggestions.pl" method="post"> + <table> + <tr><th scope="row"><label for="">Title</label></th><td><input type="text" id="title" name="title" size="50" maxlentgh="80" /></td></tr> + <tr><th scope="row"><label for="">Author</label></th><td><input type="text" id="author" name="author" size="50" maxlength="80" /></td></tr> + <tr><th scope="row"><label for="">Copyright date</label></th><td><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" /></td></tr> + <tr><th scope="row"><label for="">Publisher</label></th><td><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" /></td></tr> + <tr><th scope="row"><label for="">Notes</label></th><td><textarea name="note" id="note" rows="5" cols="40"></textarea></td></tr> + </table> + <p><input type="hidden" name="op" value="add_confirm" /><input type="submit" value="Submit Your Suggestion" /></p> + </form> + +<!-- /TMPL_IF --> + +<!-- TMPL_IF name="op_else" --> + <h1>Purchase Suggestions</h1> + <!-- TMPL_IF NAME="suggestions_loop" --> + <table> + <tr> + <th> </th> + <th>Title</th> + <th>Author</th> + <th>©</th> + <th>Publisher</th> + <th>Status</th> + <th>Suggested by</th> + <th>Managed by</th> + <th>Note</th> + </tr> + <tr> + <form action="/cgi-bin/koha/opac-suggestions.pl" method="post"> + <th> + Filter by: + </th> + <td> + <input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" /> + </td> + <td> + <input type="text" name="author" value="<!-- TMPL_VAR name="author" -->" /> + </td> + <td> +   + </td> + <td> + <input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" /> + </td> + <td> +<select name="status"> + <option value="">Any</option> + <!-- TMPL_IF name="ASKED" --> + <option value="ASKED" selected="selected">Requested</option> + <!-- TMPL_ELSE --> + <option value="ASKED">Asked</option> + <!-- /TMPL_IF --> + <!-- TMPL_IF name="ACCEPTED" --> + <option value="ACCEPTED" selected="selected">Accepted</option> + <!-- TMPL_ELSE --> + <option value="ACCEPTED">Accepted</option> + <!-- /TMPL_IF --> + <!-- TMPL_IF name="ORDERED" --> + <option value="ORDERED" selected="selected">Ordered</option> + <!-- TMPL_ELSE --> + <option value="ORDERED">Ordered</option> + <!-- /TMPL_IF --> + <!-- TMPL_IF name="REJECTED" --> + <option value="REJECTED" selected="selected">Declined</option> + <!-- TMPL_ELSE --> + <option value="REJECTED">Declined</option> + <!-- /TMPL_IF --> + <!-- TMPL_IF name="AVAILABLE" --> + <option value="AVAILABLE" selected="selected">Available</option> + <!-- TMPL_ELSE --> + <option value="AVAILABLE">Available</option> + <!-- /TMPL_IF --> + </select> + </td> + <td> + <select name="suggestedbyme"> + <!-- TMPL_IF NAME="suggestedbyme" --><option value="1" selected="selected"><!-- TMPL_ELSE --><option value="1"><!-- /TMPL_IF -->Me</option> + <!-- TMPL_UNLESS name="suggestedbyme" --><option value="0" selected="selected"><!-- TMPL_ELSE --><option value="0"><!-- /TMPL_UNLESS -->Anybody</option> + </select> + </td> + <td> +   + </td> + <td> + <input type="submit" value="Set Filter" /> + </td> + </form> + </tr> + <form action="/cgi-bin/koha/opac-suggestions.pl" method="post"> + <input type="hidden" name="op" value="delete_confirm" /> + <!-- TMPL_LOOP NAME="suggestions_loop" --> + <!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF --> + <td> + <input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" /> + </td> + <td> + <!-- TMPL_VAR NAME="title" --> + </td> + <td> + <!-- TMPL_VAR NAME="author" --> + </td> + <td> + <!-- TMPL_VAR NAME="copyrightdate" --> + </td> + <td> + <!-- TMPL_VAR name="publishercode" --> + </td> + <td> + <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF --> + <!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF --> + <!-- TMPL_IF name="REJECTED" -->Suggestion declined<!-- /TMPL_IF --> + <!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF --> + </td> + <td> + <!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" --> + </td> + <td> + <!-- TMPL_VAR name="usermanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" --> + </td> + <td> + <!-- TMPL_VAR name="note" --> + </td> + </tr> + <!-- /TMPL_LOOP --> + <tr> + <td colspan="9"> + <input type="submit" value="Delete Checked Items" /> + </td> + </tr> + </form> + </table> + <!-- TMPL_ELSE --><div class="content-block">There are no pending purchase suggestions</div><!-- /TMPL_IF --> + <form action="/cgi-bin/koha/opac-suggestions.pl" method="post"> + <input type="hidden" name="op" value="add" /> + <input type="submit" value="Enter a new purchase suggestion" /> + </form> + <p>Note : if you're viewing purchase suggestions submitted by anybody, the results will contain only <em>new</em> purchase suggestions. Suggestions being processed by a librarian will not be shown.</p> +<!-- /TMPL_IF --> +</div> +</body> +</html> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-user.tmpl new file mode 100644 index 0000000000..ecb050c120 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-user.tmpl @@ -0,0 +1,138 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Library Home for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + +<!-- CONTENT --> +<div id="main"> +<!-- TMPL_LOOP NAME="BORROWER_INFO" --> +<h2>Welcome <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)</h2> +<ul><li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> + <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> <!-- TMPL_IF name="OpacPasswordChange" --> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- /TMPL_IF --><!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul> + <!-- TMPL_IF name="textmessaging"--> + <h3>Message from the library</h3> + <p><!-- TMPL_VAR name="textmessaging" --></p> + <!-- /TMPL_IF --> + <!-- TMPL_IF NAME="flagged" --><ul><!-- TMPL_IF NAME="debarred" --><li><strong>Please note:</strong> Your account has been frozen. Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.</li><!-- + /TMPL_IF --> + <!-- TMPL_IF NAME="gonenoaddress" --><li><strong>Please note:</strong> According to our records, we don't have up-to-date <a href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file. Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)</li><!-- /TMPL_IF --> +<!-- TMPL_IF NAME="lost" --><li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</li><!-- /TMPL_IF --></ul><!-- /TMPL_IF --> +<!-- FINES BOX --> +<!-- TMPL_IF NAME="amountoverfive" --> +<h3>Fines and Charges</h3> +<table> +<tr><th colspan="2">Amount</th></tr> +<tr><td>You currently owe fines and charges amounting to:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr> +</table> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="amountoverzero" --> +<h3>Fines and Charges</h3> +<table> +<tr><th colspan="2">Amount</th></tr> +<tr><td>You currently owe fines and charges amounting to:</td> + <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr> +</table> +<!-- /TMPL_IF --> + +<!-- TMPL_IF NAME"amountlessthanzero" --> +<h3>Credits</h3> +<table> +<tr><th colspan="2">Amount</th></tr> +<tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr> +</table> +<!-- /TMPL_IF --> + +<!-- /TMPL_LOOP --> + +<!-- TMPL_IF NAME="waiting_count" --> +<h3>Reserved Items Waiting</h3> + <table> + <tr> + <th colspan="2">Title</th> + <th>Reserve date</th> + <th>Pick Up Branch</th> + </tr> + <!-- TMPL_LOOP NAME="WAITING" --> + <!-- TMPL_IF NAME="atdestination" --><tr> + <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></td> + <td> + <a href="opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a><span class="item-details"> +<!-- TMPL_VAR NAME="author" --></span></td><td><!-- TMPL_VAR NAME="reservedate" --></td><td><!-- TMPL_IF NAME="atdestination" --> + <strong>Waiting</strong> at <!-- TMPL_VAR Name="branch" --> + <!-- TMPL_ELSE --> + In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" --> + <!-- /TMPL_IF --></td> + </tr><!-- /TMPL_IF --> + <!-- /TMPL_LOOP --> + </table> +<!-- /TMPL_IF --> + + + +<!-- TMPL_IF NAME="issues_count" --> +<h3>Issues (<!-- TMPL_VAR NAME="issues_count" --> total)</h3> +<table> +<!-- ISSUES TABLE ROWS --><tr> +<th colspan="2">Title</th> +<th>Call No.</th> +<th>Due</th> +<th>Renew</th> +<th>Fines</th> +</tr> + +<!-- TMPL_LOOP NAME="ISSUES" --> + +<!-- TMPL_IF NAME="overdue" --><tr class="overdue"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> +<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" /></td> +<td><!-- Display for NPL // <!-- TMPL_IF NAME="isbn" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /></a><!-- /TMPL_IF --> //Display for NPL --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span class="item-details"> +<!-- TMPL_VAR NAME="author" --></span></td> +<td><!-- TMPL_VAR NAME="classification" --></td> +<!-- TMPL_IF NAME="overdue" --><td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td><!-- TMPL_ELSE --><td><!-- TMPL_VAR NAME="date_due" --></td><!-- /TMPL_IF --> +<td> +<!-- TMPL_IF NAME="status" --> +<a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<!-- TMPL_VAR NAME="itemnumber" -->&bornum=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> +<!-- TMPL_ELSE --> +Not renewable +<!-- /TMPL_IF --> +</td> +<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td> +</tr> +<!-- /TMPL_LOOP --> +</table> + + <!-- TMPL_ELSE --> + <table> + <caption>Issues</caption> + <tr><td>You have nothing checked out</td></tr> + </table> + <!-- /TMPL_IF --> + +<!-- TMPL_IF NAME="reserves_count" --> +<h3>Reserves (<!-- TMPL_VAR NAME="reserves_count" --> total)</h3> +<table> +<!-- RESERVES TABLE ROWS --> +<tr> +<th>Title</th> +<th>Placed On</th> +<th>Pick Up Location</th> +<th>Status</th> +</tr> +<!-- TMPL_LOOP NAME="RESERVES" --> +<tr> +<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a> +<!-- TMPL_VAR NAME="author" --></td> +<td><!-- TMPL_VAR NAME="reservedate" --></td> +<td><!-- TMPL_VAR Name="branch" --></td> +<td><!-- TMPL_IF NAME="atdestination" --> + Waiting at <!-- TMPL_VAR Name="branch" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="holdingbranch" -->In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --><!-- /TMPL_IF --></td> +</tr> +<!-- /TMPL_LOOP --> +</table> + +<p>If you no longer want a reserve, please send us an e-mail, or go to the circulation desk at your library to get it removed.</p> + +<!-- /TMPL_IF --> + +</div> +<!-- TMPL_INCLUDE NAME="opac-bottom.inc" --> diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-userdetails.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-userdetails.tmpl new file mode 100644 index 0000000000..da2e641bc3 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-userdetails.tmpl @@ -0,0 +1,86 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Personal Details for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + + +<!--CONTENT--> +<div id="main"> +<h2>Personal Details: <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h2> + +<ul><li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> + <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> <!-- TMPL_IF name="OpacPasswordChange" --> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- /TMPL_IF --><!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul> + + +<table> +<tr><th scope="row">Name:</th><td> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td></tr> +<tr><th scope="row"> +Card Number:</th><td><!-- TMPL_VAR NAME="cardnumber" --></td></tr> +</table> + + +<h3>Contact Details</h3> + +<table> +<tr><th scope="row">Mailing Address:</th><td><!-- TMPL_VAR NAME="streetaddress" -->, <!-- TMPL_VAR NAME="city" --></td></tr> + +<tr><th scope="row">Permanent Address:</th><td> <!-- TMPL_VAR NAME="altstreetaddress" -->, <!-- TMPL_VAR NAME="altcity" --></td></tr> + +<tr><th scope="row">Phone (Home):</th><td><!-- TMPL_IF NAME="phone" --><!-- TMPL_VAR NAME="phone" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">Phone (Daytime):</th><td><!-- TMPL_IF NAME="phoneday" --><!-- TMPL_VAR NAME="phoneday" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">Fax:</th><td><!-- TMPL_IF NAME="faxnumber" --><!-- TMPL_VAR NAME="faxnumber" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">E-mail:</th><td><!-- TMPL_IF NAME="emailaddress" --><a href="mailto:<!-- TMPL_VAR NAME="emailaddress" -->"><!-- TMPL_VAR NAME="emailaddress" --></a><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">Textmessaging:</th><td><!-- TMPL_IF NAME="textmessaging" --><!-- TMPL_VAR NAME="textmessaging" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> +</table> + + +<h3>Membership Details</h3> + +<table><tr><th scope="row">Membership Number:</th><td> <!-- TMPL_VAR NAME="borrowernumber" --></td></tr> + +<tr><th scope="row">Membership Category:</th><td> <!-- TMPL_VAR NAME="categorycode" --></td></tr> + +<!-- <td>Area:</th><td> <!-- TMPL_VAR NAME="area" --></td> --> + +<!-- <td>Fee:</th><td> /year, Paid</td> --> + +<tr><th scope="row">Joined:</th><td><!-- TMPL_VAR NAME="dateenrolled" --></td></tr> + +<tr><th scope="row">Expires:</th><td><!-- TMPL_VAR NAME="expiry" --></td></tr> + +<!-- TMPL_IF NAME="joiningbranch" --><tr><th>Joining Branch:</th><td><!-- TMPL_VAR NAME="joiningbranch" --></td></tr><!-- TMPL_ELSE --> <!-- /TMPL_IF --></table> + + + +<h3>Identity Details</h3> + +<table><tr><th scope="row">DoB:</th><td> <!-- TMPL_IF NAME="dateofbirth" --><!-- TMPL_VAR NAME="dateofbirth" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">Sex:</th><td><!-- TMPL_IF NAME="sex" --><!-- TMPL_VAR NAME="sex" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr></table> + + +<h3>Alternate Contact Details</h3> + + +<table><tr><th scope="row">Alternate Contact:</th><td> <!-- TMPL_IF NAME="contactname" --><!-- TMPL_VAR NAME="contactname" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">Phone:</th><td> <!-- TMPL_IF NAME="altphone" --><!-- TMPL_VAR NAME="altphone" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr> + +<tr><th scope="row">Relationship:</th><td> <!-- TMPL_IF NAME="altrelationship" --><!-- TMPL_VAR NAME="altrelationship" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --> </td></tr> + +<tr><th scope="row">Notes:</th><td> <!-- TMPL_IF NAME="altnotes" --><!-- TMPL_VAR NAME="altnotes" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --> </td></tr> + +<tr><th scope="row">Guarantor:</th><td> <!-- TMPL_IF NAME="guarantor" --><!-- TMPL_VAR NAME="guarantor" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --> </td></tr></table> + + +<form action="/cgi-bin/koha/opac-userupdate.pl" method="post"> +<input type="submit" name="Modify" value="Modify Your Record" /> +</form> + +</div> +</body> +</html> \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-userupdate.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-userupdate.tmpl new file mode 100644 index 0000000000..078c7f0332 --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/opac-userupdate.tmpl @@ -0,0 +1,39 @@ +<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP --> +<!-- TMPL_INCLUDE name="doc-head-close.inc" --> +<!-- TMPL_INCLUDE name="masthead.inc" --> +<!-- TMPL_INCLUDE name="navigation.inc" --> + +<!--CONTENT--> +<ul><li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> + <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> <!-- TMPL_IF name="OpacPasswordChange" --> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a> <!-- /TMPL_IF --><!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF --> <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul> + +<div id="main"> +<!-- TMPL_LOOP name="BORROWER_INFO" --> +<h3>Updating Details for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --></h3> +<p>Please make any necessary changes to your record. Submitting the form will notify a library staff member, who will make the changes permanent.</p> +<form action="/cgi-bin/koha/opac-userupdate.pl" method="get"> +<input type="hidden" name="title" value=""> +<table> +<tr><th><label for="surname">Last Name</label></th><td><input id="surname" type="text" size="25" value="<!-- TMPL_VAR name="surname" -->" name="surname"></td></tr> + +<tr><th><label for="firstname">First Name</label></th><td><input id="firstname" type="text" size="25" value="<!-- TMPL_VAR name="firstname" -->" name="firstname"></td></tr> + +<tr><th><label for="streetaddress">Mailing Address</label></th><td><input id="streetaddress" type="text" size="25" value="<!-- TMPL_VAR name="streetaddress" -->" name="streetaddress"></td></tr> + +<tr><th><label for="city">City, State</label></th><td><input id="city" type="text" size="25" value="<!-- TMPL_VAR name="city" -->" name="city"></td></tr> + +<tr><th><label for="phone">Home Phone</label></th><td><input id="phone" type="text" size="25" value="<!-- TMPL_VAR name="phone" -->" name="phone"></td></tr> + +<tr><th><label for="faxnumber">Work/Fax phone</label></th><td><input id="faxnumber" type="text" size="25" value="<!-- TMPL_VAR name="faxnumber" -->" name="faxnumber"></td></tr> + +<tr><th><label for="emailaddress">Email</label></th><td><input id="emailaddress" type="text" size="40" value="<!-- TMPL_VAR name="emailaddress" -->" name="emailaddress"></td></tr> +</table> +<p>Clicking 'Submit Changes' will send an email to a library staff member with the information you've entered. You will then be returned to your patron record.</p> +<p><input type="submit" value="Submit Changes"></p> +</form> + + +<!-- /TMPL_LOOP --> +</div> +</body> +</html> -- 2.39.5