mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
use warningMsg() instead of plain html
This commit is contained in:
parent
cdd75239e3
commit
5d00837489
|
@ -254,11 +254,9 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
|
|||
<input type="hidden" name="action" value="saveSettings" />
|
||||
<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>";
|
||||
}
|
||||
if(!is_writeable($settings->_configFilePath)) {
|
||||
$this->warningMsg(getMLText("settings_notwritable"));
|
||||
}
|
||||
?>
|
||||
|
||||
<ul class="nav nav-pills" id="settingstab" role="tablist">
|
||||
|
|
Loading…
Reference in New Issue
Block a user