diff options
author | Freya Murphy <freya@freyacat.org> | 2024-04-05 12:58:11 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-04-05 12:58:11 -0400 |
commit | b6ae609ee3186148836f96260aa203202f230d6a (patch) | |
tree | dc47fe1cd7cb98e046f1a1ffeba6edb1f739485c /src/web/helper/lang.php | |
parent | i did thing oh god large commit (diff) | |
download | xssbook2-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.php | 4 |
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 . '" '; } |