Mantis - MyDNS-NG
Viewing Issue Advanced Details
27 Global tweak N/A 2009-07-07 19:03 2009-11-15 15:42
joethesysadmin  
howardwilkinson  
normal  
resolved 1.2.8.27  
fixed  
none    
none 1.2.8  
0000027: admin.php functionality patch
This patch highlights the SOA box in red when a zone is marked inactive. This patch makes it very easy to notice inactive domains.
Here is the patch.

***************
*** 448,453 ****
--- 448,459 ----
             padding: 10px 10px 6px 10px;
             border: <?php echo $gray?> solid 1px;
          }
+ TABLE.inactivesoaBox {
+ background: red;
+ margin: 0px;
+ padding: 10px 10px 6px 10px;
+ border: <?=$gray?> solid 1px;
+ }
          TD.soaFirstRow {
             vertical-align: middle;
          }
***************
*** 2137,2143 ****
  ?>
  </DIV>
  <DIV align=center>
! <TABLE class=soaBox>
  <TR><TD class=soaFirstRow nowrap>
  <?php
      if ($soa_use_active) {
--- 2143,2159 ----
  ?>
  </DIV>
  <DIV align=center>
! <?php
! // Ensure that we notice INACTIVE zones
! if ($soa_use_active)
! {
! if (isset($values['active']) && getbool($values['active'])){
! echo "<TABLE class=soaBox>";
! }else{
! echo "<TABLE class=inactivesoaBox>";
! }
! }
! ?>
  <TR><TD class=soaFirstRow nowrap>
  <?php
      if ($soa_use_active) {
Issue History
2009-07-07 19:03 joethesysadmin New Issue
2009-07-07 22:25 jorge Status new => assigned
2009-07-07 22:25 jorge Assigned To => howardwilkinson
2009-11-15 14:05 jorge Note Added: 0000101
2009-11-15 15:42 jorge Note Added: 0000102
2009-11-15 15:42 jorge Status assigned => resolved
2009-11-15 15:42 jorge Fixed in Version => 1.2.8
2009-11-15 15:42 jorge Resolution open => fixed

Notes
(0000101)
jorge   
2009-11-15 14:05   
Joe,
Can you rework this patch so that i can apply it?
In diff format please.
(0000102)
jorge   
2009-11-15 15:42   
Ok, already added this on trunk.
I think it would be nice to have the row's in red when browsing the domains.
I haven't got time for it, if you want to provide this just send a patch for it and i'll include.