View | Details | Raw Unified | Return to bug 5250
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-6 / +15 lines)
Lines 295-312 Circulation: Link Here
295
            - fines (when <code>misc/cronjobs/fines.pl</code> is being run).
295
            - fines (when <code>misc/cronjobs/fines.pl</code> is being run).
296
    Self Checkout:
296
    Self Checkout:
297
        -
297
        -
298
            - pref: WebBasedSelfCheck
299
              choices:
300
                  yes: Enable
301
                  no: "Don't enable"
302
            - "the web-based self checkout system. (available at: http://your-opac.org/cgi-bin/koha/sco/sco-main.pl)"
303
        -
304
            - pref: WebBasedSelfCheckTimeout
305
              class: integer
306
            - milliseconds before the web-based self checkout session times out (1000 milliseconds/second).
307
        -
308
            - "Include the following HTML in the header of the web-based self checkout:"
309
            - pref: WebBasedSelfCheckHeader
310
              type: textarea
311
              class: code
312
        -
298
            - pref: ShowPatronImageInWebBasedSelfCheck
313
            - pref: ShowPatronImageInWebBasedSelfCheck
299
              choices:
314
              choices:
300
                  yes: Show
315
                  yes: Show
301
                  no: "Don't show"
316
                  no: "Don't show"
302
            - "the patron's picture (if one has been added) when they use the web-based self checkout."
317
            - "the patron's picture (if one has been added) when they use the web-based self checkout."
303
        -
318
        -
304
            - pref: WebBasedSelfCheck
305
              choices:
306
                  yes: Enable
307
                  no: "Don't enable"
308
            - "the web-based self checkout system. (available at: /cgi-bin/koha/sco/sco-main.pl)"
309
        -
310
            - pref: AutoSelfCheckAllowed
319
            - pref: AutoSelfCheckAllowed
311
              choices:
320
              choices:
312
                  yes: Allow
321
                  yes: Allow
(-)a/koha-tmpl/opac-tmpl/prog/en/css/sco.css (-97 / +106 lines)
Lines 1-168 Link Here
1
@import url("../../en/lib/yui/reset-fonts-grids.css");
2
@import url("../../en/lib/yui/skin.css");
3
4
a {
1
a {
5
	font-weight : bold;
2
    font-weight : bold;
6
}
3
}
7
4
8
a, a:visited {
5
a, a:visited {
9
	color : #006699;
6
    color : #006699;
10
}
7
}
11
8
12
a:hover,input.editshelf:hover,a.editshelf:hover,input.deleteshelf:hover {
9
a:hover,input.editshelf:hover,a.editshelf:hover,input.deleteshelf:hover {
13
	color : #990033;
10
    color : #990033;
14
}
11
}
15
12
16
body {
13
body {
17
	background-color : white;
14
    background-color : white;
18
	text-align : left;
15
    text-align : left;
19
	padding : 0 0 2.5em 0;
16
    padding : 0 0 2.5em 0;
20
}
17
}
21
18
22
caption {
19
caption {
23
	font-size : 110%;
20
    font-size : 123.1%;
24
	text-align : left;
21
    text-align : left;
25
	font-weight : bold;
22
    font-weight : bold;
26
}
23
}
27
24
28
fieldset {
25
fieldset {
29
	background-color: #FFF;
26
    background-color: #FFF;
30
	border : 2px solid #EEEEEE;
27
    border : 2px solid #EEEEEE;
31
	margin : 1em 1em 1em 0;
28
    margin : 1em 1em 1em 0;
32
	padding : 1em;
29
    padding : 1em;
33
}
30
}
34
31
35
h1,h2,h3,h4,h5,h6 {
32
h1,h2,h3,h4,h5,h6 {
36
	font-weight : bold;
33
    font-weight : bold;
37
	margin : .5em 0;
34
    margin : .5em 0;
38
}
35
}
39
36
40
h1 {
37
h1 {
41
	font-size : 138.5%;
38
    font-size : 138.5%;
42
}
39
}
43
40
44
h2 {
41
h2 {
45
	font-size : 134%;
42
    font-size : 134%;
46
}
43
}
47
44
48
h3 {
45
h3 {
49
	font-size : 123.1%;
46
    font-size : 123.1%;
50
}
47
}
51
48
52
h4 {
49
h4 {
53
	font-size : 116%;
50
    font-size : 116%;
54
}
51
}
55
52
56
h5 {
53
h5 {
57
	font-size : 108%;
54
    font-size : 108%;
58
}
55
}
59
56
60
h6 {
57
h6 {
61
	font-size : 100%;
58
    font-size : 100%;
62
}
59
}
63
60
64
input[type=submit], input[type=button], input[type=reset] {
61
input[type=submit], input[type=button], input[type=reset] {
65
	background : #b8d0e6 url(../../images/submit-bg.gif) repeat-x 0 0;
62
    background : #b8d0e6 url(../../images/submit-bg.gif) repeat-x 0 0;
66
	background-color : #b8d0e6;
63
    background-color : #b8d0e6;
67
	border-top: 1px solid #cccccc;
64
    border-top: 1px solid #cccccc;
68
	border-left: 1px solid #cccccc;
65
    border-left: 1px solid #cccccc;
69
	border-right: 1px solid #eeeeee;
66
    border-right: 1px solid #eeeeee;
70
	border-bottom: 1px solid #eeeeee;
67
    border-bottom: 1px solid #eeeeee;
71
	color : #333;
68
    color : #333;
72
	font-size : 93%;
69
    font-size : 93%;
73
	font-weight : bold;
70
    font-weight : bold;
74
	padding : 4px;
71
    padding : 4px;
75
}
72
}
76
73
77
input[type=submit]:active, input[type=button], input[type=reset] {
74
input[type=submit]:active, input[type=button], input[type=reset] {
78
	border: 1px inset #666666;
75
    border: 1px inset #666666;
79
	float : none;
76
    float : none;
80
}
77
}
78
81
.dialog {
79
.dialog {
82
  border: 1px solid #bcbcbc;
80
    border: 1px solid #bcbcbc;
83
	padding : .5em;
81
    padding : .5em;
84
	margin : 1em auto;
82
    margin : 1em auto;
85
  width: 65%;
83
    width: 65%;
84
    font-size: 110%;
86
  }
85
  }
