mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +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
a93187ec74
commit
598afb0dae
@ -5,7 +5,7 @@
|
||||
* @link http://www.egroupware.org
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @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
|
||||
* @version $Id$
|
||||
*/
|
||||
@ -212,6 +212,6 @@ class addressbook_contactform
|
||||
$content['captcha_task'] = sprintf('%d - %d =',$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
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @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
|
||||
* @version $Id$
|
||||
*/
|
||||
@ -23,6 +23,7 @@ class module_addressbook_contactform extends sitemgr_module
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
$this->i18n = true;
|
||||
$this->arguments = array(); // get's set in get_user_interface
|
||||
$this->title = lang('Contactform');
|
||||
$this->description = lang('This module displays a contactform, that stores direct into the addressbook.');
|
||||
|
Loading…
Reference in New Issue
Block a user