egroupware_official/mail/inc/class.mail_wizard.inc.php

42 lines
823 B
PHP
Raw Normal View History

<?php
/**
* EGroupware Mail: Wizard to create mail accounts
*
2016-10-08 14:32:58 +02:00
* @link http://www.egroupware.org
* @package emailadmin
2016-10-08 14:32:58 +02:00
* @author Ralf Becker <rb@egroupware.org>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
2016-05-03 21:17:44 +02:00
use EGroupware\Api;
use EGroupware\Api\Framework;
/**
2016-05-03 21:17:44 +02:00
* Wizard to create mail Api\Accounts
*
* Extends admin_mail to allow non-admins to use it.
*/
class mail_wizard extends admin_mail
{
/**
* Prefix for callback names
*/
const APP_CLASS = 'mail.mail_wizard.';
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
// need emailadmin's app.css file
2016-05-03 21:17:44 +02:00
Framework::includeCSS('admin','app');
// and translations
2016-05-03 21:17:44 +02:00
Api\Translation::add_app('admin');
2013-11-06 10:12:22 +01:00
2016-05-03 21:17:44 +02:00
Framework::includeJS('/admin/js/app.js');
}
}