mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
add hidden field without value to checkboxes
This commit is contained in:
parent
4f3e6cadf5
commit
073948d4c3
|
@ -189,9 +189,10 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
|
|||
<td><?= getMLText($title) ?></td>
|
||||
<td>
|
||||
<?php
|
||||
if($this->isVisible($name))
|
||||
if($this->isVisible($name)) {
|
||||
echo '<input name="'.$name.'" type="hidden" vaule="" />';
|
||||
echo '<input name="'.$name.'" type="checkbox" '.($settings->{"_".$name} ? "checked" : '').' />';
|
||||
else
|
||||
} else
|
||||
echo getMLText('settings_conf_field_not_editable');
|
||||
echo "</td>\n";
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user