if (!CheckPrivs()) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["index"])) { index(); exit; } if (isset($_GET["RoundCubeEnableAddressbook"])) { RoundCubeEnableAddressbook(); exit; } if (isset($_GET["admins"])) { admins(); exit; } if (isset($_GET["find-members"])) { admins_find(); exit; } if (isset($_GET["SearchPattern"])) { list_users(); exit; } if (isset($_GET["admins-add"])) {
include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.roundcube.inc'); include_once('ressources/class.artica.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.apache.inc'); if(!CheckPrivs()){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["index"])){index();exit;} if(isset($_GET["RoundCubeEnableAddressbook"])){RoundCubeEnableAddressbook();exit;} if(isset($_GET["admins"])){admins();exit;} if(isset($_GET["find-members"])){admins_find();exit;} if(isset($_GET["SearchPattern"])){list_users();exit;} if(isset($_GET["admins-add"])){admins_add();exit;} if(isset($_GET["admins-del"])){admins_del();exit;} if(isset($_GET["admin-list"])){admins_list();exit;} js(); function js() { $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{APP_ROUNDCUBE}::{global_addressbook}"); $page=CurrentPageName();