File tree Expand file tree Collapse file tree 8 files changed +24
-16
lines changed
Expand file tree Collapse file tree 8 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 4646 < div class ="l-unit__col l-unit__col--right ">
4747 < div >
4848 < div class ="clearfix l-unit__stat-col--left super-compact ">
49- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
49+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
50+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
5051 </ div >
5152 < div class ="clearfix l-unit__stat-col--left wide-3 "> < b > < ?php print _('File Name');?> </ b > </ div >
5253 < div class ="clearfix l-unit__stat-col--left compact-4 text-right "> < b > </ b > </ div >
8081 < div class ="l-unit__col l-unit__col--right ">
8182 < div >
8283 < div class ="clearfix l-unit__stat-col--left super-compact ">
83- < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="backup[] " value ="<?php echo $key ?> ">
84+ < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="backup[] " value ="<?php echo $key ?> " < ?=$display_mode;? > >
8485 </ div >
8586 < div class ="clearfix l-unit__stat-col--left wide-3 truncate ">
8687 < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) {?>
Original file line number Diff line number Diff line change 6060 < div class ="header table-header ">
6161 < div class ="l-unit__col l-unit__col--right ">
6262 < div class ="clearfix l-unit__stat-col--left super-compact ">
63- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
63+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
64+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
6465 </ div >
6566 < div class ="clearfix l-unit__stat-col--left wide-5 "> < b > < ?php print _('Cron Job');?> </ b > </ div >
6667 < div class ="clearfix l-unit__stat-col--left compact-2 text-right "> < b > </ b > </ div >
9293sort-star ="<? if($_SESSION['favourites']['CRON'][$key] == 1) echo '1'; else echo '0'; ?> ">
9394 < div class ="l-unit__col l-unit__col--right ">
9495 < div class ="clearfix l-unit__stat-col--left super-compact ">
95- < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="job[] " value ="<?php echo $key ?> ">
96+ < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="job[] " value ="<?php echo $key ?> " < ?=$display_mode;? > >
9697 </ div >
9798 < div class ="clearfix l-unit__stat-col--left wide-5 truncate ">
9899 < ? if (($_SESSION['userContext'] === 'admin') && (isset($_SESSION['look'])) && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes') || ($data[$key]['SUSPENDED'] == 'yes')) {?>
Original file line number Diff line number Diff line change 7676 < div class ="header table-header ">
7777 < div class ="l-unit__col l-unit__col--right ">
7878 < div class ="clearfix l-unit__stat-col--left super-compact ">
79- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
79+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
80+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
8081 </ div >
8182 < div class ="clearfix l-unit__stat-col--left wide-3 "> < b > < ?php print _('Database');?> </ b > </ div >
8283 < div class ="clearfix l-unit__stat-col--left text-right compact-3 "> < b > </ b > </ div >
119120 < div class ="l-unit__col l-unit__col--right ">
120121 < div >
121122 < div class ="clearfix l-unit__stat-col--left super-compact ">
122- < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="database[] " value ="<?php echo $key ?> ">
123+ < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="database[] " value ="<?php echo $key ?> " < ?=$display_mode;? > >
123124 </ div >
124125 < div class ="clearfix l-unit__stat-col--left wide-3 truncate ">
125126 < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes') || ($data[$key]['SUSPENDED'] == 'yes')) {?>
Original file line number Diff line number Diff line change 5757 < div class ="header table-header ">
5858 < div class ="l-unit__col l-unit__col--right ">
5959 < div class ="clearfix l-unit__stat-col--left super-compact ">
60- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
60+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
61+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
6162 </ div >
6263 < div class ="clearfix l-unit__stat-col--left wide-3 "> < b > < ?php print _('Domain');?> </ b > </ div >
6364 < div class ="clearfix l-unit__stat-col--left text-right "> < b > </ b > </ div >
9091sort-expire ="<?=strtotime($data[$key]['EXP'])?> " sort-records ="<?=(int)$data[$key]['RECORDS']?> " sort-star ="<?if($_SESSION['favourites']['DNS'][$key] == 1) echo '1'; else echo '0';?> ">
9192 < div class ="l-unit__col l-unit__col--right ">
9293 < div class ="clearfix l-unit__stat-col--left super-compact ">
93- < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="domain[] " value ="<?php echo $key ?> ">
94+ < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="domain[] " value ="<?php echo $key ?> " < ?=$display_mode;? > >
9495 </ div >
9596 < div class ="clearfix l-unit__stat-col--left wide-3 truncate ">
9697 < b > < a href ="/list/dns/?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('DNS records')?>: <?=$key?> "> < ?=$key?> </ a > </ b >
Original file line number Diff line number Diff line change 4949 < div class ="header table-header ">
5050 < div class ="l-unit__col l-unit__col--right ">
5151 < div class ="clearfix l-unit__stat-col--left super-compact ">
52- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
52+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
53+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
5354 </ div >
5455 < div class ="clearfix l-unit__stat-col--left small "> < b > < ?php print _('Record');?> </ b > </ div >
5556 < div class ="clearfix l-unit__stat-col--left super-compact text-right "> < b > </ b > </ div >
7071v_unit_id ="<?=$key?> " v_section ="dns_rec ">
7172 < div class ="l-unit__col l-unit__col--right ">
7273 < div class ="clearfix l-unit__stat-col--left super-compact ">
73- < input id ="check<?=$data[$key]['ID']?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="record[] " value ="<?=$data[$key]['ID']?> ">
74+ < input id ="check<?=$data[$key]['ID']?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="record[] " value ="<?=$data[$key]['ID']?> " < ?=$display_mode;? > >
7475 </ div >
7576 < div class ="clearfix l-unit__stat-col--left small truncate ">
7677 < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes') || ($data[$key]['SUSPENDED'] == 'yes')) {?>
Original file line number Diff line number Diff line change 5656 < div class ="header table-header ">
5757 < div class ="l-unit__col l-unit__col--right ">
5858 < div class ="clearfix l-unit__stat-col--left super-compact ">
59- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
59+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
60+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
6061 </ div >
6162 < div class ="clearfix l-unit__stat-col--left wide-3 "> < b > < ?php print _('Domain');?> </ b > </ div >
6263 < div class ="clearfix l-unit__stat-col--left text-right compact-5 "> < b > </ b > </ div >
99100 < div class ="l-unit__col l-unit__col--right ">
100101 < div >
101102 < div class ="clearfix l-unit__stat-col--left super-compact ">
102- < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="domain[] " value ="<?php echo $key ?> ">
103+ < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="domain[] " value ="<?php echo $key ?> " < ?=$display_mode;? > >
103104 </ div >
104105 < div class ="clearfix l-unit__stat-col--left wide-3 truncate "> < b > < a href ="?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('mail accounts')?>: <?=$key?> "> < ?=$key?> </ a > </ b > </ div >
105106 <!-- START QUICK ACTION TOOLBAR AREA -->
Original file line number Diff line number Diff line change 6161 < div class ="l-unit__col l-unit__col--right ">
6262 < div >
6363 < div class ="clearfix l-unit__stat-col--left super-compact ">
64- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
64+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
65+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
6566 </ div >
6667 < div class ="clearfix l-unit__stat-col--left wide-3 "> < b > < ?php print _('Username');?> </ b > </ div >
6768 < div class ="clearfix l-unit__stat-col--left text-right compact-4 "> < b > </ b > </ div >
9697sort-star="< ? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] == 1) echo '1'; else echo '0'; ?> ">
9798 < div class ="l-unit__col l-unit__col--right ">
9899 < div class ="clearfix l-unit__stat-col--left super-compact ">
99- < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="account[] " value ="<?php echo $key ?> ">
100+ < input id ="check<?php echo $i ?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="account[] " value ="<?php echo $key ?> " < ?=$display_mode;? > >
100101 < input type ="hidden " value ="<?php echo $_GET['domain'] ?> " name ="domain " />
101102 </ div >
102103 < div class ="clearfix l-unit__stat-col--left wide-3 truncate ">
Original file line number Diff line number Diff line change 5757 < div class ="header table-header ">
5858 < div class ="l-unit__col l-unit__col--right ">
5959 < div class ="clearfix l-unit__stat-col--left super-compact ">
60- < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); ">
60+ < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) { $display_mode = 'disabled'; } ?>
61+ < input id ="toggle-all " type ="checkbox " name ="toggle-all " value ="toggle-all " title ="<?=_('Select all')?> " onChange ="checkedAll('objects'); " < ?=$display_mode;?> >
6162 </ div >
6263 < div class ="clearfix l-unit__stat-col--left wide-4 "> < b > < ?php print _('Domain');?> </ b > </ div >
6364 < div class ="clearfix l-unit__stat-col--left compact-4 text-right "> < b > </ b > </ div >
137138sort-name ="<?=$key?> " sort-bandwidth ="<?=$data[$key]['U_BANDWIDTH']?> " sort-disk ="<?=$data[$key]['U_DISK']?> " sort-star ="<? if($_SESSION['WEB'][$key] == 1) echo '1'; else echo '0';?> ">
138139 < div class ="l-unit__col l-unit__col--right ">
139140 < div class ="clearfix l-unit__stat-col--left super-compact ">
140- < input id ="check<?=$i?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="domain[] " value ="<?=$key?> ">
141+ < input id ="check<?=$i?> " class ="ch-toggle " type ="checkbox " title ="<?=_('Select')?> " name ="domain[] " value ="<?=$key?> " < ?=$display_mode;? > >
141142 </ div >
142143 < div class ="clearfix l-unit__stat-col--left wide-4 truncate ">
143144 < ? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes') || ($data[$key]['SUSPENDED'] == 'yes')) {?>
You can’t perform that action at this time.
0 commit comments