PDF rausgenommen

This commit is contained in:
aschwarz
2023-01-23 11:03:31 +01:00
parent 82d562a322
commit a6523903eb
28078 changed files with 4247552 additions and 2 deletions

View File

@ -0,0 +1,45 @@
<?php
/* ----------------------------------------------------------------------
$Id: deu.php,v 1.1 2007/06/12 17:11:55 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team.
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
define('PLUGIN_EVENT_MAIL_NAME', 'Sende E-Mails');
define('PLUGIN_EVENT_MAIL_DESC', 'Verschicke E-Mails');
define('SEND_EXTRA_ORDER_EMAILS_TO_TITLE', 'Zus&auml;tzliche Bestellbest&auml;tigung per Mail senden');
define('SEND_EXTRA_ORDER_EMAILS_TO_DESC', 'Sendet zus&auml;tzliche Bestellbenachrichtigungen an folgende E-Mail Adresse, in diesem Format: Name 1 &lt;email@adresse1&gt;');
define('EMAIL_TRANSPORT_TITLE', 'E-Mail Versandmethode');
define('EMAIL_TRANSPORT_DESC', 'Definiert, ob dieser Server eine lokale Verbindung zu sendmail oder eine SMTP-Verbindung &uuml;ber TCP/IP benutzt. Bei Servern, die unter Windows oder MacOS laufen sollte SMTP eingetragen werden.');
define('EMAIL_LINEFEED_TITLE', 'E-Mail Linefeeds');
define('EMAIL_LINEFEED_DESC', 'Defines the character sequence used to separate mail headers.');
define('EMAIL_USE_HTML_TITLE', 'Benutze MIME HTML beim Versand von E-Mails');
define('EMAIL_USE_HTML_DESC', 'Sende E-Mails im HTML-Format');
define('ENTRY_EMAIL_ADDRESS_CHECK_TITLE', 'Pr&uuml;fe E-Mail Adressen &uuml;ber DNS');
define('ENTRY_EMAIL_ADDRESS_CHECK_DESC', 'E-Mail Adressen werden durch einen DNS-Server &uuml;berpr&uuml;ft.');
define('OOS_SMTPAUTH_TITLE', 'SMTP Anmeldung');
define('OOS_SMTPAUTH_DESC', 'Ist eine Anmeldung notwendig?');
define('OOS_SMTPUSER_TITLE', 'SMTP Benutzer');
define('OOS_SMTPUSER_DESC', 'SMTP Benutzer');
define('OOS_SMTPPASS_TITLE', 'SMTP Passwort');
define('OOS_SMTPPASS_DESC', 'SMTP Passwort');
define('OOS_SMTPHOST_TITLE', 'Server');
define('OOS_SMTPHOST_DESC', '[hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com")');
define('OOS_SENDMAIL_TITLE', 'Pfade zu sendmail');
define('OOS_SENDMAIL_DESC', '/var/qmail/bin/sendmail');

View File

@ -0,0 +1,45 @@
<?php
/* ----------------------------------------------------------------------
$Id: eng.php,v 1.1 2007/06/12 17:11:55 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team.
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
define('PLUGIN_EVENT_MAIL_NAME', 'Send E-Mails');
define('PLUGIN_EVENT_MAIL_DESC', 'Send out e-mails');
define('SEND_EXTRA_ORDER_EMAILS_TO_TITLE', 'Send Extra Order Emails To');
define('SEND_EXTRA_ORDER_EMAILS_TO_DESC', 'Send extra order emails to the following email addresses, in this format: Name 1 &lt;email@address1&gt;');
define('EMAIL_TRANSPORT_TITLE', 'E-Mail Transport Method.');
define('EMAIL_TRANSPORT_DESC', 'Defines if this server uses a local connection to sendmail or uses an SMTP connection via TCP/IP. Servers running on Windows and MacOS should change this setting to SMTP.');
define('EMAIL_LINEFEED_TITLE', 'E-Mail Linefeeds');
define('EMAIL_LINEFEED_DESC', 'Defines the character sequence used to separate mail headers.');
define('EMAIL_USE_HTML_TITLE', 'Use MIME HTML When Sending Emails');
define('EMAIL_USE_HTML_DESC', 'Send e-mails in HTML format');
define('ENTRY_EMAIL_ADDRESS_CHECK_TITLE', 'Verify E-Mail Addresses Through DNS');
define('ENTRY_EMAIL_ADDRESS_CHECK_DESC', 'Verify e-mail address through a DNS server');
define('OOS_SMTPAUTH_TITLE', 'Sets SMTP authentication.');
define('OOS_SMTPAUTH_DESC', ' Utilizes the Username and Password variables.');
define('OOS_SMTPUSER_TITLE', 'SMTP username');
define('OOS_SMTPUSER_DESC', 'SMTP username');
define('OOS_SMTPPASS_TITLE', 'SMTP password');
define('OOS_SMTPPASS_DESC', 'SMTP password');
define('OOS_SMTPHOST_TITLE', 'Sets the SMTP hosts.');
define('OOS_SMTPHOST_DESC', 'All hosts must be separated by a semicolon. You can also specify a different port for each host by using this format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com"). Hosts will be tried in order.');
define('OOS_SENDMAIL_TITLE', 'Sets the path of the sendmail program');
define('OOS_SENDMAIL_DESC', '/var/qmail/bin/sendmail');

View File

@ -0,0 +1,100 @@
<?php
/* ----------------------------------------------------------------------
$Id: oos_event_mail.php,v 1.1 2007/06/12 17:11:55 r23 Exp $
MyOOS [Shopsystem]
https://www.oos-shop.de
Copyright (c) 2003 - 2019 by the MyOOS Development Team.
----------------------------------------------------------------------
Based on:
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
----------------------------------------------------------------------
Released under the GNU General Public License
---------------------------------------------------------------------- */
/** ensure this file is being included by a parent file */
defined( 'OOS_VALID_MOD' ) OR die( 'Direct Access to this location is not allowed.' );
class oos_event_mail {
var $name;
var $description;
var $uninstallable;
var $depends;
var $preceeds = 'session';
var $author;
var $version;
var $requirements;
/**
* class constructor
*/
public function __construct() {
$this->name = PLUGIN_EVENT_MAIL_NAME;
$this->description = PLUGIN_EVENT_MAIL_DESC;
$this->uninstallable = TRUE;
$this->preceeds = 'session';
$this->author = 'MyOOS Development Team';
$this->version = '1.0';
$this->requirements = array(
'oos' => '1.7.0',
'smarty' => '2.6.9',
'adodb' => '4.62',
'php' => '5.9.0'
);
}
function create_plugin_instance() {
return TRUE;
}
function install() {
// Get database information
$dbconn =& oosDBGetConn();
$oostable =& oosDBGetTables();
$today = date("Y-m-d H:i:s");
$configurationtable = $oostable['configuration'];
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SEND_EXTRA_ORDER_EMAILS_TO', '', 6, 1, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, NULL)");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_TRANSPORT', 'mail', 6, 3, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'mail\', \'sendmail\', \'smtp\'),')");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_LINEFEED', 'LF', 6, 4, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'LF\', \'CRLF\'),')");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_USE_HTML', 'false', 6, 5, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_EMAIL_ADDRESS_CHECK', 'false', 6, 6, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPAUTH', 'true', 6, 7, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, 'oos_cfg_select_option(array(\'true\', \'false\'),')");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPUSER', '', 6, 8, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, NULL)");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPPASS', '', 6, 9, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, NULL)");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SMTPHOST', '', 6, 10, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, NULL)");
$dbconn->Execute("INSERT INTO $configurationtable (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('OOS_SENDMAIL', '', 6, 11, NULL, " . $dbconn->DBTimeStamp($today) . ", NULL, NULL)");
return TRUE;
}
function remove() {
// Get database information
$dbconn =& oosDBGetConn();
$oostable =& oosDBGetTables();
$configurationtable = $oostable['configuration'];
$dbconn->Execute("DELETE FROM $configurationtable WHERE configuration_key in ('" . implode("', '", $this->config_item()) . "')");
return TRUE;
}
function config_item() {
return array('SEND_EXTRA_ORDER_EMAILS_TO', 'EMAIL_TRANSPORT', 'EMAIL_LINEFEED', 'EMAIL_USE_HTML', 'ENTRY_EMAIL_ADDRESS_CHECK', 'OOS_SMTPAUTH', 'OOS_SMTPUSER', 'OOS_SMTPPASS', 'OOS_SMTPHOST', 'OOS_SENDMAIL');
}
}