Lines 87-94
function reloadPage(p) {
Link Here
|
87 |
<form action="/cgi-bin/koha/tools/csv-profiles.pl" class="validated" method="post"> |
87 |
<form action="/cgi-bin/koha/tools/csv-profiles.pl" class="validated" method="post"> |
88 |
<fieldset class="rows"> |
88 |
<fieldset class="rows"> |
89 |
<ol> |
89 |
<ol> |
90 |
<li><label for="profile_name" class="required">Profile name: </label> |
90 |
<li> |
91 |
<input type="text" id="profile_name" name="profile_name" required="required" /></li> |
91 |
<label for="profile_name" class="required">Profile name: </label> |
|
|
92 |
<input type="text" id="profile_name" name="profile_name" required="required" /> |
93 |
<span class="required">Required</span> |
94 |
</li> |
92 |
|
95 |
|
93 |
<li> |
96 |
<li> |
94 |
<label for="profile_type" class="required">Profile type: </label> |
97 |
<label for="profile_type" class="required">Profile type: </label> |
Lines 96-101
function reloadPage(p) {
Link Here
|
96 |
<option value="marc" selected="selected">MARC</option> |
99 |
<option value="marc" selected="selected">MARC</option> |
97 |
<option value="sql">SQL</option> |
100 |
<option value="sql">SQL</option> |
98 |
</select> |
101 |
</select> |
|
|
102 |
<span class="required">Required</span> |
99 |
</li> |
103 |
</li> |
100 |
|
104 |
|
101 |
<li><label for="profile_description">Profile description: </label> |
105 |
<li><label for="profile_description">Profile description: </label> |
Lines 152-159
function reloadPage(p) {
Link Here
|
152 |
</select></li> |
156 |
</select></li> |
153 |
|
157 |
|
154 |
|
158 |
|
155 |
<li class="marc_specific"><label for="new_profile_marc_content" class="required">Profile MARC fields: </label> |
159 |
<li class="marc_specific"> |
156 |
<textarea cols="50" rows="2" name="profile_marc_content" id="new_profile_marc_content"></textarea> |
160 |
<label for="new_profile_marc_content" class="required">Profile MARC fields: </label> |
|
|
161 |
<textarea cols="50" rows="2" name="profile_marc_content" id="new_profile_marc_content"></textarea> |
162 |
<span class="required">Required</span> |
157 |
<p>You have to define which fields or subfields you want to export, separated by pipes.</p> |
163 |
<p>You have to define which fields or subfields you want to export, separated by pipes.</p> |
158 |
<p>You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.</p> |
164 |
<p>You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.</p> |
159 |
<p>Example: Personal name=200|Entry element=210$a|300|009</p> |
165 |
<p>Example: Personal name=200|Entry element=210$a|300|009</p> |
Lines 180-186
function reloadPage(p) {
Link Here
|
180 |
<fieldset class="rows"> |
186 |
<fieldset class="rows"> |
181 |
<ol> |
187 |
<ol> |
182 |
<li><label for="modify_profile_name" class="required">Profile name: </label> |
188 |
<li><label for="modify_profile_name" class="required">Profile name: </label> |
183 |
<select id="modify_profile_name" name="profile_name" onchange="javascript:reloadPage(this)"> |
189 |
<select id="modify_profile_name" name="profile_name" required="required" class="required" onchange="javascript:reloadPage(this)"> |
184 |
<option value="0">-- Choose One --</option> |
190 |
<option value="0">-- Choose One --</option> |
185 |
[% FOREACH existing_profile IN existing_profiles %] |
191 |
[% FOREACH existing_profile IN existing_profiles %] |
186 |
[% IF ( existing_profile.export_format_id == selected_profile_id ) %] |
192 |
[% IF ( existing_profile.export_format_id == selected_profile_id ) %] |
Lines 189-199
function reloadPage(p) {
Link Here
|
189 |
<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option> |
195 |
<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option> |
190 |
[% END %] |
196 |
[% END %] |
191 |
[% END %] |
197 |
[% END %] |
192 |
</select></li> |
198 |
</select> |
|
|
199 |
<span class="required">Required</span> |
200 |
</li> |
193 |
|
201 |
|
194 |
<li> |
202 |
<li> |
195 |
<label for="modify_profile_type" class="required">Profile type: </label> |
203 |
<label for="modify_profile_type" class="required">Profile type: </label> |
196 |
<select id="modify_profile_type" name="profile_type"> |
204 |
<select id="modify_profile_type" name="profile_type" class="required" required="required"> |
197 |
<option value="marc">MARC</option> |
205 |
<option value="marc">MARC</option> |
198 |
[% IF selected_profile_type == "sql" %] |
206 |
[% IF selected_profile_type == "sql" %] |
199 |
<option value="sql" selected="selected">SQL</option> |
207 |
<option value="sql" selected="selected">SQL</option> |
Lines 201-206
function reloadPage(p) {
Link Here
|
201 |
<option value="sql">SQL</option> |
209 |
<option value="sql">SQL</option> |
202 |
[% END %] |
210 |
[% END %] |
203 |
</select> |
211 |
</select> |
|
|
212 |
<span class="required">Required</span> |
204 |
</li> |
213 |
</li> |
205 |
|
214 |
|
206 |
|
215 |
|
Lines 352-359
function reloadPage(p) {
Link Here
|
352 |
[% END %] |
361 |
[% END %] |
353 |
</select></li> |
362 |
</select></li> |
354 |
|
363 |
|
355 |
<li class="marc_specific"><label for="modify_profile_marc_content" class="required">Profile MARC fields: </label> |
364 |
<li class="marc_specific"> |
356 |
<textarea cols="50" rows="2" name="profile_marc_content" id="modify_profile_marc_content">[% selected_profile_content %]</textarea></li> |
365 |
<label for="modify_profile_marc_content" class="required">Profile MARC fields: </label> |
|
|
366 |
<textarea cols="50" rows="2" name="profile_marc_content" id="modify_profile_marc_content" class="required" required="required">[% selected_profile_content %]</textarea> |
367 |
<span class="required">Required</span> |
368 |
</li> |
357 |
|
369 |
|
358 |
<li class="sql_specific"> |
370 |
<li class="sql_specific"> |
359 |
<label for="modify_profile_sql_content" class="required">Profile SQL fields: </label> |
371 |
<label for="modify_profile_sql_content" class="required">Profile SQL fields: </label> |