Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Plugins
pidgin-otr
Commits
ba176886
Commit
ba176886
authored
Jun 07, 2012
by
Rob Smits
Browse files
Changing how the lang check is done in helpnav.php.
parent
933287db
Changes
1
Hide whitespace changes
Inline
Side-by-side
help/helpnav.php
View file @
ba176886
<?php
$lang
=
isset
(
$_REQUEST
[
'lang'
])
?
htmlspecialchars
(
$_REQUEST
[
'lang'
])
:
"en"
;
?>
<?php
$lang
=
((
isset
(
$_REQUEST
[
'lang'
])
&&
preg_match
(
'/^[a-z][a-z]$/'
,
$_REQUEST
[
'lang'
])
>
0
)
?
$_REQUEST
[
'lang'
]
:
'en'
);
?>
<div
class=
"helpnav"
>
<ul>
...
...
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