-
vadmin_functions.inc
-
-
vadmin_fetch_pic.php
-
-
vadmin_main.php
-
-
vadmin_add_cross
-
-
vadmin_auth
-
This function is the authentication core of vadmin. Read the docs/SECURITY for the in-depth explanation on how the security is handled in vadmin.
-
vadmin_autores_notify
-
-
vadmin_crypto
-
This function does the encryption and decryption of sensitive data stored on the HDD. It uses the CRYPTO_HASH_LINE as key.
-
vadmin_delete_cross
-
-
vadmin_delete_template
-
-
vadmin_del_pic
-
-
vadmin_domain_exists
-
Functions starting with vadmin_* implement the storage API.
-
vadmin_domain_passwd_issaved
-
-
vadmin_domain_passwd_validate
-
Tries to validate the supplied domain/password pair by connecting to the vmailmgr daemon and getting a listing for the domain in question.
-
vadmin_enable_domain
-
-
vadmin_getdomain
-
-
vadmin_gethost
-
-
vadmin_getvar
-
This function retrieves various php-provided variables in a sane and safe way, offering a path of migration from php 4.0.x to 4.1 and beyond, as well as allowing us to work with register_globals=off.
-
vadmin_get_cross_array
-
This function returns an array with all CROSS admins for the domain in question.
-
vadmin_get_domain_passwd
-
This function will return a stored domain password or false if there isn't one.
-
vadmin_get_limit
-
-
vadmin_get_lowly_array
-
-
vadmin_get_pic
-
-
vadmin_get_pref
-
This function returns the stored preference.
-
vadmin_get_storparams
-
-
vadmin_get_template
-
-
vadmin_get_template_list
-
-
vadmin_get_user_designation
-
This function finds out the designation of a given user -- see if the user is just a user, a lowly administrator, a cross, or an elvis.
-
vadmin_get_user_number
-
-
vadmin_get_user_unamedomain
-
Looks at the user's login name, which should be either user@domain.com or user:domain.com, and separates the userid from the domain name, returning them in an array.
-
vadmin_get_xdomain_array
-
-
vadmin_list_enabled_domains
-
-
vadmin_list_virtual_domains
-
-
vadmin_load_config_file
-
This function reads in the vadmin config file.
-
vadmin_login_prefs
-
This function sets the front page preferences per-domain. It will check if the virtual domain has custom name and picture and will substitute the default ones with them.
-
vadmin_make_page
-
This is a GUI wrap-around for every generated page, since I'm too lazy to write one for each generated page, nor should I. ;) $scriptsrc is not currently used in vadmin, but I preserved it from SquirrelSpell in case I will add this functionality later.
-
vadmin_mkform_action
-
-
vadmin_parse_config
-
This function loads the configuration. First it checks the session
-
vadmin_parse_config_file
-
This function is a simple win.ini-style config parser.
-
vadmin_prep
-
-
vadmin_putvar
-
This function sets certain variables that should be handled safely.
-
vadmin_put_domain_passwd
-
-
vadmin_put_limit
-
-
vadmin_put_lowly_array
-
-
vadmin_put_pic
-
-
vadmin_put_pref
-
This function stores the preference.
-
vadmin_put_template
-
-
vadmin_rc4_crypt
-
This function stolen nearly verbatim from hastymail.
-
vadmin_redirect
-
-
vadmin_reroute
-
-
vadmin_security_breach
-
This utility function notifies the user that they have attempted an action that was deemed as violating security by the system.
-
vadmin_setcookie
-
-
vadmin_smart_limit
-
-
vadmin_system_error
-
This function displays an error message if the error was due to system malfunction and not user input.
-
vadmin_trim_array
-
-
vadmin_upgrade_v1
-
-
vadmin_useropts
-
This function hooks to the options page for the end-users and allows them to change their passwords.
-
vadmin_user_error
-
This function displays an error message if the error was due to the user input.
-
vadmin_version
-
Shows plugin version