87
  
86
88
.dialog  h2, .dialog h3, .dialog h4 {
87
.dialog  h2, .dialog h3, .dialog h4 {
89
  	margin : auto;
88
      margin : auto;
90
	text-align : center;
89
    text-align : center;
91
  }
90
  }
92
 
91
93
div.alert {
92
div.alert {
94
  background : #FFC url(../../images/alert-bg.gif) repeat-x left 0;
93
  background : #FFC url(../../images/alert-bg.gif) repeat-x left 0;
95
  text-align : center;
94
  text-align : center;
96
}
95
}
97
96
98
div.alert strong {
97
div.alert strong {
99
	color : #900;
98
    color : #900;
100
}
99
}
101
100
102
.dialog input {
101
.dialog input {
103
 	background : #FFF none;
102
     background : #FFF none;
104
 	border : 1px solid #bcbcbc;
103
     border : 1px solid #bcbcbc;
105
	margin : .4em;
104
    margin : .4em;
106
	padding : .4em;
105
    padding : .4em;
107
 }
106
 }
108
107
109
 
108
 
110
.dialog input.back {
109
.dialog input.back {
111
 	background : #FFF url(../../famfamfam/silk/arrow_left.png) no-repeat 4px center;
110
     background : #FFF url(../../famfamfam/silk/arrow_left.png) no-repeat 4px center;
112
	padding : .4em .4em .4em 25px;	
111
    padding : .4em .4em .4em 25px;    
113
 }
112
 }
114
 
113
 
115
.dialog input.return {
114
.dialog input.return {
116
 	background : #FFF url(../../famfamfam/silk/book_previous.png) no-repeat 4px center;
115
     background : #FFF url(../../famfamfam/silk/book_previous.png) no-repeat 4px center;
117
	padding : .4em .4em .4em 25px;	
116
    padding : .4em .4em .4em 25px;    
118
 }
117
 }
119
 
118
 
120
.dialog input.renew {
119
.dialog input.renew {
121
 	background : #FFF url(../../famfamfam/silk/arrow_refresh.png) no-repeat 4px center;
120
     background : #FFF url(../../famfamfam/silk/arrow_refresh.png) no-repeat 4px center;
122
	padding : .4em .4em .4em 25px;	
121
    padding : .4em .4em .4em 25px;    
123
 }
122
 }
124
 
123
 
125
.dialog input.cancel {
124
.dialog input.cancel {
126
 	background : #FFF url(../../famfamfam/silk/cancel.png) no-repeat 4px center;
125
     background : #FFF url(../../famfamfam/silk/cancel.png) no-repeat 4px center;
127
	padding : .4em .4em .4em 25px;	
126
    padding : .4em .4em .4em 25px;    
128
 }
127
 }
129
128
130
input.finish {
129
input.finish {
131
	background : #dbe7ff url(../../famfamfam/silk/stop.png) no-repeat 4px center;
130
    background : #dbe7ff url(../../famfamfam/silk/stop.png) no-repeat 4px center;
132
	border : 1px outset #666;
131
    border : 1px outset #666;
133
	padding : .2em .2em .2em 25px;
132
    padding : .2em .2em .2em 25px;
134
}
133
}
135
 
134
 
136
table {
135
table {
137
	background-color: #FFF;
136
    background-color: #FFF;
138
	border-collapse : collapse;
137
    border-collapse : collapse;
139
	margin : 1em 0;
138
    margin : 1em 0;
140
	border-right : 1px solid #dddddd;
139
    border-right : 1px solid #dddddd;
141
	border-top : 1px solid #dddddd;
140
    border-top : 1px solid #dddddd;
142
}
141
}
143
142
144
td,th {
143
td,th {
145
	background-color: #FFF;
144
    background-color: #FFF;
146
	border-left : 1px solid #dddddd;
145
    border-left : 1px solid #dddddd;
147
	border-bottom : 1px solid #dddddd;
146
    border-bottom : 1px solid #dddddd;
148
	padding : 3px 3px;
147
    padding : 3px 3px;
149
}
148
}
150
149
151
th {
150
th {
152
	background-color:#EEE;
151
    background-color:#EEE;
153
	font-weight : bold;
152
    font-weight : bold;
154
	padding : 2px 23px;
153
    padding : 2px 23px;
155
	text-align : center;
154
    text-align : center;
156
}
155
}
157
156
158
tr.highlight td, tr.highlight th, tr.odd td {
157
tr.highlight td, tr.highlight th, tr.odd td {
159
	background-color : #F3F3F3;
158
    background-color : #F3F3F3;
160
   border-top : 1px solid #DDDDDD;
159
   border-top : 1px solid #DDDDDD;
161
   border-bottom : 1px solid #DDDDDD;
160
   border-bottom : 1px solid #DDDDDD;
162
}
161
}
163
162
164
tr.even td, tr.even.highlight td {
163
tr.even td, tr.even.highlight td {
165
	background-color: #FFF;
164
    background-color: #FFF;
166
}
165
}
167
166
168
.header {
167
.header {
Lines 179-228 tr.even td, tr.even.highlight td { Link Here
179
}
178
}
180
179
181
p {
180
p {
182
	margin: .7em 0;
181
    margin: .7em 0;
183
}
182
}
184
183
185
strong {
184
strong {
186
	font-weight : bold;
185
    font-weight : bold;
187
}
186
}
188
187
189
em {
188
em {
190
	font-style : italic;
189
    font-style : italic;
191
}
190
}
192
#borrowerdetails {
191
#borrowerdetails {
193
	margin-top : 1em;
192
    margin-top : 1em;
194
}
193
}
195
#barcode,
194
#barcode,
196
#patronid {
195
#patronid {
197
	font-size : 125%;
