Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
L
LimeSurvey26lts_improved
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chenu Denis
LimeSurvey26lts_improved
Commits
9badf3aa
Commit
9badf3aa
authored
Mar 06, 2013
by
Carsten Schmitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue: When sending invitation the sender name/email was not properly escaped
parent
112ca720
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
application/views/admin/token/email.php
application/views/admin/token/email.php
+1
-2
application/views/admin/token/remind.php
application/views/admin/token/remind.php
+1
-1
No files found.
application/views/admin/token/email.php
View file @
9badf3aa
...
...
@@ -68,8 +68,7 @@
<ul>
<li><label
for=
'from_
<?php
echo
$language
;
?>
'
>
<?php
$clang
->
eT
(
"From"
);
?>
:
</label>
<input
type=
'text'
size=
'50'
id=
'from_
<?php
echo
$language
;
?>
'
name=
'from_
<?php
echo
$language
;
?>
'
value=
"
<?php
echo
"
{
$thissurvey
[
$baselang
][
'adminname'
]
}
<
{
$thissurvey
[
$baselang
][
'adminemail'
]
}
>"
;
?>
"
/></li>
<input
type=
'text'
size=
'50'
id=
'from_
<?php
echo
$language
;
?>
'
name=
'from_
<?php
echo
$language
;
?>
'
value=
"
<?php
echo
htmlspecialchars
(
$thissurvey
[
$baselang
][
'adminname'
],
ENT_QUOTES
,
'UTF-8'
)
.
"<"
.
htmlspecialchars
(
$thissurvey
[
$baselang
][
'adminemail'
],
ENT_QUOTES
,
'UTF-8'
)
.
">"
;
?>
"
/></li>
<li><label
for=
'subject_
<?php
echo
$language
;
?>
'
>
<?php
$clang
->
eT
(
"Subject"
);
?>
:
</label>
<input
type=
'text'
size=
'83'
id=
'subject_
<?php
echo
$language
;
?>
'
name=
'subject_
<?php
echo
$language
;
?>
'
value=
"
<?php
echo
$subject
;
?>
"
/></li>
...
...
application/views/admin/token/remind.php
View file @
9badf3aa
...
...
@@ -33,7 +33,7 @@
}
echo
"<div id='tabpage_
{
$language
}
'><ul>"
.
"<li><label for='from_
$language
' >"
.
$clang
->
gT
(
"From"
)
.
":</label>
\n
"
.
"<input type='text' size='50' name='from_
$language
' id='from_
$language
' value=
\"
{
$thissurvey
[
'adminname'
]
}
<
{
$thissurvey
[
'adminemail'
]
}
>
\"
/></li>
\n
"
.
"<input type='text' size='50' name='from_
$language
' id='from_
$language
' value=
\"
"
.
htmlspecialchars
(
$thissurvey
[
'adminname'
],
ENT_QUOTES
,
'UTF-8'
)
.
"<"
.
htmlspecialchars
(
$thissurvey
[
'adminemail'
],
ENT_QUOTES
,
'UTF-8'
)
.
"
>
\"
/></li>
\n
"
.
"<li><label for='subject_
$language
' >"
.
$clang
->
gT
(
"Subject"
)
.
":</label>"
;
$fieldsarray
[
"
{
ADMINNAME
}
"
]
=
$thissurvey
[
'adminname'
];
...
...
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