summaryrefslogtreecommitdiff
path: root/src/web/helper/lang.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-05 12:58:11 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-05 12:58:11 -0400
commitb6ae609ee3186148836f96260aa203202f230d6a (patch)
treedc47fe1cd7cb98e046f1a1ffeba6edb1f739485c /src/web/helper/lang.php
parenti did thing oh god large commit (diff)
downloadxssbook2-b6ae609ee3186148836f96260aa203202f230d6a.tar.gz
xssbook2-b6ae609ee3186148836f96260aa203202f230d6a.tar.bz2
xssbook2-b6ae609ee3186148836f96260aa203202f230d6a.zip
follow ppl
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 . '" ';
}