<?php require("../../setup/global_options.php"); if(file_exists("../../setup/local_options.php")) include("../../setup/local_options.php"); if((IsSet($GLOBALS["idiom"]) && IsSet($GLOBALS["global_options"]["idioms"][$GLOBALS["idiom"]]))) $current_locale=$GLOBALS["idiom"]; else $current_locale=$GLOBALS["global_options"]["locale"]; $locale=array(); if(file_exists("../../locale/ezmlm/start-".$current_locale.".php")) include("../../locale/ezmlm/start-".$current_locale.".php"); $error=""; require("../../library/common/tableclass.php"); require("../../library/links.php"); $editezmlmlistclasslocale=array(); require("../../library/forms.php"); require("../../library/ezmlm/editezmlmlistclass.php"); $edit_ezmlm_list_object=new edit_ezmlm_list_class; $edit_ezmlm_list_object->tables_color=$GLOBALS["global_options"]["tables_color"]; $edit_ezmlm_list_object->warning_color=$GLOBALS["global_options"]["warning_color"]; $edit_ezmlm_list_object->oddrowsbackgroundcolor=$GLOBALS["global_options"]["list_odd_rows_color"]; $edit_ezmlm_list_object->evenrowsbackgroundcolor=$GLOBALS["global_options"]["list_even_rows_color"]; $edit_ezmlm_list_object->highlightrowcolor=$GLOBALS["global_options"]["list_highlight_rows_color"]; $edit_ezmlm_list_object->border=$GLOBALS["global_options"]["list_table_border"]; $edit_ezmlm_list_object->verify_field_mark="<IMG SRC=\"..//images/cross.gif\" WIDTH=22 HEIGHT=17 ALIGN=\""."top"."\" ALT=\""."[".$GLOBALS["locale"]["string"]["Verify"]."]"."\">"; $edit_ezmlm_list_object->ezmlm_user=$GLOBALS["global_options"]["ezmlm_user"]; $edit_ezmlm_list_object->ezmlm_user_home=$GLOBALS["global_options"]["ezmlm_user_home"]; $edit_ezmlm_list_object->ezmlm_hosts=$GLOBALS["global_options"]["ezmlm_hosts"]; $edit_ezmlm_list_object->ezmlm_path=$GLOBALS["global_options"]["ezmlm_path"]; $edit_ezmlm_list_object->values=array("idiom"=>$current_locale); $edit_ezmlm_list_object->preferred_idiom=$current_locale; if(!($edit_ezmlm_list_object->load())) $error=$edit_ezmlm_list_object->error; ?><html> <head> <title><?php echo HtmlEntities($GLOBALS["locale"]["string"]["Mailing-list-menu"]); ?></title> <body bgcolor="<?php echo $GLOBALS["global_options"]["background_color"]; ?>"> <?php echo (strcmp($GLOBALS["global_options"]["logo_image"],"") ? "<table width=\"100%\">\n<tr>\n<td valign=\"middle\" width=\"1%\"><img align=\"middle\" src=\"".(strcmp($GLOBALS["global_options"]["logo_image"],"") ? "../images/".$GLOBALS["global_options"]["logo_image"] : "")."\"></td>\n<td valign=\"middle\">" : ""); ?><h1><center><?php echo HtmlEntities($GLOBALS["locale"]["string"]["Mailing-list-menu"]); ?></center></h1><?php echo (strcmp($GLOBALS["global_options"]["logo_image"],"") ? "\n</tr>\n</table>" : ""); ?> <hr> <?php flush(); if((!strcmp($error,""))) { echo $edit_ezmlm_list_object->outputlist(); } flush(); if((strcmp($error,""))) { echo "Error: "; echo $error; } ?> <hr /> <address><?php echo HtmlEntities($GLOBALS["locale"]["string"]["For-more-information-contact"])."<a href=\"mailto:".$GLOBALS["global_options"]["contact_address"]."\">".$GLOBALS["global_options"]["contact_address"]."</a>"; ?></address> </body> </html>
|