5
Hi guys
Thanks for taking tha time
Well, from the xoops.js i found the "constructor" of the openwithselfmain function:
function openWithSelfMain(url,name,width,height,returnwindow) {
var options = "width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no";
but could not find where to set some paramethers of the pm specific window, as that functions seems to be used for many others popups.
From "kernel/object.php"
I found:
case XOBJ_DTYPE_TXTAREA:
if ($v['required'] && $cleanv != '0' && $cleanv == '') {
$this->setErrors("$k is necessary.");
continue;
and change the:
$this->setErrors("$k is necessary.");
to
$this->setErrors("$k é necessário.");
and seems to work pretty well till now, although hard coded
now i got:
Errors
subject is required.
msg_text é necessário.( in my language)
Let?s dig a bit more