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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-4 / +6 lines)
Lines 101-107 function reloadPage(p) { Link Here
101
						    <li><label for="new_encoding">Encoding: </label>
101
						    <li><label for="new_encoding">Encoding: </label>
102
						    <select name="encoding" id="new_encoding">
102
						    <select name="encoding" id="new_encoding">
103
							[% FOREACH encoding IN encodings %]
103
							[% FOREACH encoding IN encodings %]
104
							    <option[% IF ( encoding == 'utf8' ) %] selected="selected" [% END %]>[% encoding.encoding %]</option>
104
								[% IF ( encoding == 'utf8' ) %]
105
									<option selected="selected">[% encoding.encoding %]</option>
106
								[% ELSE %]
107
									<option>[% encoding.encoding %]</option>
108
								[% END %]
105
							[% END %]
109
							[% END %]
106
						    </select></li>
110
						    </select></li>
107
111
Lines 129-135 function reloadPage(p) { Link Here
129
						    <select id="modify_profile_name" name="profile_name" onchange="javascript:reloadPage(this)">
133
						    <select id="modify_profile_name" name="profile_name" onchange="javascript:reloadPage(this)">
130
							<option value="0">-- Choose One --</option>
134
							<option value="0">-- Choose One --</option>
131
							[% FOREACH existing_profile IN existing_profiles %]
135
							[% FOREACH existing_profile IN existing_profiles %]
132
							[% IF ( export_format_id == selected_profile_id ) %]
136
							[% IF ( existing_profile.export_format_id == selected_profile_id ) %]
133
							<option value="[% existing_profile.export_format_id %]" selected="selected">[% existing_profile.profile %]</option>
137
							<option value="[% existing_profile.export_format_id %]" selected="selected">[% existing_profile.profile %]</option>
134
							[% ELSE %]
138
							[% ELSE %]
135
							<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option>
139
							<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option>
Lines 231-237 function reloadPage(p) { Link Here
231
						    <select name="subfield_separator" id="subfield_separator">
235
						    <select name="subfield_separator" id="subfield_separator">
232
                                <option value=":">Colon (:)</option>
236
                                <option value=":">Colon (:)</option>
233
237
234
235
                                [% IF ( selected_subfield_separator == ',' ) %]
238
                                [% IF ( selected_subfield_separator == ',' ) %]
236
                                <option value="," selected="selected">Comma (,)</option>
239
                                <option value="," selected="selected">Comma (,)</option>
237
                                [% ELSE %]
240
                                [% ELSE %]
238
- 

Return to bug 6458