mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-17 15:11:21 +00:00
use warningMsg() instead of plain html
This commit is contained in:
parent
cdd75239e3
commit
5d00837489
|
@ -255,9 +255,7 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
|
||||||
<input type="hidden" id="currenttab" name="currenttab" value="<?php echo $currenttab ? $currenttab : 'site'; ?>" />
|
<input type="hidden" id="currenttab" name="currenttab" value="<?php echo $currenttab ? $currenttab : 'site'; ?>" />
|
||||||
<?php
|
<?php
|
||||||
if(!is_writeable($settings->_configFilePath)) {
|
if(!is_writeable($settings->_configFilePath)) {
|
||||||
print "<div class=\"alert alert-warning\">";
|
$this->warningMsg(getMLText("settings_notwritable"));
|
||||||
echo "<p>".getMLText("settings_notwritable")."</p>";
|
|
||||||
print "</div>";
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user