mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-70571 lib: Added additional escaping to search_input template
This commit is contained in:
parent
36ef29a8e9
commit
dc9de7b0d4
1 changed files with 8 additions and 8 deletions
|
@ -37,9 +37,9 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
<div class="simplesearchform {{{ extraclasses }}}">
|
<div class="simplesearchform {{ extraclasses }}">
|
||||||
{{^inform}}
|
{{^inform}}
|
||||||
<form autocomplete="off" action="{{{ action }}}" method="get" accept-charset="utf-8" class="mform form-inline simplesearchform">
|
<form autocomplete="off" action="{{ action }}" method="get" accept-charset="utf-8" class="mform form-inline simplesearchform">
|
||||||
{{/inform}}
|
{{/inform}}
|
||||||
{{#hiddenfields}}
|
{{#hiddenfields}}
|
||||||
<input type="hidden" name="{{ name }}" value="{{ value }}">
|
<input type="hidden" name="{{ name }}" value="{{ value }}">
|
||||||
|
@ -51,17 +51,17 @@
|
||||||
<input type="text"
|
<input type="text"
|
||||||
id="searchinput-{{uniqid}}"
|
id="searchinput-{{uniqid}}"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
placeholder="{{{ searchstring }}}"
|
placeholder="{{ searchstring }}"
|
||||||
aria-label="{{{ searchstring }}}"
|
aria-label="{{ searchstring }}"
|
||||||
name="{{{ inputname }}}"
|
name="{{ inputname }}"
|
||||||
data-region="input"
|
data-region="input"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
value="{{{ query }}}"
|
value="{{ query }}"
|
||||||
>
|
>
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button type="submit" class="btn {{^btnclass}}btn-submit{{/btnclass}} {{{ btnclass }}} search-icon">
|
<button type="submit" class="btn {{^btnclass}}btn-submit{{/btnclass}} {{ btnclass }} search-icon">
|
||||||
{{#pix}} a/search, core {{/pix}}
|
{{#pix}} a/search, core {{/pix}}
|
||||||
<span class="sr-only">{{{ searchstring }}}</span>
|
<span class="sr-only">{{ searchstring }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue