Fix quote replacement issues
This commit is contained in:
parent
35a0d22953
commit
0b25a25ad9
@ -399,4 +399,4 @@ function example_post_attr_delete() {
|
||||
return true;
|
||||
}
|
||||
add_hook('post_attr_delete','example_post_attr_delete');
|
||||
?>
|
||||
|
||||
|
@ -64,7 +64,7 @@ if ($app['server']->getAuthType() == 'http') {
|
||||
|
||||
if (get_request('redirect','GET',false,false))
|
||||
{
|
||||
printf('<input type='hidden' name='redirect' value=' % s' />',rawurlencode(get_request('redirect', 'GET'))); }
|
||||
printf('<input type="hidden" name="redirect" value="%s" />',rawurlencode(get_request('redirect', 'GET'))); }
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
@ -8,4 +8,4 @@
|
||||
# You should secure your PLA by making the htdocs/ your docroot.
|
||||
header('Location: htdocs/index.php');
|
||||
die();
|
||||
?>
|
||||
|
||||
|
@ -728,7 +728,7 @@ class ldap_pla extends ldap {
|
||||
|
||||
system_message(array(
|
||||
'title' => _('Attribute value would not be unique'),
|
||||
'body' => sprintf('%s (<b><a href=' % s'>%s</a></b>)',
|
||||
'body' => sprintf('%s (<b><a href="%s">%s</a></b>)',
|
||||
_('This update has been or will be cancelled, it would result in an attribute value not being unique. You might like to search the LDAP server for the offending entry.'),
|
||||
htmlspecialchars($href),
|
||||
_('Search')),
|
||||
|
@ -6,7 +6,9 @@ echo '<head><link type="text/css" rel="stylesheet" href="../htdocs/css/style.css
|
||||
echo '<body>'."\n";
|
||||
$index = get_request('index','REQUEST');
|
||||
if (! isset($_SESSION['backtrace'][$index]))
|
||||
{
|
||||
die('No backtrace available...?');
|
||||
}
|
||||
|
||||
$line = $_SESSION['backtrace'][$index];
|
||||
echo '<table class="result_table">';
|
||||
@ -23,4 +25,4 @@ echo '</pre></small></td>';
|
||||
echo '</tr>';
|
||||
echo '</table>';
|
||||
echo '</body>';
|
||||
?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user