View Single Post
Old February 8th, 2007, 11:22 AM   #13 (permalink)
joeldaviddc
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
i have made a little script for test purpose, this is the code:

<?php

require "pp-inc.php";
require_once("{$Globals['PP_PATH']}/languages/$pplang/emails.php");
require_once("{$Globals['PP_PATH']}/languages/english.php");

echo $pplang;
echo "<br>";
echo "test";
echo "</br>";
echo $Globals['pp_lang']['ereplysub'];
echo "</br>";
echo $Globals['pp_lang']['emailreply'];
echo "</br>";
echo $Globals['pp_lang']['ereplysub'];
echo "</br>";
echo $Globals['pp_lang']['emailreg'];
echo "</br>";
echo $Globals['pp_lang']['yourmsg'];


?>


you can see the result at http://www.webcampista.com/ocasion/prueba.php

this is the result:

english
test




Introduzca su mensaje


the emails.php are now the original 2.6 file and are located in the languajes/english subdir.

It seems that the script do not "take" the emails.php variables.

I have tried to put the all emails.php text into th english.php file and make the require to english.php in the place of eamils.php but ... it doesn´t work.

I am working in windows... pearhaps the format of emails.php...in windows ...?
joeldaviddc is offline   Reply With Quote