<label for="locale_picker">[% l("Language:") %]</label>
[%- FOREACH param IN CGI.params(); -%]
[%- NEXT IF param.key == 'set_eg_locale'; -%]
- <input type="hidden" name="[% param.key %]" value="[% param.value %]" />
+ <input type="hidden" name="[% param.key | html %]" value="[% param.value | html %]" />
[%- END; -%]
<select id="locale_picker" name="set_eg_locale">
[%- FOREACH locale IN ctx.locales.keys %]
END;
redirect = redirect | replace('^http:', 'https:');
%]
- <input type='hidden' name='redirect_to' value='[% redirect %]'/>
+ <input type='hidden' name='redirect_to' value='[% redirect | html %]'/>
<input type="checkbox" name="persist" id="login_persist" /><label for="login_persist"> [% l('Stay logged in?') %]</label>
<input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="opac-button" />
</div>
FOR p IN CGI.params.keys;
NEXT UNLESS p.match('^fi:');
FOR pv IN CGI.params.$p;
- %]<input type="hidden" name="[% p %]" value="[% pv %]" />[%
+ %]<input type="hidden" name="[% p | html %]" value="[% pv | html %]" />[%
END;
END;
END %]
number_of_expert_rows = CGI.param('tag').list.size;
index = 0;
WHILE index < number_of_expert_rows %]
- <input type="hidden" name="tag" value="[% CGI.param('tag').list.$index %]" />
- <input type="hidden" name="subfield" value="[% CGI.param('subfield').list.$index %]" />
- <input type="hidden" name="term" value="[% CGI.param('term').list.$index %]" />
+ <input type="hidden" name="tag" value="[% CGI.param('tag').list.$index | html %]" />
+ <input type="hidden" name="subfield" value="[% CGI.param('subfield').list.$index | html %]" />
+ <input type="hidden" name="term" value="[% CGI.param('term').list.$index | html %]" />
[% index = index + 1; %]
[% END %]
[% END %]