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

@ -254,11 +254,9 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
<input type="hidden" name="action" value="saveSettings" /> <input type="hidden" name="action" value="saveSettings" />
<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>";
}
?> ?>
<ul class="nav nav-pills" id="settingstab" role="tablist"> <ul class="nav nav-pills" id="settingstab" role="tablist">