lib/Cake/View/Helper.php 1 location
|
@@ 518-520 (lines=3) @@
|
| 515 |
|
protected function _confirm($message, $okCode, $cancelCode = '', $options = array()) { |
| 516 |
|
$message = json_encode($message); |
| 517 |
|
$confirm = "if (confirm({$message})) { {$okCode} } {$cancelCode}"; |
| 518 |
|
if (isset($options['escape']) && $options['escape'] === false) { |
| 519 |
|
$confirm = h($confirm); |
| 520 |
|
} |
| 521 |
|
return $confirm; |
| 522 |
|
} |
| 523 |
|
|
lib/Cake/View/Helper/HtmlHelper.php 1 location
|
@@ 919-922 (lines=4) @@
|
| 916 |
|
if (empty($name)) { |
| 917 |
|
return $text; |
| 918 |
|
} |
| 919 |
|
if (isset($options['escape']) && $options['escape']) { |
| 920 |
|
$text = h($text); |
| 921 |
|
unset($options['escape']); |
| 922 |
|
} |
| 923 |
|
if ($text === null) { |
| 924 |
|
$tag = 'tagstart'; |
| 925 |
|
} else { |