diff --git a/views/bootstrap/class.SubstituteUser.php b/views/bootstrap/class.SubstituteUser.php index b94cbfedb..210a72ead 100644 --- a/views/bootstrap/class.SubstituteUser.php +++ b/views/bootstrap/class.SubstituteUser.php @@ -50,17 +50,17 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style { foreach ($allUsers as $currUser) { echo ""; echo ""; - echo $currUser->getFullName()." (".$currUser->getLogin().")
"; - echo "".$currUser->getComment().""; + echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")
"; + echo "".htmlspecialchars($currUser->getComment()).""; echo ""; echo ""; - echo "getEmail()."\">".$currUser->getEmail()."
"; + echo "getEmail())."\">".htmlspecialchars($currUser->getEmail())."
"; echo ""; echo ""; $groups = $currUser->getGroups(); if (count($groups) != 0) { for ($j = 0; $j < count($groups); $j++) { - print $groups[$j]->getName(); + print htmlspecialchars($groups[$j]->getName()); if ($j +1 < count($groups)) print ", "; } @@ -68,7 +68,7 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style { echo ""; echo ""; if($currUser->getID() != $user->getID()) { - echo "getID()."\"> ".getMLText('substitute_user')." "; + echo "getID())."\"> ".getMLText('substitute_user')." "; } echo ""; echo "";