mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Disable checkboxes 'DNS Support', 'Mail Support' if they are set '0' in the package.
This commit is contained in:
parent
cc15e4adad
commit
efcde95a90
1 changed files with 2 additions and 2 deletions
|
@ -73,12 +73,12 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text input-label">
|
||||
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_dns" <?php if (empty($v_dns)) echo "checked=yes"; ?>> <?php print __('DNS Support');?></label>
|
||||
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_dns" <?php if (empty($v_dns)&&$panel[$user]['DNS_DOMAINS '] != "0") echo "checked=yes"; ?> <?php if($panel[$user]['DNS_DOMAINS'] == "0") echo "disabled" ?> ><?php print __('DNS Support');?></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vst-text input-label">
|
||||
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_mail" <?php if (empty($v_mail)) echo "checked=yes"; ?>> <?php print __('Mail Support');?></label>
|
||||
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_mail" <?php if (empty($v_mail)&&$panel[$user]['MAIL_DOMAINS '] != "0") echo "checked=yes"; ?> <?php if($panel[$user]['MAIL_DOMAINS'] == "0") echo "disabled" ?> ><?php print __('Mail Support');?></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue