mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 08:29:06 +00:00
Add warning for outdated language files.
This commit is contained in:
parent
a3b703e7b2
commit
037ab6b9c9
@ -121,6 +121,14 @@ if ($page->settings->header_show_totals) {
|
||||
</header>
|
||||
|
||||
<?php
|
||||
if ($page->lang->version <= 0) {
|
||||
?>
|
||||
<div class="col-lg-6 container modal-header alert alert-dismissible alert-light">
|
||||
<button type="button" class="close text-dark" data-dismiss="alert">×</button>
|
||||
<h5 class="text-dark">Warning: Your language file <a class="alert-link">(lang/<?php echo $settings->lang; ?>.php)</a> is outdated. Some messages will not appear correctly.</h5>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user