196
    font-size : 125%;
198
	padding-bottom : 3px;
197
    padding-bottom : 3px;
199
}
198
}
200
input.focus {
199
input.focus {
201
	background-color : #FFC;
200
    background-color : #FFC;
202
	border : 2px inset #336699;
201
    border : 2px inset #336699;
203
}
202
}
204
#checkouthelp {
203
#checkouthelp {
205
	background : #FFF url("../../famfamfam/silk/help.png") no-repeat 4px center;
204
    background : #FFF url("../../famfamfam/silk/help.png") no-repeat 4px center;
206
	padding : 3px 3px 3px 26px;
205
    padding : 3px 3px 3px 26px;
207
	position : absolute;
206
    position : fixed;
208
	top : 0;
207
    right : 0;
209
	right : 0;
210
}
208
}
211
div.button {
209
div.button {
212
	float : left;
210
    float : left;
213
	margin-top : 2em;
211
    margin-top : 2em;
214
	padding : .4em 0;	
212
    padding : .4em 0;    
215
}
213
}
216
div.button a:link,
214
div.button a:link,
217
div.button a:visited,
215
div.button a:visited,
218
div.button a:hover,
216
div.button a:hover,
219
div.button a:active {
217
div.button a:active {
220
 	background : #FFF url(../../famfamfam/silk/book_previous.png) no-repeat 4px center;
218
     background : #FFF url(../../famfamfam/silk/book_previous.png) no-repeat 4px center;
221
	border : 1px outset #666;
219
    border : 1px outset #666;
222
	color : #000;
220
    color : #000;
223
	padding : .4em .4em .4em 25px;	
221
    padding : .4em .4em .4em 25px;    
224
	text-decoration : none;
222
    text-decoration : none;
225
}
223
}
226
div.button a:active {
224
div.button a:active {
227
	border : 1px inset #666;
225
    border : 1px inset #666;
226
}
227
228
#banner {
229
    margin-left: auto;
230
    margin-right: auto;
231
    text-align: center;
232
}
233
234
.tag {
235
    font-size: 110%;
236
    padding-right: 3px;
228
}
237
}
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/help.tmpl (-34 / +34 lines)
Lines 1-36 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> &rsaquo; Self Checkout</title>
1
        <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> &rsaquo; Self Checkout</title>
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3
<meta name="generator" content="Koha <!-- TMPL_VAR NAME="Version" -->" /> <!-- leave this for stats -->
3
        <meta name="generator" content="Koha <!-- TMPL_VAR NAME="Version" -->" /> <!-- leave this for stats -->
4
<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
4
        <link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
5
5
        <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
6
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
6
    </head>
7
</head>
7
    <body>
8
<body>
8
        <div id="doc" class="yui-t7">
9
<div id="doc" class="yui-t7">
9
            <div id="bd">
10
  <div id="bd">
10
                <div class="yui-g">
11
    <div class="yui-g">
11
                    <h1>Self Checkout Help</h1>
12
12
13
<h1>Self Checkout Help</h1>
13
                    <p>If this is your first time using the self checkout system, or if the system
14
14
                    is not behaving as expected, you may want to refer to this guide to get
15
<p>If this is your first time using the self checkout system, or if the system
15
                    yourself started.</p>
16
is not behaving as expected, you may want to refer to this guide to get
16
17
yourself started.</p>
17
                    <h3>Step One: Enter your user id</h3>
18
18
19
<h3>Step One: Enter your user id</h3>
19
                    <p>Enter your User ID, and click the submit button (or press the enter key).</p>
20
<p>Enter your User ID, and click the submit button (or press the enter key).</p>
20
21
21
                    <h3>Step Two: Scan the barcode for each item, one at a time</h3>
22
<h3>Step Two: Scan the barcode for each item, one at a time</h3>
22
23
<p>Scan each item and wait for the page to reload before scanning the next item.
23
                    <p>Scan each item and wait for the page to reload before scanning the next item.
24
The checked-out item should appear in your checkouts list.
24
                    The checked-out item should appear in your issues list.
25
The Submit button only needs to be clicked if you enter the barcode manually.</p>
25
                    The Submit button only needs to be clicked if you enter the barcode manually.</p>
26
26
27
<h3>Step Three: Click the 'Finish' button</h3>
27
                    <h3>Step Three: Click the 'Click here if done' link when done</h3>
28
28
                </div>
29
    <div class="button">
29
            </div>
30
        <a href="javascript:history.go(-1)">Return to the Self-Checkout</a>
30
        </div>
31
    </div>
31
        <form action="/cgi-bin/koha/edithelp.pl" method="post">
32
32
            <fieldset class="action"><input type="button" class="submit" onclick="window.close(); return false;" value="Close Help Window" />
33
</div></div></div>
33
        </form>
34
</body>
34
    </body>
