2013-11-03 11:24:09 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* EGroupware Mail: Wizard to create mail accounts
|
|
|
|
*
|
|
|
|
* @link http://www.stylite.de
|
|
|
|
* @package emailadmin
|
|
|
|
* @author Ralf Becker <rb@stylite.de>
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @version $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Wizard to create mail accounts
|
|
|
|
*
|
2016-03-28 20:51:38 +02:00
|
|
|
* Extends admin_mail to allow non-admins to use it.
|
2013-11-03 11:24:09 +01:00
|
|
|
*/
|
2016-03-28 20:51:38 +02:00
|
|
|
class mail_wizard extends admin_mail
|
2013-11-03 11:24:09 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Prefix for callback names
|
|
|
|
*/
|
|
|
|
const APP_CLASS = 'mail.mail_wizard.';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructor
|
|
|
|
*/
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
parent::__construct();
|
|
|
|
|
|
|
|
// need emailadmin's app.css file
|
2016-03-28 20:51:38 +02:00
|
|
|
egw_framework::includeCSS('admin','app');
|
2013-11-03 11:24:09 +01:00
|
|
|
|
|
|
|
// and translations
|
2016-03-28 20:51:38 +02:00
|
|
|
translation::add_app('admin');
|
2013-11-06 10:12:22 +01:00
|
|
|
|
2016-03-28 20:51:38 +02:00
|
|
|
egw_framework::validate_file('/admin/js/app.js');
|
2013-11-03 11:24:09 +01:00
|
|
|
}
|
|
|
|
}
|