Minor bug in contactowner.tpl

Discussion in 'TemplateCodes' started by seymourjames, Jun 24, 2010.

  1. seymourjames All Hands On Deck

    For all those using our templates, a minor bug has come to light which is actually in the default template aswell. It only affects those who set allow contact in the control panel to NO. -

    Please open each contactowner.tpl file in each template folder and replace line 72/73 which is currently this

    <a href="userlogin.php">{$smarty.const.LANG_USER_LOGIN}</a> or
    <a href="userjoin.php">{$smarty.const.LANG_USER_REGISTER}</a>.

    with this


    <a href="login.php">{$smarty.const.LANG_USER_LOGIN}</a> or
    <a href="userjoin.php">{$smarty.const.LANG_USER_REGISTER}</a>.
  2. EnergyFreak Customer

    Thanks for the fix, although you should remove the spaces in between your USER_LOGIN on top and the USER_REGISTER on the bottom because if someone copy's and paste they will get a bug.
  3. seymourjames All Hands On Deck

    Very good - people should also be understanding and not just copying and pasting? That is exactly what I just did. And there are no spaces. :D


    Code:
    <a href="login.php">{$smarty.const.LANG_USER_LOGIN}</a> or
    <a href="userjoin.php">{$smarty.const.LANG_USER_REGISTER}</a>
    
  4. EnergyFreak Customer

    Ya that is a good point lol

Share This Page