use warningMsg() instead of plain html

This commit is contained in:
Uwe Steinmann 2021-05-06 15:12:11 +02:00
parent cdd75239e3
commit 5d00837489

View File

@ -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'; ?>" />
<?php
if(!is_writeable($settings->_configFilePath)) {
print "<div class=\"alert alert-warning\">";
echo "<p>".getMLText("settings_notwritable")."</p>";
print "</div>";
$this->warningMsg(getMLText("settings_notwritable"));
}
?>