[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.25,1.26
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.25,1.26 |
Date: |
Sat, 05 Oct 2002 20:21:54 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv20902
Modified Files:
class.editor.inc.php
Log Message:
load translation of the app we edit the template from
Index: class.editor.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.editor.inc.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** class.editor.inc.php 3 Oct 2002 16:46:18 -0000 1.25
--- class.editor.inc.php 6 Oct 2002 00:21:52 -0000 1.26
***************
*** 97,100 ****
--- 97,104 ----
}
list($app) = explode('.',$this->etemplate->name);
+ if ($app && $app != 'etemplate')
+ {
+ $GLOBALS['phpgw']->translation->add_app($app);
// load translations for app
+ }
if ($app && $app != 'etemplate' &&
is_array($this->extensions) &&
(!is_array($this->extensions['**loaded**']) ||
!$this->extensions['**loaded**'][$app]))
***************
*** 668,671 ****
--- 672,680 ----
$this->edit();
return;
+ }
+ list($app) = explode('.',$this->etemplate->name);
+ if ($app && $app != 'etemplate')
+ {
+ $GLOBALS['phpgw']->translation->add_app($app);
// load translations for app
}
$content = $this->etemplate->as_array() + array('msg'
=> $msg);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.25,1.26,
Ralf Becker <address@hidden> <=