|
|
@@ -57,7 +57,8 @@
|
|
|
<div class="header table-header">
|
|
|
<div class="l-unit__col l-unit__col--right">
|
|
|
<div class="clearfix l-unit__stat-col--left super-compact">
|
|
|
- <input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" title="<?=_('Select all')?>" onChange="checkedAll('objects');">
|
|
|
+ <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
|
|
|
+ <input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" title="<?=_('Select all')?>" onChange="checkedAll('objects');" <?=$display_mode;?>>
|
|
|
</div>
|
|
|
<div class="clearfix l-unit__stat-col--left wide-3"><b><?php print _('Domain');?></b></div>
|
|
|
<div class="clearfix l-unit__stat-col--left text-right"><b> </b></div>
|
|
|
@@ -90,7 +91,7 @@ v_section="dns" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date
|
|
|
sort-expire="<?=strtotime($data[$key]['EXP'])?>" sort-records="<?=(int)$data[$key]['RECORDS']?>" sort-star="<?if($_SESSION['favourites']['DNS'][$key] == 1) echo '1'; else echo '0';?>">
|
|
|
<div class="l-unit__col l-unit__col--right">
|
|
|
<div class="clearfix l-unit__stat-col--left super-compact">
|
|
|
- <input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" title="<?=_('Select')?>" name="domain[]" value="<?php echo $key ?>">
|
|
|
+ <input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" title="<?=_('Select')?>" name="domain[]" value="<?php echo $key ?>" <?=$display_mode;?>>
|
|
|
</div>
|
|
|
<div class="clearfix l-unit__stat-col--left wide-3 truncate">
|
|
|
<b><a href="/list/dns/?domain=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=_('DNS records')?>: <?=$key?>"><?=$key?></a></b>
|