aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);