Dns zone reset function

Well im one step further i think is an issue off language

If the language off the admin account is NL the string is:
Code:
Post string: domain=123hostingtestdomein1.nl&reset=Terug+naar+standaard&action=select

If the lang is EN the string is:
Code:
Post string: domain=123hostingtestdomein1.nl&reset=Reset+Defaults&action=select

Am i seeing this correct that the api commands are diffrent depending on the language that the account has ?
I think so becouse now the reset command works.
 
Last edited:
Am i seeing this correct that the api commands are diffrent depending on the language that the account has ?
I think so becouse now the reset command works.

All API programming is in English. Has nothing to do with the skin language.
 
Hello,

I checked the code, and the missing item was:
action=select

The value of the "reset=" makes no difference, only the presence of the "reset" will matter.

The trigger is:
Code:
if (cf.isValue(FRM_ACTION, FRM_SELECT) && cf[FRM_DOMAIN] && cf[FRM_RESET])
which means that action=select must be set, and domain has to be present, and reset present.. but the domain/reset values don't matter. (obviosly, you'll need to specify a valid domain=, or DA will yell at you later on in the code)

John
 
Hello,

I checked the code, and the missing item was:
action=select

The value of the "reset=" makes no difference, only the presence of the "reset" will matter.

The trigger is:
Code:
if (cf.isValue(FRM_ACTION, FRM_SELECT) && cf[FRM_DOMAIN] && cf[FRM_RESET])
which means that action=select must be set, and domain has to be present, and reset present.. but the domain/reset values don't matter. (obviosly, you'll need to specify a valid domain=, or DA will yell at you later on in the code)

John

Hi John,

Tested and its ok now thanks.
 
Back
Top