Hi Everyone,
I was working on some customization, and edited the wrong file.
Now on my Admin Summary page the layout is incorrect, and i receive the following errors;
Smarty Error: [in /var/www/html/whmcs_5.1.2/templates/default/homepage.tpl line 2]: syntax error: unrecognized tag:
{$LANG.domaincheckerchoosedomain
i beleive i have removed something in the homepage.tpl file that i shouldnt have. I will paste my code below, but if anyone could confirm what i have done incorrectly, or provide the correct syntax that would be great.
{if $registerdomainenabled || $transferdomainenabled || $owndomainenabled}
<div class="well">
<div class="styled_title">
<h1>{$LANG.domaincheckerchoosedomain}</h1>
</div>
<p>{$LANG.domaincheckerenterdomain}</p>
<br />
<div class="textcenter">
<form method="post" action="{$systemsslurl}domainchecker.php">
onfocus="if(this.value=='{$LANG.domaincheckerdomai nexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domai ncheckerdomainexample}'" /><br /><br />
<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" />
</form>
</div>
</div>
<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="input-small" maxlength="5" /></p>
{/if}
</div>
{/if}
<div class="internalpadding">{if $registerdomainenabled}<input type="submit" value="{$LANG.checkavailability}" class="btn btn-primary btn-large" /> {/if}{if $transferdomainenabled}<input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn btn-success btn-large" />{/if}{if $owndomainenabled} <input type="submit" name="hosting" value="{$LANG.domaincheckerhostingonly}" class="btn btn-large" />{/if}</div>
</form>
</div>
</div>
{/if}
<div class="row">
<div class="col2half">
<div class="internalpadding">
<div class="styled_title">
<h2>{$LANG.navservicesorder}</h2>
</div>
<p>{$LANG.clientareahomeorder}<br /><br /></p>
<form method="post" action="cart.php">
<p align="center"><input type="submit" value="{$LANG.clientareahomeorderbtn} »" class="btn" /></p>
</form>
</div>
</div>
<div class="col2half">
<div class="internalpadding">
<div class="styled_title"><h2>{$LANG.manageyouraccount}</h2></div>
<p>{$LANG.clientareahomelogin}<br /><br /></p>
<form method="post" action="clientarea.php">
<p align="center"><input type="submit" value="{$LANG.clientareahomeloginbtn} »" class="btn" /></p>
</form>
</div>
</div>
</div>
<div class="row">
{if $twitterusername}
<div class="styled_title">
<h2>{$LANG.twitterlatesttweets}</h2>
</div>
<div id="twitterfeed">
<p><img src="images/loading.gif"></p>
</div>
{literal}<script language="javascript">
jQuery(document).ready(function(){
jQuery.post("announcements.php", { action: "twitterfeed", numtweets: 3 },
function(data){
jQuery("#twitterfeed").html(data);
});
});
</script>{/literal}
{elseif $announcements}
<div class="styled_title">
<h2>{$LANG.latestannouncements}</h2>
</div>
{foreach from=$announcements item=announcement}
<p>{$announcement.date} - <a href="{if $seofriendlyurls}announcements/{$announcement.id}/{$announcement.urlfriendlytitle}.html{else}announcements.php?id={$announcement.id}{/if}"><b>{$announcement.title}</b></a><br />{$announcement.text|strip_tags|truncate:100:"..."}</p>
{/foreach}
{/if}
</div>
Thanks