Newer
Older
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
******************************************/
$list_def_file = "list/mail_user.list.php";
/******************************************
* End Form configuration
******************************************/
//* Check permissions for module
$app->auth->check_module_permissions('mail');
tbrehm
committed
$app->load('listform_actions');
class list_action extends listform_actions {
tbrehm
committed
function onShow() {
tbrehm
committed
$app->uses('getconf');
$global_config = $app->getconf->get_global_config('mail');
tbrehm
committed
if($global_config['mailboxlist_webmail_link'] == 'y') {
$app->tpl->setVar('mailboxlist_webmail_link', 1);
tbrehm
committed
} else {
$app->tpl->setVar('mailboxlist_webmail_link', 0);
}
if($global_config["enable_custom_login"] == "y") {
$app->tpl->setVar("enable_custom_login", 1);
} else {
$app->tpl->setVar("enable_custom_login", 0);
tbrehm
committed
}
tbrehm
committed
parent::onShow();
}
tbrehm
committed
}
$list = new list_action;
$list->SQLOrderBy = 'ORDER BY mail_user.email';
tbrehm
committed
$list->onLoad();