mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-17 07:01:20 +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" 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">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user