diff --git a/e107_admin/db.php b/e107_admin/db.php index 43835cde8..c62046c32 100644 --- a/e107_admin/db.php +++ b/e107_admin/db.php @@ -9,8 +9,8 @@ * Administration - Database Utilities * * $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $ - * $Revision: 1.36 $ - * $Date: 2009-09-28 07:17:51 $ + * $Revision: 1.37 $ + * $Date: 2009-10-26 01:04:05 $ * $Author: e107coders $ * */ @@ -627,7 +627,16 @@ class system_tools $error_messages = array(0 => DBLAN_31, 1 => DBLAN_32, 2 => DBLAN_33, 3 => DBLAN_34); $error_image = array("integrity_pass.png", "integrity_fail.png", "warning.png", "blank.png"); - global $sql, $e107, $emessage, $frm; + + + global $e107; + $sql = e107::getDb(); + $tp = e107::getParser(); + $frm = e107::getForm(); + $emessage = e107::getMessage(); + + + require_once (e_HANDLER."plugin_class.php"); $ep = new e107plugin(); @@ -670,6 +679,8 @@ class system_tools $previous = ''; while($row = $sql->db_Fetch()) { + e107::loadLanFiles($row['plugin_path'],'admin'); + $text .= "
".LAN_MAILOUT_110." |
- - + | ".$frm->admin_button(testemail, LAN_MAILOUT_112)." + | |||||||||||||||||||||||||||||||||||||||
".LAN_MAILOUT_115." ".LAN_MAILOUT_116." |
- + | ".LAN_MAILOUT_115." |
+
"; + $mailers = array('php','smtp','sendmail'); + foreach($mailers as $opt) + { + $sel = ($pref['mailer'] == $opt) ? "selected='selected'" : ""; + $text .= "\n"; + } + $text .=" ".LAN_MAILOUT_116." "; // SMTP. --------------> $smtp_opts = explode(',',varset($pref['smtp_options'],'')); $smtpdisp = ($pref['mailer'] != "smtp") ? "display:none;" : ""; - $text .= "
-
".LAN_MAILOUT_22." ";
- $ns -> tablerender("".LAN_MAILOUT_21." ", $text);
+ $ns -> tablerender(ADLAN_136." :: ".LAN_MAILOUT_97, $text);
require_once(e_ADMIN."footer.php");
exit;
}
@@ -1283,7 +1305,7 @@ function showList($type='massmail')
}
$text .= "".LAN_MAILOUT_21." ", $text);
+ $ns -> tablerender(ADLAN_136." :: ".LAN_MAILOUT_97, $text);
}
@@ -1335,11 +1357,11 @@ function mailout_adminmenu()
$var['mailouts']['perm'] = "W";
if(getperms("0")){
- $var['prefs']['text'] = LAN_OPTIONS;
+ $var['prefs']['text'] = LAN_PREFS;
$var['prefs']['link'] = e_SELF."?prefs";
$var['prefs']['perm'] = "0";
}
- show_admin_menu(LAN_MAILOUT_15, $action, $var);
+ show_admin_menu(ADLAN_136, $action, $var);
}
|