Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
45a6e1a6
Commit
45a6e1a6
authored
Aug 08, 2022
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XSS fix
parent
76e213c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
searchform.php
wp-content/themes/biuro/searchform.php
+2
-2
No files found.
wp-content/themes/biuro/searchform.php
View file @
45a6e1a6
...
...
@@ -46,7 +46,7 @@ $isFrontPage = is_front_page();
endforeach
;
?>
</datalist>
<input
list=
"search-cities"
id=
"search-city"
data-id=
"
<?php
echo
$langID
;
?>
"
aria-label=
"
<?php
_e
(
'Locations'
,
'biuro'
);
?>
"
name=
"city"
value=
"
<?php
echo
(
isset
(
$searchQuery
[
'city'
]))
?
trim
(
urldecode
(
$searchQuery
[
'city'
]
))
:
''
;
?>
"
placeholder=
"
<?php
_e
(
'Locations'
,
'biuro'
);
?>
"
class=
"c-search--input c-search--location
<?php
if
(
$isFrontPage
)
:
echo
'js-search--focus'
;
endif
;
?>
"
/>
<input
list=
"search-cities"
id=
"search-city"
data-id=
"
<?php
echo
$langID
;
?>
"
aria-label=
"
<?php
_e
(
'Locations'
,
'biuro'
);
?>
"
name=
"city"
value=
"
<?php
echo
(
isset
(
$searchQuery
[
'city'
]))
?
esc_html
(
trim
(
urldecode
(
$searchQuery
[
'city'
])
))
:
''
;
?>
"
placeholder=
"
<?php
_e
(
'Locations'
,
'biuro'
);
?>
"
class=
"c-search--input c-search--location
<?php
if
(
$isFrontPage
)
:
echo
'js-search--focus'
;
endif
;
?>
"
/>
<span
class=
"js-clear--search-city c-search--ico-clear
<?php
if
(
!
isset
(
$searchQuery
[
'city'
]))
:
?>
u-hidden
<?php
endif
;
?>
"
>
<svg
width=
"10px"
height=
"10px"
viewBox=
"0 0 13 13"
>
<path
fill=
"none"
stroke=
"#B8BCC1"
stroke-width=
"2"
stroke-linecap=
"square"
d=
"M6.5,6.5L0.843,0.843L6.5,6.5 l-5.657,5.657L6.5,6.5z M6.5,6.5l5.657,5.657L6.5,6.5l5.657-5.657L6.5,6.5z"
/>
...
...
@@ -76,7 +76,7 @@ $isFrontPage = is_front_page();
endforeach
;
?>
</datalist>
<input
list=
"search-queries"
id=
"search-query"
data-id=
"
<?php
echo
$langID
;
?>
"
aria-label=
"
<?php
_e
(
'Keyword'
,
'biuro'
);
?>
"
name=
"s"
value=
"
<?php
echo
(
isset
(
$searchQuery
[
's'
]))
?
trim
(
urldecode
(
$searchQuery
[
's'
]
))
:
''
;
?>
"
placeholder=
"
<?php
_e
(
'Keyword'
,
'biuro'
);
?>
"
class=
"c-search--input c-search--keyword
<?php
if
(
$isFrontPage
)
:
echo
'js-search--focus'
;
endif
;
?>
"
/>
<input
list=
"search-queries"
id=
"search-query"
data-id=
"
<?php
echo
$langID
;
?>
"
aria-label=
"
<?php
_e
(
'Keyword'
,
'biuro'
);
?>
"
name=
"s"
value=
"
<?php
echo
(
isset
(
$searchQuery
[
's'
]))
?
esc_html
(
trim
(
urldecode
(
$searchQuery
[
's'
])
))
:
''
;
?>
"
placeholder=
"
<?php
_e
(
'Keyword'
,
'biuro'
);
?>
"
class=
"c-search--input c-search--keyword
<?php
if
(
$isFrontPage
)
:
echo
'js-search--focus'
;
endif
;
?>
"
/>
<span
class=
"js-clear--search-query c-search--ico-clear
<?php
if
(
!
isset
(
$searchQuery
[
's'
]))
:
?>
u-hidden
<?php
endif
;
?>
"
>
<svg
width=
"10px"
height=
"10px"
viewBox=
"0 0 13 13"
>
<path
fill=
"none"
stroke=
"#B8BCC1"
stroke-width=
"2"
stroke-linecap=
"square"
d=
"M6.5,6.5L0.843,0.843L6.5,6.5 l-5.657,5.657L6.5,6.5z M6.5,6.5l5.657,5.657L6.5,6.5l5.657-5.657L6.5,6.5z"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment