diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-18 12:25:20 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-18 12:25:20 -0700 |
commit | d54900032f13d0b1d0e9a56c868073c997da6b15 (patch) | |
tree | bdfca5fd1cb43fb2c60dbd00bb758dcaa023ce4b /modules | |
parent | cdb02c10a4212cfa63a82d60821feb75edf09204 (diff) | |
parent | d7e6c71ede78bd0d38f14578f44a24fc00d56845 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/views/comments.html.php | 2 | ||||
-rw-r--r-- | modules/gallery/helpers/l10n_scanner.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 95f07baf..854f9554 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -16,7 +16,7 @@ width="40" height="40" /> </a> - <?= t("on %date <a href=#>%name</a> said", + <?= t('on %date <a href="#">%name</a> said', array("date" => date("Y-M-d H:i:s", $comment->created), "name" => p::clean($comment->author_name()))); ?> </p> diff --git a/modules/gallery/helpers/l10n_scanner.php b/modules/gallery/helpers/l10n_scanner.php index 80b6f01c..bae455f2 100644 --- a/modules/gallery/helpers/l10n_scanner.php +++ b/modules/gallery/helpers/l10n_scanner.php @@ -149,6 +149,6 @@ class l10n_scanner_Core { } else { $str = strtr($str, array("\\'" => "'", "\\\\" => "\\")); } - return addcslashes($str, "\0..\37\\\""); + return $str; } } |