mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
42 lines
823 B
PHP
42 lines
823 B
PHP
<?php
|
|
/**
|
|
* EGroupware Mail: Wizard to create mail accounts
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @package emailadmin
|
|
* @author Ralf Becker <rb@egroupware.org>
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @version $Id$
|
|
*/
|
|
|
|
use EGroupware\Api;
|
|
use EGroupware\Api\Framework;
|
|
|
|
/**
|
|
* 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
|
|
Framework::includeCSS('admin','app');
|
|
|
|
// and translations
|
|
Api\Translation::add_app('admin');
|
|
|
|
Framework::includeJS('/admin/js/app.js');
|
|
}
|
|
} |