Jump to content

My little contribution to Version 3.5


Recommended Posts

Now your Clients don't have to fill Registrant, Admin , Tech Contacts Separately when changing there domain whois information .

all they have to do is changing the Registrant Information and check the check Box next to Admin/ Tech and the new information will be copied from the Registrant .


download the file here:






Link to comment
Share on other sites

Sorry , i removed that URL


here is the code for (clientareadomaincontactinfo.tpl)


<p><strong> »  {$LANG.domaincontactinfo}</strong></p>
<p>{$LANG.domainname}: <strong>{$domain}</strong></p>
<form name="domainContactsForm" method="post" action="{$smarty.server.PHP_SELF}?action=domaincontacts">
<input type="hidden" name="sub" value="save">
<input type="hidden" name="domainid" value="{$domainid}">
{foreach key=contactdetail item=values from=$contactdetails name=for}
<p><strong>{$contactdetail}</strong>{if $smarty.foreach.for.iteration!=1}<input style="margin:0 0 0 10px" type="checkbox" onclick="useRegistrantInfo(this.checked,{$smarty.foreach.for.iteration})" /> Use Registrant Information{/if}</p>
<table width="100%" id="tbl{$smarty.foreach.for.iteration}">
{foreach key=name item=value from=$values}
<tr><td width=120 align="right">{$name}</td><td><input type="text" name="contactdetails[{$contactdetail}][{$name}]" value="{$value}" size="30"></td></tr>
<p align="center"><input type="submit" value="{$LANG.clientareasavechanges}"></p>
<form method="post" action="{$smarty.server.PHP_SELF}?action=domaindetails">
<input type="hidden" name="id" value="{$domainid}" />
<p align="center"><input type="submit" value="{$LANG.clientareabacklink}" /></p>
<script type="text/javascript">
function useRegistrantInfo(chk,n){
 var currTable = document.getElementById("tbl"+n);
 var cInp = currTable.getElementsByTagName("INPUT");
  var regInfoTable = document.getElementById("tbl1");
  var rInp = regInfoTable.getElementsByTagName("INPUT");
  for(var i=0;i<rInp.length;i++){
   cInp[i].value = rInp[i].value;
   cInp[i].readOnly = true;
  for(var i=0;i<cInp.length;i++){
   cInp[i].readOnly = false;


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.

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