Installation

UPGRADE NOTICE  (if your run old installation < v. 0.050  beta):
- Remove old files from /modules/admin/DNS/
- Please reissue your key in our portal 
- Copy the contents of lang/english into the lang/english file


ALLWAYS MAKE A BACKUP OF YOUR EXISTING INSTALLATION. BETTER SAFE THEN SORRY.

Installing
1. Get a licensekey at our Customer portal at http://portal.cp-services.nl.
2. After registration you can download the latest release.
3. Unzip the archive and copy all the files to your WHMCS-installation.
   Please note:
 -  Copy contents of english.php to /lang/english.php
 -  Copy dns.tpl to /templates/portal/
 -  Copy dns,php to / (root WHMCS-installation)
 -  Copy dns.css  to / (root WHMCS-installation)
 -  Copy all other files in the /modules folder
 -  Do not forget to make backups!

4. Login as an admin and Activate the module in Admin >> Setup >> Addons.
5. Insert your license key and set the right permissions.
6. Save data and refresh date. PowerDNS will now apprear in Addon-tab.
7. Click on the script and fill in database details. Now the admin module is ready for use.
8. To enable the client-side part of the script, add a link to dns.php in header.tpl, or any other part of the template you like.
   We have inserted this code in header.tpl:

   {php}
   if ($_SESSION['uid']) {
    echo '<li><a href="dns.php" title="Manage your DNS">My DNS</a></li>';
   }
   {/php}

   In this example the link will be displayed if a registered user is logged in. Only if the customer has DNS-mangement enabled
   for one or more domains, he will be able to edit them.
9. Ready