mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
fix SiteMgr contact-form does NOT show submit message, caused by message being translatable but module not marked translatable
This commit is contained in:
parent
c6dbb54eeb
commit
45c9d9b223
@ -5,7 +5,7 @@
|
|||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @package addressbook
|
* @package addressbook
|
||||||
* @copyright (c) 2007-10 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @copyright (c) 2007-15 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
@ -212,6 +212,6 @@ class addressbook_contactform
|
|||||||
$content['captcha_task'] = sprintf('%d - %d =',$num1,$num2);
|
$content['captcha_task'] = sprintf('%d - %d =',$num1,$num2);
|
||||||
$preserv['captcha_result'] = $num1-$num2;
|
$preserv['captcha_result'] = $num1-$num2;
|
||||||
}
|
}
|
||||||
return $tpl->exec($this->callback,$content,$sel_options,$readonlys,$preserv);
|
return $tpl->exec($this->callback,$content,$sel_options,array(),$preserv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @package addressbook
|
* @package addressbook
|
||||||
* @copyright (c) 2007 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
* @copyright (c) 2007-15 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
@ -23,6 +23,7 @@ class module_addressbook_contactform extends sitemgr_module
|
|||||||
*/
|
*/
|
||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
|
$this->i18n = true;
|
||||||
$this->arguments = array(); // get's set in get_user_interface
|
$this->arguments = array(); // get's set in get_user_interface
|
||||||
$this->title = lang('Contactform');
|
$this->title = lang('Contactform');
|
||||||
$this->description = lang('This module displays a contactform, that stores direct into the addressbook.');
|
$this->description = lang('This module displays a contactform, that stores direct into the addressbook.');
|
||||||
|
Loading…
Reference in New Issue
Block a user