Michael Fürmann
2015-02-17 d2ba64924092d7695b4e126e2e8248926ee8700b
interface/web/mail/lib/module.conf.php
@@ -148,6 +148,30 @@
      'items' => $items);
}
//**** XMPP Menu
$items = array();
if($app->auth->get_client_limit($userid, 'xmppdomain') != 0)
{
    $items[] = array( 'title'  => 'XMPP Domain',
        'target'  => 'content',
        'link' => 'mail/xmpp_domain_list.php',
        'html_id' => 'xmpp_domain_list');
}
if($app->auth->get_client_limit($userid, 'xmppaccount') != 0)
{
    $items[] = array( 'title'  => 'XMPP Account',
        'target'  => 'content',
        'link' => 'mail/xmpp_user_list.php',
        'html_id' => 'xmpp_user_list');
}
if(count($items))
    $module['nav'][] = array( 'title' => 'Jabber / XMPP',
        'open'  => 1,
        'items' => $items);
//**** Statistics menu
@@ -164,7 +188,11 @@
   'target'  => 'content',
   'link' => 'mail/mail_user_stats.php',
   'html_id' => 'mail_user_stats');
$items[] = array (
    'title'   => 'Backup Stats',
    'target'  => 'content',
    'link'    => 'mail/backup_stats.php',
    'html_id' => 'backup_stats');
$module['nav'][] = array( 'title' => 'Statistics',