35
</html>
35
</html>
36
36
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tmpl (-181 / +209 lines)
Lines 7-13 Link Here
7
<script type="text/javascript">//<![CDATA[
7
<script type="text/javascript">//<![CDATA[
8
function sco_init(valid_session) {
8
function sco_init(valid_session) {
9
    if (valid_session == 1) {
9
    if (valid_session == 1) {
10
        setTimeout("location.href='/cgi-bin/koha/sco/sco-main.pl?op=logout';",120000); // TODO: syspref for timeout
10
        setTimeout("location.href='/cgi-bin/koha/sco/sco-main.pl?op=logout';",<!-- TMPL_VAR NAME="TIMEOUT" -->);
11
    }
12
    else if (valid_session == 2) {
13
        setTimeout("location.href='/cgi-bin/koha/sco/sco-main.pl';",<!-- TMPL_VAR NAME="TIMEOUT" -->);
11
    }
14
    }
12
}
15
}
13
function dofocus() {    // named function req'd for body onload event by some FF and IE7 security models
16
function dofocus() {    // named function req'd for body onload event by some FF and IE7 security models
Lines 19-25 function checkout_confirm(patronid) { Link Here
19
    var   barcode = $("#barcode").val();
22
    var   barcode = $("#barcode").val();
20
    // alert("checkout_confirm('" + patronid + "') called for barcode '" + barcode + "'");
23
    // alert("checkout_confirm('" + patronid + "') called for barcode '" + barcode + "'");
21
    if (! barcode) { dofocus(); return false; }    // no barcode
24
    if (! barcode) { dofocus(); return false; }    // no barcode
22
    if (barcode == "__KOHA_NEW_CIRC__") {   // magic barcode 
25
    if (barcode == "__KOHA_NEW_CIRC__") {   // magic barcode
23
        window.location.href='/cgi-bin/koha/sco/sco-main.pl?op=logout';
26
        window.location.href='/cgi-bin/koha/sco/sco-main.pl?op=logout';
24
        return false;
27
        return false;
25
    }
28
    }
Lines 43-48 $.tablesorter.addParser({ Link Here
43
$(document).ready(function() {
46
$(document).ready(function() {
44
    <!-- TMPL_IF    NAME="patronid" --> sco_init(1);
47
    <!-- TMPL_IF    NAME="patronid" --> sco_init(1);
45
    <!-- TMPL_ELSIF NAME="timedout" --> sco_init(1);
48
    <!-- TMPL_ELSIF NAME="timedout" --> sco_init(1);
49
    <!-- TMPL_ELSIF NAME="nouser" --> sco_init(2);
46
    <!-- /TMPL_IF -->
50
    <!-- /TMPL_IF -->
47
    $("#loanTable").tablesorter({
51
    $("#loanTable").tablesorter({
48
        <!-- TMPL_IF NAME="dateformat_metric" -->
52
        <!-- TMPL_IF NAME="dateformat_metric" -->
Lines 59-243 $(document).ready(function() { Link Here
59
});
63
});
60
//]]>
64
//]]>
61
</script>
65
</script>
62
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
66
    <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/opac.css" />
67
    <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
63
</head>
68
</head>
64
<body onload="dofocus();">
69
<body onload="dofocus();">
65
70
<div id="doc3" class="yui-t7">
66
<div id="doc" class="yui-t7">
71
    <div id="hd">
67
72
        <!-- TMPL_IF NAME="HEADER" -->
68
<div id="masthead"><h1><!-- TMPL_VAR NAME="LibraryName" --> Self Checkout System</h1></div>
73
        <!-- TMPL_VAR NAME="HEADER" -->
69
<div id="bd">
74
        <!-- TMPL_ELSE -->
70
    <div class="yui-g">
75
        <div class="yui-ge"><h1><!-- TMPL_VAR NAME="LibraryName" --> Self Checkout System</h1></div>
71
72
<!-- TMPL_IF NAME="impossible" --><!-- We tried to issue, but failed. -->
73
<div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, This item cannot be checked out at this station.  </p>
74
<!-- TMPL_IF NAME="title" --><p>Title: <em><!-- TMPL_VAR NAME="title" escape="html" --></em> </p><!-- /TMPL_IF -->
75
<p>
76
   <!-- TMPL_IF NAME="circ_error_UNKNOWN_BARCODE" -->
77
    <em>MESSAGE 1:</em> The system does not recognize this barcode.
78
   <!-- TMPL_ELSIF NAME="circ_error_TOO_MANY" -->
79
    <em>MESSAGE 2:</em> You have borrowed too many items and can't check out any more.
80
   <!-- TMPL_ELSIF NAME="circ_error_ISSUED_TO_ANOTHER" -->
81
    <em>MESSAGE 3:</em> This item is checked out to someone else.
82
   <!-- TMPL_ELSIF NAME="circ_error_NO_MORE_RENEWALS" -->
83
    <em>MESSAGE 4:</em> You cannot renew this item again.
84
   <!-- TMPL_ELSIF NAME="circ_error_NOT_FOR_LOAN" -->
85
    <em>MESSAGE 5:</em> This item is not for loan.
86
   <!-- TMPL_ELSIF NAME="circ_error_DEBT" -->
87
    <em>MESSAGE 6:</em> You owe the library <!-- TMPL_VAR NAME="amount" --> and cannot borrow.
88
   <!-- TMPL_ELSIF NAME="circ_error_WTHDRAWN" -->
89
    <em>MESSAGE 7:</em> This item has been withdrawn from the collection.
90
   <!-- TMPL_ELSIF NAME="circ_error_RESTRICTED" -->
91
    <em>MESSAGE 8:</em>
92
   <!-- TMPL_ELSIF NAME="circ_error_RESERVED" -->
93
    <em>MESSAGE 9:</em> This item is reserved for another patron.
94
   <!-- TMPL_ELSIF NAME="circ_error_ITEMNOTSAMEBRANCH" -->
95
    <em>MESSAGE 10:</em>
96
   <!-- TMPL_ELSIF NAME="circ_error_EXPIRED" -->
97
    <em>MESSAGE 11:</em> Your account has expired.
98
   <!-- TMPL_ELSIF NAME="circ_error_DEBARRED" -->
99
    <em>MESSAGE 12:</em> Your account has been suspended.
100
   <!-- TMPL_ELSIF NAME="circ_error_CARD_LOST" -->
101
    <em>MESSAGE 13:</em> This card has been declared lost.
102
   <!-- TMPL_ELSIF NAME="circ_error_GNA" -->
103
    <em>MESSAGE 14:</em>
104
   <!-- TMPL_ELSIF NAME="circ_error_INVALID_DATE" -->
105
    <em>MESSAGE 15:</em>
106
   <!-- /TMPL_IF -->
107
   Please see a member of the library staff.
108
</p>
109
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" method="post">
110
<input type="hidden" name="op" value="login" />
111
<input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
112
<!-- TMPL_IF NAME="returnitem" -->
113
<input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
114
<input type="button" name="returnbook" value="Return this item" class="return" onclick="this.form.op.value='returnbook';this.form.submit();"  />
115
<!-- /TMPL_IF -->
116
<input type="submit" name= "confirm" value="Return to Account Summary" class="back focus" />
117
</form>
118
<!-- /TMPL_IF -->
119
<!-- TMPL_IF NAME="confirm" --><!-- We need to confirm the issue.. -->
120
<div class="dialog alert"><h3>Please confirm the checkout:</h3>
121
<p><!-- TMPL_IF NAME="confirm_renew_issue" -->This item is already checked out to you.  Return it?<!-- /TMPL_IF --></p>
122
123
<form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" method="post">
124
<input type="hidden" name="op" value="checkout" />
125
<input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
126
<input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
127
<input type="hidden" name="confirmed" value="" />
128
<!-- TMPL_IF NAME="renew" -->
129
<input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();"  />
130
<!-- /TMPL_IF -->
131
<input type="button" value="Renew Item" <!-- TMPL_UNLESS NAME="renew" --> name="confirm"<!-- /TMPL_UNLESS --> class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
132
<input type="button" value="Cancel" class="cancel" onclick="this.form.op.value='';this.form.submit();return true;"  />
133
</form>
134
</div>
135
<!-- /TMPL_IF -->
136
137
<!-- TMPL_IF NAME="nopermission" --><!-- This is what is displayed if user doesnt have permission --><div class="dialog alert"><h3>Access Denied</h3>
138
Sorry, This Self-Checkout Station has lost authentication.  Please contact the administrator to resolve this problem. </div>
139
<!-- /TMPL_IF -->
140
<!-- TMPL_IF NAME="timed_out" --><!-- This is what is displayed if login has timed out -->
141
<div class="dialog alert"><h3>Session timed out</h3>Sorry, your session has timed out, please log in again.</div><!-- /TMPL_IF -->
142
<!-- TMPL_IF NAME="different_ip" --><!-- This is what is displayed if user doesnt have permission --><div class="dialog alert"><h3>Session Lost</h3>You are accessing Self-Checkout from a different IP address! please log in again.</div><!-- /TMPL_IF -->
143
<!-- TMPL_IF NAME="invalid_username_or_password" -->
144
<!-- This is what is displayed if user doesnt have permission --><div class="dialog alert"><h3>Record not found</h3><p>Your userid was not found in the database.  Please try again.</p></div><!-- /TMPL_IF -->
145
146
147
<!-- TMPL_UNLESS NAME="hide_main" -->
148
	<div class="sco_head">
149
	<!-- TMPL_UNLESS NAME="validuser" --> 
150
	<h3>Self Checkout</h3>
151
	<!-- /TMPL_UNLESS -->
152
153
	<div id="checkouthelp">
154
		<a href="/cgi-bin/koha/sco/help.pl">HELP</a> with the self checkout system
155
	</div>
156
157
	<!-- TMPL_IF NAME="patronid" -->
158
	<!-- TMPL_IF NAME="validuser" -->
159
	<h3 class="warning">You are logged in as <!-- TMPL_VAR NAME="borrowername" -->.</h3>
160
    <!-- TMPL_IF NAME="display_patron_image" -->
161
        <img src="/cgi-bin/koha/sco/sco-patron-image.pl?cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->" alt="" />
162
    <!-- /TMPL_IF -->
163
	<!-- /TMPL_IF -->
164
	</div>
165
	<!-- TMPL_IF NAME="nouser" -->
166
	<div class="error"><h4>Sorry</h4><p>The userid <strong><!-- TMPL_VAR NAME="patronid" --></strong> was not found in the database.  Please try again.</p></div>
167
	<br />
168
	<!-- /TMPL_IF -->
169
	<!-- /TMPL_IF -->
170
171
	<!-- TMPL_IF NAME="timedout" -->
172
	<div class="error"><h4>Sorry</h4><p>Your session has timed out due to inactivity.  Please sign in.</p></div>
173
	<br />
174
	<!-- /TMPL_IF -->
175
	<!-- TMPL_IF NAME="validuser" -->
176
	<div id="newcheckout" class="sco_entry">
177
	<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('<!-- TMPL_VAR NAME='patronid' -->');">
178
	<fieldset><legend> Check out or return an item: </legend>
179
	<label for="barcode">Scan a new item or enter its barcode:</label>
180
	<input id="barcode" name="barcode" size="20" class="focus" />
181
	<input type="hidden" name="op" value="checkout" />
182
	<input type="hidden" name="patronid" value="<!-- TMPL_VAR name="patronid" -->" />
183
	<input type="hidden" name="valid_session" value="1" />
184
	<input type="submit" value="Submit" class="submit" /></fieldset>
185
	</form>
186
	<div><form method="post" action="/cgi-bin/koha/sco/sco-main.pl?op=logout" ><input type="submit" value="Finish" class="finish" /></form></div>
187
	</div> <!-- sco_entry --> <!-- newcheckout -->
188
189
	<div id="borrowerdetails">
190
	<!-- TMPL_IF NAME="issues_count" -->
191
	<table id="loanTable"><caption>Checkouts for <!-- TMPL_VAR NAME='borrowername' --> <span class="count">(<!-- TMPL_VAR NAME="issues_count" --> total)</span></caption>
192
	<!-- ISSUES TABLE ROWS -->
193
    <thead>
194
	<tr><th>Title</th><th>Call No.</th><th>Due</th><th>Renew</th><!-- TMPL_UNLESS NAME="nofines" --><th>Fines</th><!-- /TMPL_UNLESS --></tr>
195
    </thead>
196
197
    <tbody>
198
	<!-- TMPL_LOOP NAME="ISSUES" -->
199
	<!-- TMPL_UNLESS name="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
200
    <!-- FIXME: yet another jacket image breakpoint -->
201
	<td><!-- TMPL_IF NAME="amazonimages" --> <!-- 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 --> <!-- /TMPL_IF --><!-- TMPL_UNLESS NAME="noitemlinks" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong><!-- /TMPL_UNLESS --><span class="item-details">
202
	<!-- TMPL_VAR NAME="author" --></span> (<!-- TMPL_VAR NAME="barcode" -->)</td>
203
	<td><!-- TMPL_VAR NAME="itemcallnumber" DEFAULT="&nbsp;" --></td>
204
	<!-- TMPL_IF NAME="overdue" --><td class="overdue"><!-- TMPL_VAR NAME="date_due_display" --></td><!-- TMPL_ELSE --><td><!-- TMPL_VAR NAME="date_due_display" --></td><!-- /TMPL_IF -->
205
	<td>
206
    <form action="/cgi-bin/koha/sco/sco-main.pl" method="post">
207
    <input type="hidden" name="op" value="checkout" />
208
    <input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
209
    <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
210
    <input type="hidden" name="confirmed" value=""  />
211
        <!-- TMPL_IF NAME="norenew" -->
212
        <input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();"  />
213
        <!-- TMPL_ELSE  -->
214
        <input type="button" value="Renew Item" <!-- TMPL_UNLESS NAME="renew" --> name="confirm"<!-- /TMPL_UNLESS --> class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
215
        <!-- /TMPL_IF -->
76
        <!-- /TMPL_IF -->
216
    </form>
77
        <div class="sco_head">
217
	</td>
78
            <div id="checkouthelp">
218
	<!-- TMPL_UNLESS NAME="nofines" --><td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td><!-- /TMPL_UNLESS --></tr>
79
                Need <a href="/cgi-bin/koha/sco/help.pl" onclick="window.open('/cgi-bin/koha/sco/help.pl','Koha_Help','width=600,height=600,toolbar=0,scrollbars=1'); return false;">help</a>?
219
	<!-- /TMPL_LOOP -->
80
            </div>
220
    </tbody>
81
            <!-- TMPL_UNLESS NAME="validuser" -->
221
82
            <h3 id="banner">Self Checkout Service</h3>
222
	</table>
83
            <!-- /TMPL_UNLESS -->
223
	<!-- TMPL_ELSE -->
84
            <!-- TMPL_IF NAME="patronid" -->
224
	<h3>You currently have nothing checked out.</h3>
85
            <!-- TMPL_IF NAME="validuser" -->
225
	<!-- /TMPL_IF -->
86
            <h3 id="banner">Checking out to <!-- TMPL_VAR NAME="borrowername" --></h3>
226
87
            <!-- TMPL_IF NAME="display_patron_image" -->
227
	<!-- TMPL_ELSE --><!-- not validuser -->
88
            <img src="/cgi-bin/koha/sco/sco-patron-image.pl?cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->" alt="" />
228
	<div class="sco_entry" >
89
            <!-- /TMPL_IF -->
229
	<form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post">
90
            <!-- /TMPL_IF -->
230
	<fieldset class="checkout"><label for="patronid">Please enter your card number:</label> 
91
            <!-- /TMPL_IF -->
231
	<input type="text" id="patronid" class="focus" size="20" name="patronid" />
92
            <!-- TMPL_IF NAME="nouser" -->
232
93
            <div class="dialog alert">
233
 	<!-- TMPL_LOOP NAME="INPUTS" --><input type="hidden" name="<!-- TMPL_VAR ESCAPE=HTML NAME="name" -->" value="<!-- TMPL_VAR ESCAPE=HTML NAME="value" -->"><!-- /TMPL_LOOP -->
94
                <h4>Sorry</h4>
234
	<input type="hidden" name="op" value="login" />
95
                <p>Card number <strong><!-- TMPL_VAR NAME="nouser" --></strong> was not found in the database.  Please try again.</p>
235
 	<input type="submit" value="Submit" class="submit" /></fieldset></form>
96
            </div>
236
	</div>
97
            <br />
237
	<!-- /TMPL_IF -->
98
            <!-- /TMPL_IF -->
238
<!-- /TMPL_UNLESS --> <!-- ( / hide main) -->	
99
            <!-- TMPL_IF NAME="impossible" --><!-- We tried to issue, but failed. -->
239
	
100
            <div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, This item cannot be checked out at this station.  </p>
240
	</div>
101
                <!-- TMPL_IF NAME="title" --><p>Title: <em><!-- TMPL_VAR NAME="title" escape="html" --></em> </p><!-- /TMPL_IF -->
241
	</div>
102
                <p>
242
</div>
103
                   <!-- TMPL_IF NAME="circ_error_UNKNOWN_BARCODE" -->
243
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
104
                    <em>MESSAGE 1:</em> The system does not recognize this barcode.
105
                   <!-- TMPL_ELSIF NAME="circ_error_TOO_MANY" -->
106
                    <em>MESSAGE 2:</em> You have borrowed too many items and can't check out any more.
107
                   <!-- TMPL_ELSIF NAME="circ_error_ISSUED_TO_ANOTHER" -->
108
                    <em>MESSAGE 3:</em> This item is checked out to someone else.
109
                   <!-- TMPL_ELSIF NAME="circ_error_NO_MORE_RENEWALS" -->
110
                    <em>MESSAGE 4:</em> You cannot renew this item again.
111
                   <!-- TMPL_ELSIF NAME="circ_error_NOT_FOR_LOAN" -->
112
                    <em>MESSAGE 5:</em> This item is not for loan.
113
                   <!-- TMPL_ELSIF NAME="circ_error_DEBT" -->
114
                    <em>MESSAGE 6:</em> You owe the library <!-- TMPL_VAR NAME="amount" --> and cannot borrow.
115
                   <!-- TMPL_ELSIF NAME="circ_error_WTHDRAWN" -->
116
                    <em>MESSAGE 7:</em> This item has been withdrawn from the collection.
117
                   <!-- TMPL_ELSIF NAME="circ_error_RESTRICTED" -->
118
                    <em>MESSAGE 8:</em>
119
                   <!-- TMPL_ELSIF NAME="circ_error_RESERVED" -->
120
                    <em>MESSAGE 9:</em> This item is reserved for another patron.
121
                   <!-- TMPL_ELSIF NAME="circ_error_NOTSAMEBRANCH" -->
122
                    <em>MESSAGE 10:</em>
123
                   <!-- TMPL_ELSIF NAME="circ_error_EXPIRED" -->
124
                    <em>MESSAGE 11:</em> Your account has expired.
125
                   <!-- TMPL_ELSIF NAME="circ_error_DEBARRED" -->
126
                    <em>MESSAGE 12:</em> Your account has been suspended.
127
                   <!-- TMPL_ELSIF NAME="circ_error_CARD_LOST" -->
128
                    <em>MESSAGE 13:</em> This card has been declared lost.
129
                   <!-- TMPL_ELSIF NAME="circ_error_GNA" -->
130
                    <em>MESSAGE 14:</em>
131
                   <!-- TMPL_ELSIF NAME="circ_error_INVALID_DATE" -->
132
                    <em>MESSAGE 15:</em>
133
                   <!-- /TMPL_IF -->
134
                   Please see a member of the library staff.
135
                </p>
136
                <form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" method="post">
137
                    <input type="hidden" name="op" value="login" />
138
                    <input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
139
                    <!-- TMPL_IF NAME="returnitem" -->
140
                    <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
141
                    <input type="button" name="returnbook" value="Return this item" class="return" onclick="this.form.op.value='returnbook';this.form.submit();"  />
142
                    <!-- /TMPL_IF -->
143
                    <input type="submit" name= "confirm" value="Return to Account Summary" class="back focus" />
144
                </form>
145
            </div>
146
            <!-- /TMPL_IF -->
147
            <!-- TMPL_IF NAME="confirm" --><!-- We need to confirm the issue.. -->
148
            <div class="dialog alert">
149
                <h3>Please confirm the checkout:</h3>
150
                <p><!-- TMPL_IF NAME="confirm_renew_issue" -->This item is already checked out to you.  Return it?<!-- /TMPL_IF --></p>
151
                <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" method="post">
152
                    <input type="hidden" name="op" value="checkout" />
153
                    <input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
154
                    <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
155
                    <input type="hidden" name="confirmed" value="" />
156
                    <!-- TMPL_IF NAME="renew" -->
157
                    <input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();"  />
158
                    <!-- /TMPL_IF -->
159
                    <input type="button" value="Renew Item" <!-- TMPL_UNLESS NAME="renew" --> name="confirm"<!-- /TMPL_UNLESS --> class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
160
                    <input type="button" value="Cancel" class="cancel" onclick="this.form.op.value='';this.form.submit();return true;"  />
161
                </form>
162
            </div>
163
            <!-- /TMPL_IF -->
164
            <!-- TMPL_IF NAME="nopermission" --><!-- This is what is displayed if user doesnt have permission -->
165
            <div class="dialog alert">
166
                <h3>Access Denied</h3>
167
                Sorry, This Self-Checkout Station has lost authentication.  Please contact the administrator to resolve this problem.
168
            </div>
169
            <!-- /TMPL_IF -->
170
            <!-- TMPL_IF NAME="timed_out" --><!-- This is what is displayed if login has timed out -->
171
            <div class="dialog alert">i
172
                <h3>Session timed out</h3>
173
                Sorry, your session has timed out, please log in again.
174
            </div>
175
            <!-- /TMPL_IF -->
176
            <!-- TMPL_IF NAME="different_ip" --><!-- This is what is displayed if user doesnt have permission -->
177
            <div class="dialog alert">
178
                <h3>Session Lost</h3>
179
                You are accessing Self-Checkout from a different IP address! please log in again.
180
            </div>
181
            <!-- /TMPL_IF -->
182
            <!-- TMPL_IF NAME="invalid_username_or_password" --><!-- This is what is displayed if user doesnt have permission -->
183
            <div class="dialog alert">
184
                <h3>Record not found</h3>
185
                <p>Your userid was not found in the database.  Please try again.</p>
186
            </div><!-- /TMPL_IF -->
187
            <!-- TMPL_IF NAME="timedout" -->
188
            <div class="error">
189
                <h4>Sorry</h4><p>Your session has timed out due to inactivity.  Please sign in.</p>
190
            </div>
191
            <br />
192
            <!-- /TMPL_IF -->
193
        </div>
194
    </div>
195
    <div id="bd">
196
        <!-- TMPL_UNLESS NAME="hide_main" -->
197
        <div class="yui-main">
198
            <div class="yui-g">
199
                <div class ="yui-u first">
200
                    <!-- TMPL_IF NAME="validuser" -->
201
                    <div id="newcheckout" class="sco_entry">
202
                        <form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('<!-- TMPL_VAR NAME='patronid' -->');">
203
                            <fieldset><legend><b> Check out or return an item: </b></legend>
204
                            <label for="barcode" class="tag">Scan a new item or enter its barcode:</label>
205
                            <input id="barcode" name="barcode" size="20" class="focus" />
206
                            <input type="hidden" name="op" value="checkout" />
207
                            <input type="hidden" name="patronid" value="<!-- TMPL_VAR name="patronid" -->" />
208
                            <input type="hidden" name="valid_session" value="1" />
209
                            <input type="submit" value="Submit" class="submit" /></fieldset>
210
                        </form>
211
                        <div>
212
                            <form method="post" action="/cgi-bin/koha/sco/sco-main.pl?op=logout" >
213
                                <span class="tag">Scan next item, or </span><input type="submit" value="Click here if done." class="finish" />
214
                            </form>
215
                        </div>
216
                    </div> <!-- sco_entry --> <!-- newcheckout -->
217
                </div>
218
                <div class="yui-u">
219
                    <div id="borrowerdetails">
220
                        <!-- TMPL_IF NAME="issues_count" -->
221
                        <table id="loanTable"><caption>Items you currently have checked out <span class="count">(<!-- TMPL_VAR NAME="issues_count" --> total)</span>:</caption>
222
                            <!-- ISSUES TABLE ROWS -->
223
                            <thead>
224
                                <tr><th>Title</th><th>Call No.</th><th>Due</th><th>Return/Renew</th><!-- TMPL_UNLESS NAME="nofines" --><th>Fines</th><!-- /TMPL_UNLESS --></tr>
225
                            </thead>
226
                            <tbody>
227
                                <!-- TMPL_LOOP NAME="ISSUES" -->
228
                                <!-- TMPL_UNLESS name="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
229
                                <!-- FIXME: yet another jacket image breakpoint -->
230
                                <td><!-- TMPL_IF NAME="amazonimages" --> <!-- 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 --> <!-- /TMPL_IF --><!-- TMPL_UNLESS NAME="noitemlinks" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong><!-- /TMPL_UNLESS --><span class="item-details">
231
                                <!-- TMPL_VAR NAME="author" --></span> (<!-- TMPL_VAR NAME="barcode" -->)</td>
232
                                <td><!-- TMPL_VAR NAME="itemcallnumber" DEFAULT="&nbsp;" --></td>
233
                                <!-- TMPL_IF NAME="overdue" --><td class="overdue"><!-- TMPL_VAR NAME="date_due_display" --></td><!-- TMPL_ELSE --><td><!-- TMPL_VAR NAME="date_due_display" --></td><!-- /TMPL_IF -->
234
                                <td align="center">
235
                                <form action="/cgi-bin/koha/sco/sco-main.pl" method="post">
236
                                    <input type="hidden" name="op" value="checkout" />
237
                                    <input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
238
                                    <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
239
                                    <input type="hidden" name="confirmed" value=""  />
240
                                    <!-- TMPL_IF NAME="norenew" -->
241
                                    <input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();"  />
242
                                    <!-- TMPL_ELSE  -->
243
                                    <input type="button" value="Renew Item" <!-- TMPL_UNLESS NAME="renew" --> name="confirm"<!-- /TMPL_UNLESS --> class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
244
                                    <!-- /TMPL_IF -->
245
                                </form>
246
                                </td>
247
                                <!-- TMPL_UNLESS NAME="nofines" --><td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td><!-- /TMPL_UNLESS --></tr>
248
                                <!-- /TMPL_LOOP -->
249
                            </tbody>
250
                        </table>
251
                        <!-- TMPL_ELSE -->
252
                        <h3>You currently have nothing checked out.</h3>
253
                        <!-- /TMPL_IF -->
254
                        <!-- TMPL_ELSE --><!-- not validuser -->
255
                        <div class="sco_entry" >
256
                            <form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post">
257
                                <fieldset class="checkout"><label for="patronid" class="tag">Please enter your card number:</label>
258
                                <input type="text" id="patronid" class="focus" size="20" name="patronid" />
259
                                <!-- TMPL_LOOP NAME="INPUTS" --><input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->"><!-- /TMPL_LOOP -->
260
                                <input type="hidden" name="op" value="login" />
261
                                <input type="submit" value="Submit" class="submit" />
262
                                </fieldset>
263
                            </form>
264
                        </div>
265
                        <!-- /TMPL_IF -->
266
                    </div>
267
                </div>
268
            </div>
269
        </div>
270
        <!-- /TMPL_UNLESS --> <!-- ( / hide main) -->
271
        <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
(-)a/opac/sco/sco-main.pl (-2 / +5 lines)
Lines 200-208 if ($borrower->{cardnumber}) { Link Here
200
    }
200
    }
201
} else {
201
} else {
202
    $template->param(
202
    $template->param(
203
        patronid   => $patronid,
204
        nouser     => $patronid,
203
        nouser     => $patronid,
205
    );
204
    );
206
}
205
}
207
206
207
$template->param(
208
    TIMEOUT => C4::Context->preference('WebBasedSelfCheckTimeout'),
209
    HEADER  => C4::Context->preference('WebBasedSelfCheckHeader'),
210
);
211
208
output_html_with_http_headers $query, $cookie, $template->output;
212
output_html_with_http_headers $query, $cookie, $template->output;
209
- 

Return to bug 5250