renaming and cleanup
Dieser Commit ist enthalten in:
Ursprung
79a1035feb
Commit
cb811303c7
6 geänderte Dateien mit 11 neuen und 1308 gelöschten Zeilen
60
php/cl_contact_form_input.php
Normale Datei
60
php/cl_contact_form_input.php
Normale Datei
|
|
@ -0,0 +1,60 @@
|
|||
?><?php
|
||||
/**
|
||||
* Module cl-contact_form input
|
||||
*
|
||||
* @package module/cl_contact_form
|
||||
* @author Ortwin Pinke <info@php-backoffice.de>
|
||||
*
|
||||
* based on w3concepts.form.v1 from Andreas Kummer (2004-08-20)
|
||||
* modified and adapted to Contenido 4.8 under PHP 5.x by Murat Purc (2013-08-24)
|
||||
*/
|
||||
|
||||
cInclude('frontend', 'includes/class.input.helper.php');
|
||||
$uiConfigTable = new UI_Config_Table();
|
||||
|
||||
$htmlField = new cHTMLSelectElement("CMS_VAR[10]", 200);
|
||||
$htmlField->autoFill([
|
||||
'null' => mi18n("Bitte wählen"),
|
||||
'mail' => mi18n("Mail (PHP)"),
|
||||
'sendmail' => mi18n("Sendmail"),
|
||||
'smtp' => mi18n("SMTP"),
|
||||
'smtp_auth' => mi18n("SMTP mit oAuth")
|
||||
]);
|
||||
$htmlField->setDefault("CMS_VALUE[10]");
|
||||
$uiConfigTable->setRowCell(0, mi18n("Versand mit:"));
|
||||
$uiConfigTable->setRowCell(1, $htmlField->render());
|
||||
$uiConfigTable->nextRow();
|
||||
|
||||
$htmlField = new cHTMLTextbox("CMS_VAR[0]", "CMS_VALUE[0]");
|
||||
$htmlField->setWidth(30);
|
||||
$uiConfigTable->setRowCell(0, mi18n("Zieladresse (alias@mydomain.com):"));
|
||||
$uiConfigTable->setRowCell(1, $htmlField->render());
|
||||
$uiConfigTable->nextRow();
|
||||
|
||||
$htmlField = new cHTMLTextbox("CMS_VAR[1]", "CMS_VALUE[1]");
|
||||
$htmlField->setWidth(30);
|
||||
$uiConfigTable->setRowCell(0, mi18n("Betreff:"));
|
||||
$uiConfigTable->setRowCell(1, $htmlField->render());
|
||||
$uiConfigTable->nextRow();
|
||||
|
||||
$htmlField = new cHTMLTextbox("CMS_VAR[2]", "CMS_VALUE[2]");
|
||||
$htmlField->setWidth(30);
|
||||
$uiConfigTable->setRowCell(0, mi18n("Antwortadresse (alias@mydomain.com):"));
|
||||
$uiConfigTable->setRowCell(1, $htmlField->render());
|
||||
$uiConfigTable->nextRow();
|
||||
|
||||
$htmlField = new cHTMLTextbox("CMS_VAR[3]", "CMS_VALUE[3]");
|
||||
$htmlField->setWidth(30);
|
||||
$uiConfigTable->setRowCell(0, mi18n("Emailname (z.B. Vorname Name):"));
|
||||
$uiConfigTable->setRowCell(1, $htmlField->render());
|
||||
$uiConfigTable->nextRow();
|
||||
|
||||
$htmlField = new cHTMLTextbox("CMS_VAR[4]", "CMS_VALUE[4]");
|
||||
$htmlField->setWidth(8);
|
||||
$uiConfigTable->setRowCell(0, mi18n("Hintergrundfarbe bei Fehlern (z.B. red):"));
|
||||
$uiConfigTable->setRowCell(1, $htmlField->render());
|
||||
$uiConfigTable->nextRow();
|
||||
|
||||
$uiConfigTable->render(true);
|
||||
|
||||
?><?php
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren