aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-06-20 20:03:17 +0000
committerRomain d'Alverny <rda@mageia.org>2012-06-20 20:03:17 +0000
commit2e18dfcc9a8b715f8edfc7254363653955cc869c (patch)
tree6337befdcae210e70dc4f65920378ebbe8b29d98
parentf0697e1570461d1a8cd6b89f119b03d0f36c629e (diff)
downloadwww-2e18dfcc9a8b715f8edfc7254363653955cc869c.tar
www-2e18dfcc9a8b715f8edfc7254363653955cc869c.tar.gz
www-2e18dfcc9a8b715f8edfc7254363653955cc869c.tar.bz2
www-2e18dfcc9a8b715f8edfc7254363653955cc869c.tar.xz
www-2e18dfcc9a8b715f8edfc7254363653955cc869c.zip
doc
-rw-r--r--langs.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/langs.inc.php b/langs.inc.php
index bc6ecc07b..a7e805c1a 100644
--- a/langs.inc.php
+++ b/langs.inc.php
@@ -188,6 +188,13 @@ function _e($s = null, $args = null) {
echo _t($s);
}
+/**
+ * @param string $s string to echo
+ * @param array $args optional params to $s
+ * @param string $tag optional tag to wrap $s into
+ *
+ * @return string
+*/
function _h($s, $args = null, $tag = 'p') {
if (is_array($args))
$s = vsprintf(_t($s), $args);