Hi,
I've been recently trying to create a language change script. Everything goes smoooth but there are several complexed places inside the page that needs some advanced php code.
So the main problem is: I do not know how to make a variable from main page work in array.
$eng = array(
'cp_ver' => 'v1.0.1 ',
'cp_title' => 'Control Panel ',
'cp_sub' => 'Welcome to central controll center. ',
'logout_btn' => 'Logout ',
'no_profiles' => 'You do not have a profile yet. ',
'profile_permission' => 'You belong to ' . $group . ' with a permission of ' . $permission .'',
);
profile_permission property is like a real pain in the hole for me right now.
this code is located in a langs.php file which is included into main page index.php.
Please help me to sort this out.