Jump to content

Change Manage DNS template, adding TTL


JelleG

Recommended Posts

Hi,

 

I want to edit the Manage DNS template (/templates/template/clientareadomaindns.tpl).

I want to add TTL (domain expire), but I can not get it right.

 

I currently have this code, but that does not seem to work.

How can I make this work?

 

CODE:

 

<table class="table table-condensed" id="tableDomainsList">
   <thead>
       <tr>
           <td><select class="form-control input-sm" name="dnsrecordexpire[]">
<option value="60" {if $dnsrecord.expire eq "60"} selected="selected"{/if}>1 Min.</option>
<option value="300" {if $dnsrecord.expire eq "300"} selected="selected"{/if}>5 Min.</option>
<option value="3600" {if $dnsrecord.expire eq "3600"} selected="selected"{/if}>1 H</option>
<option value="86400"{if $dnsrecord.expire eq "86400"} selected="selected"{/if}>1 Day</option>
</select></td>
       </tr>
   </thead>
</table>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated