diff options
author | Martin Gummi <martin.gummi@gmx.net> | 2013-05-01 14:33:07 +0200 |
---|---|---|
committer | Martin Gummi <martin.gummi@gmx.net> | 2013-05-01 14:33:07 +0200 |
commit | 4f3527d8a117f401395e3fc1ae383c12d0381dd0 (patch) | |
tree | 6a0f4a80eb05600a072ea9c6553a112f3a9d6d57 | |
parent | bec7bfda8f1e6daf14c8552f29cb919d3b205d76 (diff) | |
download | cacert-devel-4f3527d8a117f401395e3fc1ae383c12d0381dd0.tar.gz cacert-devel-4f3527d8a117f401395e3fc1ae383c12d0381dd0.tar.xz cacert-devel-4f3527d8a117f401395e3fc1ae383c12d0381dd0.zip |
bug-999: fix quot in javascript blocksbug-999
-rw-r--r-- | includes/notary.inc.php | 2 | ||||
-rw-r--r-- | pages/account/43.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php index b0e3d6b..7382fc3 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -319,7 +319,7 @@ <td class="DataTD" <?=$tdstyle?>> </td> <? } else { ?> - <td class="DataTD" <?=$tdstyle?>><?=$emopen?><a href="account.php?id=43&userid=<?=intval($userid)?>&assurance=<?=intval($assuranceid)?>&csrf=<?=make_csrf('admdelassurance')?>" onclick="return confirm('<?=sprintf(_("Are you sure you want to revoke the assurance with ID '%s'?"),$assuranceid)?>');"><?=_("Revoke")?></a><?=$emclose?></td> + <td class="DataTD" <?=$tdstyle?>><?=$emopen?><a href="account.php?id=43&userid=<?=intval($userid)?>&assurance=<?=intval($assuranceid)?>&csrf=<?=make_csrf('admdelassurance')?>" onclick="return confirm('<?=sprintf(_("Are you sure you want to revoke the assurance with ID "%s"?"),$assuranceid)?>');"><?=_("Revoke")?></a><?=$emclose?></td> <? } } diff --git a/pages/account/43.php b/pages/account/43.php index ff8375d..7935cea 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -827,7 +827,7 @@ function showassuredto() <td class="DataTD"><?=intval($drow['points'])?></td> <td class="DataTD"><?=sanitizeHTML($drow['location'])?></td> <td class="DataTD"><?=sanitizeHTML($drow['method'])?></td> - <td class="DataTD"><a href="account.php?id=43&userid=<?=intval($drow['to'])?>&assurance=<?=intval($drow['id'])?>&csrf=<?=make_csrf('admdelassurance')?>" onclick="return confirm('<?=sprintf(_("Are you sure you want to revoke the assurance with ID '%s'?"),$drow['id'])?>');"><?=_("Revoke")?></a></td> + <td class="DataTD"><a href="account.php?id=43&userid=<?=intval($drow['to'])?>&assurance=<?=intval($drow['id'])?>&csrf=<?=make_csrf('admdelassurance')?>" onclick="return confirm('<?=sprintf(_("Are you sure you want to revoke the assurance with ID "%s"?"),$drow['id'])?>');"><?=_("Revoke")?></a></td> </tr> <? } ?> <tr> @@ -873,7 +873,7 @@ function showassuredby() <td class="DataTD"><?=$drow['points']?></td> <td class="DataTD"><?=$drow['location']?></td> <td class="DataTD"><?=$drow['method']?></td> - <td class="DataTD"><a href="account.php?id=43&userid=<?=$drow['from']?>&assurance=<?=$drow['id']?>&csrf=<?=make_csrf('admdelassurance')?>" onclick="return confirm('<?=sprintf(_("Are you sure you want to revoke the assurance with ID '%s'?"),$drow['id'])?>');"><?=_("Revoke")?></a></td> + <td class="DataTD"><a href="account.php?id=43&userid=<?=$drow['from']?>&assurance=<?=$drow['id']?>&csrf=<?=make_csrf('admdelassurance')?>" onclick="return confirm('<?=sprintf(_("Are you sure you want to revoke the assurance with ID "%s"?"),$drow['id'])?>');"><?=_("Revoke")?></a></td> </tr> <? } ?> <tr> |