Jump to content

Change reselller login from WHM to cPanel


Nesooo

Recommended Posts

1 hour ago, Remitur said:

I found this file: /modules/servers/cpanel/templates/loginbuttons.tpl: 


<form action="clientarea.php" method="post" target="_blank">
    <input type="hidden" name="action" value="productdetails" />
    <input type="hidden" name="id" value="{$serviceid}" />
    <input type="hidden" name="dosinglesignon" value="1" />
    <input type="submit" value="{if $producttype=="hostingaccount"}{$LANG.cpanellogin}{else}{$LANG.cpanelwhmlogin}{/if}" class="btn btn-primary modulebutton" />
    <input type="button" value="{$LANG.cpanelwebmaillogin}" onClick="window.open('http{if $serversecure}s{/if}://{if $serverhostname}{$serverhostname}{else}{$serverip}{/if}:{if $serversecure}2096{else}2095{/if}/')" class="btn btn-default modulebutton" />
</form>

What to change to use only cPanel link for any type of product, I did try to edit hostingaccount to resller etc. but it still use WHM login URL for resellers and I wish to use only cPanel link

 

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