Lines 1-15
Link Here
|
|
|
1 |
[% USE Koha %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Tools › Import patrons [% IF ( uploadborrowers ) %]› Results[% END %]</title> |
3 |
<title>Koha › Tools › Import patrons [% IF ( uploadborrowers ) %]› Results[% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<style type="text/css"> |
5 |
<style type="text/css"> |
5 |
.yui-u fieldset.rows label.widelabel { width: 12em; } |
6 |
.yui-u fieldset.rows .widelabel { width: 12em; } |
|
|
7 |
label.description { width: 20em; } |
6 |
.line_error { width: 100%; } |
8 |
.line_error { width: 100%; } |
7 |
code { background-color: yellow; } |
9 |
code { background-color: yellow; } |
8 |
</style> |
10 |
</style> |
|
|
11 |
<script type="text/javascript"> |
12 |
//<![CDATA[ |
13 |
$(document).ready(function() { |
14 |
[%# Make date fields have the datepicker %] |
15 |
$("#dateenrolled").addClass('datepicker'); |
16 |
$("#dateexpiry").addClass('datepicker'); |
17 |
$("#dateofbirth").addClass('datepicker'); |
18 |
}); |
19 |
</script> |
9 |
</head> |
20 |
</head> |
10 |
<body id="tools_import_borrowers" class="tools"> |
21 |
<body id="tools_import_borrowers" class="tools"> |
11 |
[% INCLUDE 'header.inc' %] |
22 |
[% INCLUDE 'header.inc' %] |
12 |
[% INCLUDE 'patron-search.inc' %] |
23 |
[% INCLUDE 'patron-search.inc' %] |
|
|
24 |
[% INCLUDE 'calendar.inc' %] |
13 |
|
25 |
|
14 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a>[% IF ( uploadborrowers ) %] › Results[% END %]</div> |
26 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a>[% IF ( uploadborrowers ) %] › Results[% END %]</div> |
15 |
|
27 |
|
Lines 112-123
Link Here
|
112 |
<fieldset class="rows"> |
124 |
<fieldset class="rows"> |
113 |
<legend>Default values</legend> |
125 |
<legend>Default values</legend> |
114 |
<ol> |
126 |
<ol> |
115 |
[% FOREACH columnkey IN columnkeys %] |
127 |
[% FOREACH borrower_field IN borrower_fields %] |
116 |
<li> |
128 |
[% SWITCH borrower_field.field %] |
117 |
<label class="widelabel" for="[% columnkey.key %]">[% columnkey.key %]: </label> |
129 |
[% CASE 'branchcode' %] |
118 |
<input id="[% columnkey.key %]" name="[% columnkey.key %]" /> |
130 |
<li> |
119 |
</li> |
131 |
<label class="description" for="branchcode">[% borrower_field.description %]: </label> |
120 |
[% END %] |
132 |
<select id="branchcode" name="branchcode"> |
|
|
133 |
<option value="" selected="selected"></option> |
134 |
[% FOREACH branch IN branches %] |
135 |
<option value="[% branch.branchcode %]"> |
136 |
[% branch.branchname %]</option> |
137 |
[% END %] |
138 |
</select><span class="field_hint">[% borrower_field.field %]</span> |
139 |
</li> |
140 |
[% CASE 'categorycode' %] |
141 |
<li> |
142 |
<label class="description" for="categorycode">[% borrower_field.description %]: </label> |
143 |
<select id="categorycode" name="categorycode"> |
144 |
<option value="" selected="selected"></option> |
145 |
[% FOREACH category IN categories %] |
146 |
<option value="[% category.categorycode %]"> |
147 |
[% category.description %]</option> |
148 |
[% END %] |
149 |
</select><span class="field_hint">[% borrower_field.field %]</span> |
150 |
</li> |
151 |
[% CASE %] |
152 |
<li> |
153 |
<label class="description" for="[% borrower_field.field %]">[% borrower_field.description %]: </label> |
154 |
<input id="[% borrower_field.field %]" name="[% borrower_field.field %]" /><span class="field_hint">[% borrower_field.field %]</span> |
155 |
</li> |
156 |
[% END %] |
157 |
[% END %] |
158 |
[% IF ( Koha.Preference('ExtendedPatronAttributes') == 1 ) %] |
159 |
<li> |
160 |
<label class="description" for="patron_attributes">Patron attributes: </label> |
161 |
<input id="patron_attributes" name="patron_attributes" /> |
162 |
<span class="field_hint">patron_attributes</span> |
163 |
</li> |
164 |
[% END %] |
121 |
</ol></fieldset> |
165 |
</ol></fieldset> |
122 |
<fieldset class="rows"> |
166 |
<fieldset class="rows"> |
123 |
<legend>If matching record is already in the borrowers table:</legend> |
167 |
<legend>If matching record is already in the borrowers table:</legend> |
Lines 129-135
Link Here
|
129 |
</li> |
173 |
</li> |
130 |
</ol> |
174 |
</ol> |
131 |
</fieldset> |
175 |
</fieldset> |
132 |
[% IF ( ExtendedPatronAttributes ) %] |
176 |
[% IF ( Koha.Preference('ExtendedPatronAttributes') == 1 ) %] |
133 |
<fieldset class="rows"> |
177 |
<fieldset class="rows"> |
134 |
<legend>Patron attributes</legend> |
178 |
<legend>Patron attributes</legend> |
135 |
<ol><li class="radio"> |
179 |
<ol><li class="radio"> |