summaryrefslogtreecommitdiff
path: root/src/web/helper/lang.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/helper/lang.php')
-rw-r--r--src/web/helper/lang.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web/helper/lang.php b/src/web/helper/lang.php
index 9c694a1..b0638a6 100644
--- a/src/web/helper/lang.php
+++ b/src/web/helper/lang.php
@@ -18,6 +18,7 @@ function lang($key, $default = NULL, $sub = NULL) {
function ilang($key,
$class = NULL,
+ $style = NULL,
$id = NULL,
$href = NULL,
$click = NULL,
@@ -42,6 +43,9 @@ function ilang($key,
if ($class) {
echo 'class="' . $class . '" ';
}
+ if ($style) {
+ echo 'style="' . $style . '" ';
+ }
if ($id) {
echo 'id="' . $id . '" ';
}