Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000027 [MyDNS-NG] Global tweak N/A 2009-07-07 19:03 2009-11-15 15:42
Reporter joethesysadmin View Status public  
Assigned To howardwilkinson
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Fixed in Version 1.2.8 Product Version 1.2.8.27
  Target Version Product Build
Summary 0000027: admin.php functionality patch
Description This patch highlights the SOA box in red when a zone is marked inactive. This patch makes it very easy to notice inactive domains.
Steps To Reproduce
Additional Information 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) {
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000101)
jorge (administrator)
2009-11-15 14:05

Joe,
Can you rework this patch so that i can apply it?
In diff format please.
(0000102)
jorge (administrator)
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.

- Issue History
Date Modified Username Field Change
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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker