squirrelmail-webmail
1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
![]() ![]() |
Go to the source code of this file.
Namespaces | |
plugins | |
Functions | |
parseConfig ( $cfg_file) | |
change_to_rel_path ($old_path) | |
change_to_sm_path ($old_path) | |
Variables | |
const | PAGE_NAME 'administrator_options' |
const | SM_PATH '../../' |
global | $data_dir |
global | $username |
$newcfg = array( ) | |
foreach( $defcfg as $key=> $def) | $cfgfile = SM_PATH . 'config/config.php' |
$colapse | |
if (sqgetGlobalVar( 'switch', $switch, SQ_GET)) | |
$act_grp = 'Titles' | |
foreach( $newcfg as $k=> $v) if( $colapse['Group7']=='off') if( $colapse['Group8']=='on') | else |
if ($colapse[ 'Group8']=='off') | |
change_to_rel_path | ( | $old_path | ) |
Change paths containing SM_PATH to admin-friendly paths relative to the config dir, i.e.: '' --> <empty string>=""> SM_PATH . 'images/logo.gif' --> ../images/logo.gif '/absolute/path/logo.gif' --> /absolute/path/logo.gif 'http://whatever/' --> http://whatever Note removal of quotes in returned value
string | $old_path | path that has to be converted |
Definition at line 156 of file options.php.
change_to_sm_path | ( | $old_path | ) |
Change relative path (relative to config dir) to internal SM_PATH, i.e.: empty_string --> '' ../images/logo.gif --> SM_PATH . 'images/logo.gif' images/logo.gif --> SM_PATH . 'config/images/logo.gif' /absolute/path/logo.gif --> '/absolute/path/logo.gif' C:/absolute/win/path --> 'C:/absolute/win/path' http://whatever/ --> 'http://whatever'
string | $old_path | path that has to be converted |
Definition at line 177 of file options.php.
parseConfig | ( | $cfg_file | ) |
parse the config file
string | $cfg_file | @access private |
Definition at line 25 of file options.php.
$act_grp = 'Titles' |
Definition at line 282 of file options.php.
Definition at line 244 of file options.php.
$colapse |
Definition at line 248 of file options.php.
global $data_dir |
Definition at line 225 of file options.php.
Referenced by save_option().
$newcfg = array( ) |
Definition at line 238 of file options.php.
Referenced by parseConfig().
global $username |
Definition at line 225 of file options.php.
Referenced by save_option().
if ($fp=@fopen($cfgfile, 'w')) else |
Definition at line 524 of file options.php.
if( $colapse['Group8']=='off') |
Definition at line 531 of file options.php.
if(sqgetGlobalVar('switch', $switch, SQ_GET)) |
Definition at line 261 of file options.php.
const PAGE_NAME 'administrator_options' |
This is the administrator_options page
Definition at line 17 of file options.php.
Referenced by adm_check_user(), compose_Header(), Darkness_HeaderPlugin(), displayPageHeader(), is_logged_in(), and set_up_language().
const SM_PATH '../../' |