Jump to content

Registrar Lock on clientdomaindetails.tpl


benbahadir

Recommended Posts

Greetings from Istanbul,

 

We are having an issue with that registrar lock/unlock function on clientdomaindetails.tpl

 

We use a theme and have that lines which are a bit different from what WHMCS refers on the same file.

But even that we can disable registrar lock (we can unlock) but we can not enable registrar lock (we can not lock).

 

<form method="post" action="{$smarty.server.PHP_SELF}?action=domaindetails" id="formlock">

<input type="hidden" name="id" value="{$domainid}" />

<input type="hidden" name="sub" value="savereglock" />

{if $lockstatus=="locked"}

<p><input type="submit" class="btn btn-danger" value="{$LANG.domainreglockdisable}"

onclick="document.getElementById('formlock').submit();"/></p>

{else}

<p><input type="submit" class="btn btn-success" name="reglock" value="{$LANG.domainreglockenable}" onclick="document.getElementById('formlock').submit();"/></p>

{/if}

</form>

 

Do you have any ideas please? We tried something but could not solve the problem.

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