| | |
| | | //**** XMPP Menu |
| | | $items = array(); |
| | | |
| | | if($app->auth->get_client_limit($userid, 'xmppdomain') != 0) |
| | | if($app->auth->get_client_limit($userid, 'xmpp_domain') != 0) |
| | | { |
| | | $items[] = array( 'title' => 'XMPP Domain', |
| | | 'target' => 'content', |
| | |
| | | 'html_id' => 'xmpp_domain_list'); |
| | | } |
| | | |
| | | if($app->auth->get_client_limit($userid, 'xmppaccount') != 0) |
| | | if($app->auth->get_client_limit($userid, 'xmpp_user') != 0) |
| | | { |
| | | $items[] = array( 'title' => 'XMPP Account', |
| | | 'target' => 'content', |
| | | 'link' => 'mail/xmpp_account_list.php', |
| | | 'html_id' => 'xmpp_account_list'); |
| | | 'link' => 'mail/xmpp_user_list.php', |
| | | 'html_id' => 'xmpp_user_list'); |
| | | } |
| | | |
| | | if(count($items)) |