Jump to content

Removing References to Domains in Client Area


backup-uk

Recommended Posts

in header.tpl remove

 

	  <ul>
		<li class="menu">
		  <a href="#" class="menu">{$LANG.navdomains}</a>
		  <ul class="menu-dropdown">
			<li><a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></li>
			<li class="divider"></li>
			<li><a href="cart.php?gid=renewals">{$LANG.navrenewdomains}</a></li>
			<li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li>
			<li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li>
			<li class="divider"></li>
			<li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li>
		  </ul>
		</li>
	  </ul>

 

in homepage.tpl remove

 

<div class="well">
   <div class="styled_title">
       <h1>{$LANG.domaincheckerchoosedomain}</h1>
   </div>
   <p>{$LANG.domaincheckerenterdomain}</p>
   <br />
   <div class="textcenter">
       <form method="post" action="domainchecker.php">
       <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" />
       {if $capatacha}
       <div class="captchainput" align="center">
           <p>{$LANG.captchaverify}</p>
           {if $capatacha eq "recaptcha"}
           <p>{$recapatchahtml}</p>
           {else}
           <p><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="small" maxlength="5" /></p>
           {/if}
       </div>
       {/if}
       <div class="internalpadding"><input type="submit" value="{$LANG.checkavailability}" class="btn primary large" /> <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" /> <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" /></div>
       </form>
   </div>
</div>

 

in clientareahome.tpl remove

 

<form method="post" action="domainchecker.php">
<div class="well textcenter">
   <div class="styled_title">
       <h3>{$LANG.domaincheckerchecknewdomain}</h3>
   </div>
   <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" />
   <div class="internalpadding">
       <input type="submit" value="{$LANG.checkavailability}" class="btn primary large" />
       <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" />
       <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" />
   </div>
</div>
</form>

Link to comment
Share on other sites

in header.tpl remove

 

	  <ul>
		<li class="menu">
		  <a href="#" class="menu">{$LANG.navdomains}</a>
		  <ul class="menu-dropdown">
			<li><a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></li>
			<li class="divider"></li>
			<li><a href="cart.php?gid=renewals">{$LANG.navrenewdomains}</a></li>
			<li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li>
			<li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li>
			<li class="divider"></li>
			<li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li>
		  </ul>
		</li>
	  </ul>

 

in homepage.tpl remove

 

<div class="well">
   <div class="styled_title">
       <h1>{$LANG.domaincheckerchoosedomain}</h1>
   </div>
   <p>{$LANG.domaincheckerenterdomain}</p>
   <br />
   <div class="textcenter">
       <form method="post" action="domainchecker.php">
       <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" />
       {if $capatacha}
       <div class="captchainput" align="center">
           <p>{$LANG.captchaverify}</p>
           {if $capatacha eq "recaptcha"}
           <p>{$recapatchahtml}</p>
           {else}
           <p><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="small" maxlength="5" /></p>
           {/if}
       </div>
       {/if}
       <div class="internalpadding"><input type="submit" value="{$LANG.checkavailability}" class="btn primary large" /> <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" /> <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" /></div>
       </form>
   </div>
</div>

 

in clientareahome.tpl remove

 

<form method="post" action="domainchecker.php">
<div class="well textcenter">
   <div class="styled_title">
       <h3>{$LANG.domaincheckerchecknewdomain}</h3>
   </div>
   <input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" />
   <div class="internalpadding">
       <input type="submit" value="{$LANG.checkavailability}" class="btn primary large" />
       <input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn success large" />
       <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn large" />
   </div>
</div>
</form>

 

 

Works a treat, exactly what I was after.

 

Thank you so much for your help, really aqppreciated.

Link to comment
Share on other sites

  • 11 months later...
  • 3 weeks later...

Let me add something.

In clientareahome.tpl in line 29, you have

 

<p>{$LANG.statsnumdomains}: <a href="clientarea.php?action=domains"><strong>{$clientsstats.numactivedomains}</strong> ({$clientsstats.numdomains}) - {$LANG.view} »</a></p>

 

You can delete that also.

Edited by facupuig
fixing code
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