| | |
| | | |
| | | */ |
| | | |
| | | $lista_funkcji = array(); |
| | | $lista_funkcji['mail_domain_get,mail_domain_add,mail_domain_update,mail_domain_delete'] = 'Mail domain functions<br>'; |
| | | $function_list = array(); |
| | | |
| | | $lista_funkcji['mail_user_add,mail_user_update,mail_user_delete'] = 'Mail user functions<br>'; |
| | | |
| | | $lista_funkcji['mail_alias_add,mail_alias_update,mail_alias_delete'] = 'Mail alias functions<br>'; |
| | | |
| | | $lista_funkcji['mail_forward_add,mail_forward_update,mail_forward_delete'] = 'Mail forward functions<br>'; |
| | | |
| | | $lista_funkcji['mail_catchall_add,mail_catchall_update,mail_catchall_delete'] = 'Mail catchall functions<br>'; |
| | | |
| | | $lista_funkcji['mail_transport_add,mail_transport_update,mail_transport_delete'] = 'Mail transport functions<br>'; |
| | | |
| | | $lista_funkcji['mail_whitelist_add,mail_whitelist_update,mail_whitelist_delete'] = 'Mail whitelist functions<br>'; |
| | | |
| | | $lista_funkcji['mail_blacklist_add,mail_blacklist_update,mail_blacklist_delete'] = 'Mail blacklist functions<br>'; |
| | | |
| | | $lista_funkcji['mail_spamfilter_user_add,mail_spamfilter_user_update,mail_spamfilter_user_delete'] = 'Mail spamfilter user functions<br>'; |
| | | |
| | | $lista_funkcji['mail_policy_add,mail_policy_update,mail_policy_delete'] = 'Mail spamfilter policy functions<br>'; |
| | | |
| | | $lista_funkcji['mail_fetchmail_add,mail_fetchmail_update,mail_fetchmail_delete'] = 'Mail fetchmail functions<br>'; |
| | | |
| | | $lista_funkcji['mail_whitelist_add,mail_whitelist_update,mail_whitelist_delete'] = 'Mail whitelist functions<br>'; |
| | | |
| | | $lista_funkcji['mail_blacklist_add,mail_blacklist_update,mail_blacklist_delete'] = 'Mail blacklist functions<br>'; |
| | | |
| | | $lista_funkcji['mail_filter_add,mail_filter_update,mail_filter_delete'] = 'Mail filter functions<br>'; |
| | | |
| | | |
| | | // Getting the remote function list from other modules |
| | | $modules = explode(',', $_SESSION['s']['user']['modules']); |
| | | if(is_array($modules)) { |
| | | foreach($modules as $mt) { |
| | | if(is_file(ISPC_WEB_PATH.'/'.$mt.'/lib/remote.conf.php')) { |
| | | include(ISPC_WEB_PATH."/$mt/lib/remote.conf.php"); |
| | | } |
| | | } |
| | | } |
| | | |
| | | $form["title"] = "Remote user"; |
| | | $form["description"] = ""; |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'PASSWORD', |
| | | 'encryption' => 'MD5', |
| | | 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', |
| | | 'errmsg'=> 'password_error_empty'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | |
| | | 'regex' => '', |
| | | 'errmsg' => '', |
| | | 'default' => '', |
| | | 'value' => $lista_funkcji, |
| | | 'value' => $function_list, |
| | | 'separator' => ';', |
| | | 'width' => '', |
| | | 'maxlength' => '', |