The PowerDynDNS Web site makes use of Web page and email templates. These are described below. Web Page Templates: ------------------- The output of the Web site is all about function, and not about form. If you want to make nicer-looking Web pages, or translate the site into another language, you can edit these templates. The templates are located in the Web site's templates folder. The Web page template system is Star Templates. For documentation about Star Templates, please visit: https://gothamcode.com/star A list of the template files and the template variables supplied for use in the templates follows: blocked.tpl ----------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ username }} is the user's username {{ remoteip }} is the IP address of the user {{ permblock }} is TRUE if the IP is permanently blocked, or FALSE {{ tempblock }} is TRUE if the IP is temporarily blocked, or FALSE {{ permdisabled }} TRUE if username is permanently disabled, or FALSE {{ tempdisabled }} TRUE if username is temporarily disabled, or FALSE {{ minutes }} number of minutes remaining in temporary block/disable register.tpl ------------ {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ dnsok }} TRUE if the DNS record updated {{ incomplete }} NULL initially, TRUE if required fields not filled, or FALSE {{ username }} The user's username {{ email }} is the user's email address {{ hostname }} is the user's dynamic DNS hostname {{ register }} Whether registration is open or not (TRUE or FALSE) {{ userexists }} Requested username already exists and is not available {{ hostexists }} Requested hostname already exists and is not available {{ isfqdn }} requested hostname is invalid because it is a full domain name {{ mismatch }} Submitted passwords do not match {{ loggedin }} TRUE if user is logged in, or FALSE {{ password1 }} Password user submitted {{ password2 }} Confirm password submitted registerconfirmed.tpl --------------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ username }} The user's username {{ email }} is the user's email address {{ hostname }} is the user's dynamic DNS hostname {{ dnsok }} TRUE if the DNS record updated login.tpl --------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ username }} The user's username {{ register }} Whether registration is open or not (TRUE or FALSE) {{ sessionfail }} Is a valid (login) session (TRUE or FALSE) panel.tpl --------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ checkip }} is the $checkip value from powerdyndns.conf.php {{ username }} is the user's username {{ email }} is the user's email address {{ hostname }} is the user's dynamic DNS hostname {{ lastlogin }} Date and time user last logged into the Web site {{ lastupate }} Date and time user last updated their DNS record {{ register }} Whether registration is open or not (TRUE or FALSE) clients.tpl ----------- (same as panel.tpl) changeemail.tpl --------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ incomplete }} NULL initially, TRUE if required fields not filled, or FALSE {{ email }} is the user's email address {{ register }} Whether registration is open or not (TRUE or FALSE) changeemailconfirmed.tpl ------------------------ {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ oldemail }} is the user's old email address {{ newemail }} is the user's new email address {{ register }} Whether registration is open or not (TRUE or FALSE) changehostname.tpl ------------------ {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ incomplete }} NULL initially, TRUE if required fields not filled, or FALSE {{ isfqdn }} requested hostname is invalid because it is a full domain name {{ hostname }} is the user's old dynamic DNS hostname {{ exists }} user's requested hostname already exists {{ changed }} TRUE if new hostname is not the same as old hostname, or FALSE {{ updated }} FALSE if the DNS record could not be updated {{ register }} Whether registration is open or not (TRUE or FALSE) changehostnameconfirmed.tpl --------------------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ oldhostname }} is the user's old dynamic DNS hostname {{ newhostname }} is the user's new dynamic DNS hostname {{ updated }} NULL, or TRUE if DNS updated, FALSE if DNS update failed {{ register }} Whether registration is open or not (TRUE or FALSE) changepassword.tpl ------------------ {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ incomplete }} NULL initially, TRUE if required fields not filled, or FALSE {{ mismatch }} TRUE if submitted username is not the user's username {{ register }} Whether registration is open or not (TRUE or FALSE) changepasswordconfirmed.tpl --------------------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php resetpassword.tpl ----------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ incomplete }} NULL initially, TRUE if required fields not filled, or FALSE {{ username }} is the user's username {{ register }} Whether registration is open or not (TRUE or FALSE) resetsent.tpl ------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ username }} is the user's username {{ register }} Whether registration is open or not (TRUE or FALSE) reset.tpl --------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ success }} FALSE if expired or invalid token was submitted, or TRUE {{ register }} Whether registration is open or not (TRUE or FALSE) resetconfirmed.tpl ------------------ (same as resetpassword.tpl) deleteaccount.tpl ----------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ username }} The user's username {{ verifyname }} The username entered for verification {{ incomplete }} NULL initially, TRUE if required fields not filled, or FALSE {{ mismatch }} TRUE if submitted username is not the user's username {{ issure }} FALSE if user did not check the "Are you sure?" box {{ dnsok }} TRUE if the DNS record updated {{ deleted }} Initially NULL, TRUE if the user's account was deleted or FALSE {{ register }} Whether registration is open or not (TRUE or FALSE) deleteaccountconfirmed.tpl -------------------------- (same as deleteaccount.tpl) Email Templates: ---------------- Emails sent by the Web site are stored in the Web site's templates folder. These are not Star Templates, and use only simple substitutions. The first line of each email template will be used as the subject of the email and will not appear in the body of the message. register.email -------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ username }} is the user's username {{ remoteip }} is the IP address of the user who made the request {{ hostname }} is the user's dynamic DNS hostname {{ checkip }} URL to the checkip service {{ updateurl }} Manual update URL emailchange.email ----------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ username }} is the user's username {{ remoteip }} is the IP address of the user who made the request {{ hostname }} is the user's dynamic DNS hostname {{ oldemail }} is the user's old email address {{ newemail }} is the user's new email address hostchange.email ---------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ username }} is the user's username {{ remoteip }} is the IP address of the user who made the request {{ oldhostname }} is the user's old dynamic DNS hostname {{ newhostname }} is the user's new dynamic DNS hostname {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php passchange.email ---------------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ username }} is the user's username {{ remoteip }} is the IP address of the user who made the request {{ hostname }} is the user's dynamic DNS hostname reset.email ----------- {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ username }} is the user's username {{ email }} is the user's email address {{ remoteip }} is the IP address of the user who made the request {{ hostname }} is the user's dynamic DNS hostname delete.email ------------ {{ myname }} is the $myname value from powerdyndns.conf.php {{ dynzone }} is the $dynzone value from powerdyndns.conf.php {{ servicedomain }} is the $servicedomain value from powerdyndns.conf.php {{ serviceurl }} is the $serviceurl value from powerdyndns.conf.php {{ username }} is the user's username {{ remoteip }} is the IP address of the user who made the request {{ hostname }} is the user's dynamic DNS hostname