HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   Checkbox Active missed in 3.0.5.2 in DNS SRV records (http://www.howtoforge.com/forums/showthread.php?t=61310)

2ni 5th April 2013 17:55

Checkbox Active missed in 3.0.5.2 in DNS SRV records
 
Running ISPConfig 3.0.5.2

unable to update DNS SRV records : checkbox Active is not visible, only Y or N into a disabled field.

if record is saved, it become inactive with no way to reactivate it.

falko 8th April 2013 19:03

I've added this to our bugtracker, so we will check that.

2ni 9th April 2013 17:02

Hi Falko,

I have found the problem into web/dns/dns_srv_edit.php file.

Line 91, in the overloading function onShowEnd

I have replaced the global set:
Code:

               
                $app->tpl->setVar($this->dataRecord)

with a set on key by key basis:
Code:

   
                $app->tpl->setVar('weight', $split[0]);
                $app->tpl->setVar('port', $split[1]);
                $app->tpl->setVar('target', $split[2]);

to avoid override of other keys like 'active'

falko 9th June 2013 01:23

I've just fixed this in SVN.

DrZboczek 17th July 2013 09:30

Thanks for that topic, I find it very interesting.


All times are GMT +2. The time now is 02:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.