In the Smarty object for the client area we are able to pull the domain name from the database.
In case this is an ACE domain name it will be stored in the database like "honningsvåg.no" and the ACE format will be "xn--honningsvg-95a.no".
In one of our plugins we use sld_punycode and tld_punycode to build the domain name.
In Smarty object we can find the following:
$services
Array (22)
0 => Array (42)
domain => "honningsvåg.no"
But we are not able to get the ACE format.
In my case I need the ACE format to build a direct link to manage dns zone files with the DirectAdmin Extended plugin.
This link has to contain the ACE format.
Thanks,
Haavard
1 Comment
Login to post a comment.
{idn_to_ascii($service.domain)}