Jump to content

Language problem


totomcs

Recommended Posts

Hi,

 

i have upgrade whmcs to 3.6 beta version. There is a problem now with our language select.

With version 3.5.1 we could use setlanguage=true if we change the language then changes the langauge also.

But with new version ( 3.6 ) it do not change ( exluding setlanguage=true ) it takes the default language (english).

 

This problem appears not with domainchecker.php . It appears only with our own created pages we do not understand why it don't work with version 3.6. Version 3.5.1 was proceding perfectly.

 

LIKE THIS ONE:

 

 

<?php

 

require("dbconnect.php");

require("includes/functions.php");

 

$pagetitle = $_LANG['clientareatitle'];

$pageicon = "images/support/clientarea.gif";

$breadcrumbnav=''.$_LANG['globalsystemname'].'';

 

require("init.php");

 

if ($_SESSION['loggedinstatus']=="true") {

# User is Logged In - put any code you like here

}

 

# Define the template filename to be used without the .tpl extension

$templatefile = "new_page";

 

/*

To assign variables in Smarty use the following syntax.

$smarty->assign('variablename', $value);

This can then be used as {$variablename} in the template

*/

 

include("display.php");

 

?>

 

Kind regards,

Link to comment
Share on other sites

  • 2 weeks later...

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