[Manage name servers for ENUM ranges Adrian Georgescu **20071207000246] hunk ./provisioning/ngnpro_client_lib.phtml 408 - printf ("

%s at %s as %s ",$this->soapClass,$this->SOAPurl,$this->SOAPurl,$this->soapUsername); + //printf ("

%s at %s as %s ",$this->soapClass,$this->SOAPurl,$this->SOAPurl,$this->soapUsername); hunk ./provisioning/ngnpro_client_lib.phtml 439 - printf ("and syncronize changes to %s",$this->SOAPurlRemote,$this->SOAPurlRemote); + //printf ("and syncronize changes to %s",$this->SOAPurlRemote,$this->SOAPurlRemote); hunk ./provisioning/ngnpro_client_lib.phtml 701 - if ($j>1) printf ("

Error: Create a SIP domain first"; + print "

You must create at least one SIP domain before adding SIP accounts"; hunk ./provisioning/ngnpro_client_lib.phtml 2678 - print "

Error: Create a SIP domain first"; + print "

You must create at least one SIP domain before adding SIP aliases"; hunk ./provisioning/ngnpro_client_lib.phtml 2877 - 'ttl' => array('type'=>'integer') + 'ttl' => array('type'=>'integer'), hunk ./provisioning/ngnpro_client_lib.phtml 3432 - hunk ./provisioning/ngnpro_client_lib.phtml 3433 + hunk ./provisioning/ngnpro_client_lib.phtml 3441 - if ($this->Fields[$item]['type'] == 'text') { + if ($item == 'nameservers') { + foreach ($range->$item as $_item) { + $nameservers.=$_item."\n"; + } + + printf (" + %s + + ", + $item_name, + $item, + $nameservers + ); + } elseif ($this->Fields[$item]['type'] == 'text') { hunk ./provisioning/ngnpro_client_lib.phtml 3506 + } else if ($item == 'nameservers') { + $_txt=trim($_REQUEST[$var_name]); + if (!strlen($_txt)) { + unset($range->$item); + } else { + $_nameservers=array(); + $_lines=explode("\n",$_txt); + foreach ($_lines as $_line) { + $_ns=trim($_line); + $_nameservers[]=$_ns; + } + $range->$item=$_nameservers; + } hunk ./provisioning/ngnpro_client_lib.phtml 3536 - //dprint_r($range); - //return true; hunk ./provisioning/ngnpro_client_lib.phtml 4278 - print "

Error: Create an ENUM range first"; + print "

You must create at least one ENUM range before adding ENUM numbers"; hunk ./provisioning/sip_settings_lib.phtml 22 + var $showSoapConnectionInfo = false; hunk ./provisioning/sip_settings_lib.phtml 323 - if ($this->loginType == "admin") { + if ($this->showSoapConnectionInfo) { hunk ./provisioning/sip_settings_lib.phtml 350 - if ($this->loginType == "admin" && $this->showSoapConnectionInfo) { + if ($this->showSoapConnectionInfo) { hunk ./provisioning/sip_settings_lib.phtml 371 - if ($this->loginType == "admin" && $this->SOAPurlVoicemail != $this->SOAPurl) { + if ($this->showSoapConnectionInfo && $this->SOAPurlVoicemail != $this->SOAPurl) { hunk ./provisioning/sip_settings_lib.phtml 390 - if ($this->loginType == "admin" && $this->SOAPurlEnum != $this->SOAPurl) { + if ($this->showSoapConnectionInfo && $this->SOAPurlEnum != $this->SOAPurl) { hunk ./provisioning/sip_settings_lib.phtml 409 - if ($this->loginType == "admin" && $this->SOAPurlRating != $this->SOAPurl) { + if ($this->showSoapConnectionInfo && $this->SOAPurlRating != $this->SOAPurl) { hunk ./provisioning/sip_settings_lib.phtml 427 - if ($this->loginType == "admin" && $this->SOAPurlCustomer != $this->SOAPurl) { + if ($this->showSoapConnectionInfo && $this->SOAPurlCustomer != $this->SOAPurl) { hunk ./provisioning/sip_settings_lib.phtml 438 - if ($this->loginType == "admin" && $this->showSoapConnectionInfo) { + if ($this->showSoapConnectionInfo) { hunk ./provisioning/sip_settings_lib.phtml 1080 - "WEBName" =>sprintf (_("Reject anonymous callers")), + "WEBName" =>sprintf (_("Reject anonymous")), hunk ./provisioning/sip_settings_lib.phtml 1303 - Presence Mode + Mode hunk ./provisioning/sip_settings_lib.phtml 1305 - Presence agent (RFC3903) + Presence agent (RFC3903) with XCAP policy (RFC4825) hunk ./provisioning/sip_settings_lib.phtml 1309 - Storage mode - - XCAP (RFC4825) - - hunk ./provisioning/sip_settings_lib.phtml 1313 - - XCAP authentication - - Use SIP credentials - hunk ./provisioning/sip_settings_lib.phtml 1356 - print "$t + print " $t hunk ./provisioning/sip_settings_lib.phtml 1842 - printf (_("Voicemail messages are sent by email to %s"),$this->email); + printf (_("Voice messages are sent by email to %s"),$this->email);