diff --git a/koha-tmpl/opac-tmpl/npl/en/includes/basket.js b/koha-tmpl/opac-tmpl/npl/en/includes/basket.js deleted file mode 100644 index 4126ddd205..0000000000 --- a/koha-tmpl/opac-tmpl/npl/en/includes/basket.js +++ /dev/null @@ -1,365 +0,0 @@ -////////////////////////////////////////////////////////////////////////////// -// 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); - } - 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(biblionumber) { - openerURL="opac-detail.pl?bib="+biblionumber; - opener.document.location = openerURL; -} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/npl/en/includes/favicon.ico b/koha-tmpl/opac-tmpl/npl/en/includes/favicon.ico deleted file mode 100644 index 586bd559d9..0000000000 Binary files a/koha-tmpl/opac-tmpl/npl/en/includes/favicon.ico and /dev/null differ diff --git a/koha-tmpl/opac-tmpl/npl/en/includes/marc-editor.css b/koha-tmpl/opac-tmpl/npl/en/includes/marc-editor.css deleted file mode 100644 index bda5e8578a..0000000000 --- a/koha-tmpl/opac-tmpl/npl/en/includes/marc-editor.css +++ /dev/null @@ -1,91 +0,0 @@ -div.tabbed { - /*border : 1px solid red; - position: absolute;*/ - margin-left:5%; - width:90%; -/* display:block;*/ -} - -div.tabs { -/* border : 1px solid aqua;*/ - float : left; - margin : 5px 0 0 0; -/* position:absolute; - margin-left: .5em; - margin-top:110px;*/ -} - -div.tabs a { - display:block; - background-color: #D8DEB8; - color: #000066; - font-weight : bold; - text-decoration : none; - border-bottom : 1px solid #999933; - border-left : 1px solid #999933; - border-right : 1px solid #FFFFCC; - border-top : 1px solid #FFFFCC; - margin : 0 0 2px 0; - padding: 10px 5px 10px 5px; - -} - -div.tabs a:hover { - background-color : #CCFF99; - border-left : 1px solid #000066; - border-bottom : 1px solid #000066; -} - -div.tab { - background-color : #FFFFCC; - border : 1px solid #D8DEB8; - border-top : 1px solid #FFFFCC; - display: block; - visibility:hidden; - position : absolute; - margin : 5px 0 0 55px; - padding : 3px 3px 3px 10px; - width : 70%; - /*margin-top:110px;*/ -} - -/* style for tag definition (e.g. 700 - Statement of responsibility) */ -.MARCtag { - clear : left; - color : #000000; - background-color : #FFFFCC; - border-top : 7px solid #FFFFCC; - border-bottom : thin solid #CCCC99; - font-weight : bold; - font-size : .8em; - margin-top : 5px; -} - -div.tab p { - margin : 3px; -} - -/* style for each subfield (e.g.: Publication year), just before the biblio subfield */ -.labelsubfield { - background-color : #FFFFE1; -/* border : 1px solid red;*/ - clear : left; - float : left; - font-size : .8em; - font-weight : normal; - width : 12em; - margin-left : 30px; - display : inline; -} - -#loading { - position: absolute; - top: 3em; - left: 3em; - padding: 1em; - mozopacity: 50%; - background-color: #FFFFFF; - border: 10px solid #CCCC99; - font-size: 1.5em; - z-index: 999; - } \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/npl/en/includes/opac.css b/koha-tmpl/opac-tmpl/npl/en/includes/opac.css deleted file mode 100644 index 4331e7fc46..0000000000 --- a/koha-tmpl/opac-tmpl/npl/en/includes/opac.css +++ /dev/null @@ -1,942 +0,0 @@ -a { - color : #006699; - font-weight : bold; -} - -a:active { - color : #990033; -} - -a:visited { - color : #006699; -} - -a:hover { - color : #990033; -} - -a:link.current { - background-color : transparent; - color : #3366CC; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:hover.current { - background-color : #CCFF00; - color : #CC3333; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:visited.current { - background-color : transparent; - color : #3366CC; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:active.current { - background-color : #99CC00; - color : #FFFF99; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:link.nav { - background-color : #FFFFCC; - color : #3366CC; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:hover.nav { - background-color : #CCFF00; - color : #CC3333; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:active.nav { - background-color : #99CC00; - color : #FFFF99; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -a:visited.nav { - background-color : #FFFFCC; - color : #3366CC; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -.menu a:link.logout { - background-color : #FFDD75; - color : Black; - font-weight : bold; - padding : 3px 15px 3px 15px; - text-decoration : none; -} - -.menu a:active.logout { - background-color : #FFDD75; - color : Black; - font-weight : bold; - padding : 3px 15px 3px 15px; - text-decoration : none; -} - - -.menu a:visited.logout { - background-color : #FFDD75; - color : Black; - font-weight : bold; - padding : 3px 15px 3px 15px; - text-decoration : none; -} - -.menu a:hover.logout { - background-color : #FFCC33; - color : Black; - font-weight : bold; - padding : 3px 15px 3px 15px; - text-decoration : none; -} - -body { - background-color : #339999; - font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; - margin : 0; - padding : 0; -} - -caption { - color : #000066; - font-family : arial,helvetica; - font-size : 140%; - font-weight : bold; - margin : 0; - padding : 5px 0 3px 0; - text-align : left; -} - -div.form, div.details { - background-color : #FFFFCC; - border : 0px dotted #333333; - margin : 0 auto; - padding : 5px; - width : 95%; -} - -div.details ul { - margin-left : 0; - text-align : left; - list-style-type: circle; -} - -div.table { - width : 95%; -} - -fieldset { - border : 0; - padding : 2px; - margin : 2px; -} - -form { - display : inline; - margin : 0; - padding : 0; -} - -h1,h2,h3,h4,h5,h6 { - color : #000066; - font-family : arial, geneva, helvetica, sans-serif; - margin : 0; -} - -h1 { - font-size : 150%; - padding : 5px 0 3px 0; -} - -h1.logo { - color : #D3DFAD; - display : inline; - margin : 10px 0 0 10px; -} - -h1.title { - font-style : italic; - padding : 5px 0 3px 0; -} - -h2 { - font-size : 130%; - padding : 5px 0 3px 0; -} - -h3 { - font-size : 120%; - padding : 5px 0 3px 0; -} - -h3+p { - margin : .4em 0 .4em 0; -} - -p+h3 { - margin-top : .6em; -} - -h3.author { - padding : 0 0 3px 15px; -} - -h4 { - padding : 5px 0 3px 0; -} - -h5 { - font-size : 100%; - margin : 0; - padding : 10px 0 2px 0; -} - -p+h5 { - padding : 3px 0 2px 0; - margin : 0; -} - -h5+p { - padding-top : 0; - margin-top : 0; -} - -.inline { - display : inline; -} - -p { - padding : 0 10px 0 10px; -} - -p.error, div.error { - background-color : #FFFFCC; - border : 1px dashed #cc6600; - font-size : 1.05em; - font-weight : normal; - padding : 5px 20px 5px 20px; -} - -div.error { - font-size : .9em; - padding : 3px 10px 3px 10px; - width : 75%; -} - -div.error h3 { - color : #990000; -} - -div.error li { - margin-bottom : .5em; -} - -table { - background-color : #FFFFCC; - border-bottom : 0 solid #000000; - border-collapse : collapse; - border-left : 0 solid #000000; - margin : 5px 0 5px 0; - padding : 0; - width : 100%; w\idth:auto; -} - -td { - border-bottom : 1px solid #E7E7CA; - border-right : 1px solid #E7E7CA; - font-size : .90em; - padding : 5px 5px 5px 5px; -} - -th { - background-color : #D8DEB8; - border-bottom : 1px solid #000000; - border-right : 1px solid #000000; - font-size : 12px; - font-weight : bold; - padding : 5px 5px 5px 5px; -} - -th:last-child { - background-color : #D8DEB8; - border-bottom : 1px solid #000000; - border-right : 0 solid #000000; - font-size : 14px; - font-weight : bold; - padding : 5px 5px 5px 5px; -} - -th[scope="row"] { - background-color : #E7E7CA; - font-size : 60%; - font-weight : normal; - text-align : right; -} - -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; - padding : 2px 2px 2px 4px; - text-align : right; -} - -td.label, div.form th, div.details th { - background-color : #FFC; - border-bottom : 1px solid #E7E7CA; - border-left : 1px solid #E7E7CA; - border-right : 0; - border-top : 0; - color : #000088; - font-weight : bold; - padding : 2px 2px 2px 4px; - text-align : left; - vertical-align : top; -} - -div.details td.details { - text-align : left; -} - -td.label { - border-bottom : 1px solid #E7E7CA; - border-left : 1px solid #E7E7CA; - color : #000088; - font-weight : bold; - line-height : 1.5em; - padding : 4px; -} - -td:last-child { - border-bottom : 1px solid #E7E7CA; - border-right : 0 solid #E7E7CA; - font-size : 12px; - padding : 5px 5px 5px 5px; -} - -tr.highlight { - background-color : #FFFFFF; -} - -.rejected { - text-decoration: line-through; -} - -.selected { - text-decoration: none; -} - -.content-block { - background-color : #FFFFCC; - margin : 15px; - padding : 5px; - width : 90%; -} - -.count { - font-size : .7em; - font-weight : normal; -} - -.current { - background-color : #FFFFFF; - color : #3366CC; - font-size : 12px; - font-weight : bold; - padding : 1px 5px 1px 5px; - text-decoration : none; -} - -.ex { - font-family : "Courier New", Courier, monospace; -} - -div.bookcover { - float: right; -} - -.further { - color: #CCCC99; - float: right; - font-size : 80%; - border: 2px solid #D8DEB8; - margin : 5px; - width : 30%; - background-color : #E7E7CA; -} - -.further h4 { - background-color : #D8DEB8; - padding : 2px; -} - -.further ul, .further li { - margin : 0 0 0 .5em; - padding : 0; -} - -.further li { - border-bottom : 1px solid #CCCC99; - padding : 2px 0; - } - -.detail-sidebar { - float: right; - padding: 5px; - margin-left : 15px; - background-color : #E7E7CA; - text-align: center; - width : 35%; -} - -.detail-sidebar .further { - float: none; - text-align: left; - width : 90%; -} - -.operations { - border : 0px solid aqua; - font-size: 90%; - text-align: center; - margin-top: 7px; - padding-left: 10px; - width: : 100%; -} - -.operations ul { - border: 0px solid lime; - margin: 0; - padding : 0; - width: 90%; -} - -.operations li { - list-style-type: none; - margin: 0; - padding-bottom : 2px; -} - -.operations li a, .operations li a:visited { - border: 2px solid #D8DEB8; - border-style: outset; - color: #E7E7CA; - display: block; - background-color : #CC6600; - background-repeat : no-repeat; - background-position : top left; - padding: 3px 3px 3px 26px; - text-decoration: none; -} - -.operations li a:hover { - color: #FFFFCC; - background-color: #FF9933; -} - -.operations li a:active { - color: : #FFFFCC; - background-color: #FF9933; - border-style: inset; -} - -.item-details { - display : block; - margin : 0 0 0 25px; -} - -.loggedin { - color : #D8DEB8; - font-weight : bold; -} - -.marctag { - font-family : Arial, Geneva, sans-serif; - color : #000000; - background-color : #E7E7CA; - margin : 1px; - padding : 3px; -} - -.marcsubfieldletter { - font-family : Arial, Geneva, sans-serif; - background-color: #EFF1DC; - padding : 3px; -} - -.marcsubfieldname { - font-family : Arial, Geneva, sans-serif; - background-color: #FFFFCC; - padding : 3px; -} - -.subfield { - font-family : Arial, Geneva, sans-serif; - background-color: #FFFFCC; - padding : 3px; -} - -.subfieldvalue { - font-family : Arial, Geneva, sans-serif; - font-weight : bold; - background-color : #FFFFFF; - padding : 3px; -} - -.menu { - color : #CCCC99; - margin-bottom : 5px; - margin-left : 15px; - margin-right : 10px; -} - -#members a { - text-decoration : none; -} - -.menu a:link, #members a:link { - color : #CCFF66; - padding : 2px; -} - -.menu a:visited, #members a:visited { - color : #CCFF66; - padding : 2px; -} - -.menu a:hover, #members a:hover { - color : #FFFFCC; - padding : 2px; -} - -.menu a:active, #members a:active { - color : #FFFFCC; - padding : 2px; -} - -#members a.card { - display : block; - padding-left : 39px; - background-image: url(../images/card.gif); - background-position: left; - background-repeat: no-repeat; -} - -.menu input { - font-size : 80%; -} - -.menu label { - font-weight : bold; -} - -.menu p { - margin : 0; - padding : 0; -} - -.menu p+p { - margin-top : 5px; -} - -.opac-detail { - background-color : #FFFFCC; - padding : 4px; -} - -em.new { - color : #CC3333; - font-weight : bold; - font-style : normal; -} - -.login-note { - width : 35%; -} - -.note { - background-color : #E7E7CA; - border-left : 1px solid #FFFFCC; - border-top : 1px solid #FFFFCC; - border-right : 1px solid #999900; - border-bottom : 1px solid #999900; - font-size : 12px; - margin : 10px auto; - padding : 4px 4px 4px 4px; - width : 35%; -} - -div.notes { - text-align: left; -} - -.opac-detail dd { - border-bottom : 1px solid #E7E7CA; - color : #000000; - display : block; - line-height : 1.5em; - padding : 4px; - text-align : right; -} - -.submit { - background-color : #CC6600; - color : #FEEDDB; - font-family : verdana,arial,hevetica; - font-size : small; - font-weight : bold; - padding : 2px; -} - -.thumbnail { - float : left; - margin : 0 5px 5px 0; - border : 0; -} - -input.icon { - background-position: left; - background-repeat: no-repeat; - background-color : #CC6600; - color : #FEEDDB; - font-family : verdana,arial,hevetica; - font-size : small; - font-weight : bold; - padding : 2px 2px 2px 22px; -} - -input.add, a.add { - background-image: url(../images/add.gif); -} - -input.back, a.back { - background-image: url(../images/back.gif); -} - -input.cart, a.cart { - background-image: url(../images/basket.gif); -} - -input.print, a.print { - background-image: url(../images/print2.gif); -} - -input.detail, a.detail { - background-image: url(../images/detail.gif); -} - -input.brief, a.brief { - background-image: url(../images/brief.gif); -} - -input.send, a.send { - background-image: url(../images/send.gif); -} - -input.trash, a.trash { - background-image: url(../images/trash.gif); -} - -input.close, a.close { - background-image: url(../images/close.gif); -} - -input.addchecked, a.addchecked { - background-image: url(../images/addtobasket.gif); -} - -input.clearall, a.clearall { - background-image: url(../images/clearbasket.gif); -} - -input.isbd, a.isbd { - background-image: url(../images/isbd.gif); -} - -input.shelf, a.shelf { - background-image: url(../images/addtoshelf.gif); -} - -input.reserve, a.reserve { - background-image: url(../images/placereserve.gif); -} - -input.delete, a.delete { - background-image: url(../images/delete.gif); -} - -input.edit, a.edit { - background-image: url(../images/edit.gif); -} - -.left { - float : left; -} - -.right { - float : right; -} - -.title { - font-style : italic; - font-weight : bold; -} - -#footer { - border-top : 1px solid #000000; - clear : both; -} - -#main { - background-color : #CCCC99; - border-left : 1px solid #CCCC99; - margin-left : 20%; - margin-right : 2%; - margin-top : 3%; - padding : 10px; - position : relative; -} - -#window { - background-color : #CCCC99; - border-left : 1px solid #CCCC99; - margin-left : 2%; - margin-right : 2%; - margin-top : 2%; - padding : 10px; -} - -#window div.menu { - margin : 0; -} - -#window .class { - display : block; - font-weight : bold; - padding : 0 0 5px 3px; -} - -#masthead { - background-color : #339999; - margin : 0 0 0 5px; -} - -#nav { - background-color : #CCCC99; - float : left; - margin : 2% 0% 0% 1%; - padding : 0; - width : 18%; -} - -#nav a { - font-family : Arial, Geneva, Helvetica, sans-serif; - font-size : 1.1em; - font-weight : bold; - text-decoration : none; -} - -#nav ul { - margin : 0; - padding : 0; -} - -#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; - font-family : Arial, Geneva, Helvetica, sans-serif; - font-size : .8em; - list-style : none; - margin : 0; - padding : 3px; - text-align : right; -} - -#nav ul li+li { - border-bottom : 1px solid #CCCC99; - border-left : 0 solid #FFFFCC; - border-right : 0 solid #006699; - margin : 0; -} - -#nav li ul li { - background-color : #E7E7CA; /*width : 100%;*/ - border-bottom : 1px solid #D8DEB8; - border-left : 0 solid #FFFFCC; - border-right : 0 solid #006699; - border-top : 0 solid #FFFFCC; - font-family : Arial, Helvetica, sans-serif; - font-size : 1.1em; - list-style : none; - margin : 0; - padding : 5px 3px 5px 3px; - text-align : right; -} - -#nav li ul li a { - color: Blue; - font-family : Tahoma; - font-size : .99em; - font-weight : bold; - text-decoration : none; -} - -#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; - font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size : 80%; - margin : 0; - padding : 7px 0 10px 0; -} - -#sidebar { - background-color : #EFF1DC; - width : 20%; - border : 1px dashed #CCCC99; - margin : 20px; - padding : 5px; - float : right; - font-size : 80%; -} - -#sidebar h3 { - color : #000066; - font-family : arial,helvetica; - font-size : 110%; - margin : 0; - padding : 5px 0 1px 0; -} - -#sidebar .submit { - background-color : #CC6600; - color : #FEEDDB; - font-family : verdana,arial,hevetica; - font-size : 80%; - font-weight : bold; - padding : 2px; -} - -#search-sidebar { - background-color : #FFFFCC; - width : 33%; - margin : 10px; - padding : 3px; - float : right; - font-size : 80%; -} - -.sidebar-box { - border : 1px dashed #CCCC99; - margin-bottom : 15px; -} - -.sidebar-box h3, .sidebar-box h4 { - margin-left : 10px; -} - -.sidebar-box label { - display : block; -} - -.sidebar-box p { - margin : 3px 10px; - padding : 0; -} - -.issued { - color : #999999; -} - -.overdue { - color : #cc0000; - font-weight : bold; -} - -span.print { - font-size : .7em; - font-weight : normal; - padding-left : .7em; - } - -#members { -/* background-color : transparent;*/ - background-color : #339999; - border : 0px dashed #666666; - font-size : .85em; - font-weight : bold; - color : #000066; - position : absolute; - top : 0; - right : 0; - } - -#members ul { - margin : 0; - padding : .3em .3em .3em 1.5em; -} - -#members a.logout { - background-color : #FFDD75; - color : Black; - font-weight : bold; - padding : 0 .3em 0 .3em; - text-decoration : none; -} - -#members a:hover.logout { - background-color : #FFCC33; -} - -.loggedinusername { - color : #D8DEB8; -} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/npl/en/includes/print.css b/koha-tmpl/opac-tmpl/npl/en/includes/print.css deleted file mode 100644 index cae7ac833f..0000000000 --- a/koha-tmpl/opac-tmpl/npl/en/includes/print.css +++ /dev/null @@ -1,211 +0,0 @@ -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/npl/en/includes/script.js b/koha-tmpl/opac-tmpl/npl/en/includes/script.js deleted file mode 100644 index bb4423348e..0000000000 --- a/koha-tmpl/opac-tmpl/npl/en/includes/script.js +++ /dev/null @@ -1,66 +0,0 @@ -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 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