cl_contact_form/php/cl_contactform_input.php

41 Zeilen
Kein EOL
1,4 KiB
PHP

?><?php
/**
* Module cl-contactform input
*
* @package module/cl_contactform
* @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');
$oCfgTable = new UI_Config_Table();
$oField = new cHTMLTextbox("CMS_VAR[0]", "CMS_VALUE[0]");
$oField->setWidth(30);
$oCfgTable->setCell(0, 0, mi18n("Zieladresse (alias@mydomain.com):"));
$oCfgTable->setCell(0, 1, $oField->render());
$oField = new cHTMLTextbox("CMS_VAR[1]", "CMS_VALUE[1]");
$oField->setWidth(30);
$oCfgTable->setCell(1, 0, mi18n("Betreff:"));
$oCfgTable->setCell(1, 1, $oField->render());
$oField = new cHTMLTextbox("CMS_VAR[2]", "CMS_VALUE[2]");
$oField->setWidth(30);
$oCfgTable->setCell(2, 0, mi18n("Antwortadresse (alias@mydomain.com):"));
$oCfgTable->setCell(2, 1, $oField->render());
$oField = new cHTMLTextbox("CMS_VAR[3]", "CMS_VALUE[3]");
$oField->setWidth(30);
$oCfgTable->setCell(3, 0, mi18n("Emailname (z.B. Vorname Name):"));
$oCfgTable->setCell(3, 1, $oField->render());
$oField = new cHTMLTextbox("CMS_VAR[4]", "CMS_VALUE[4]");
$oField->setWidth(8);
$oCfgTable->setCell(4, 0, mi18n("Hintergrundfarbe bei Fehlern (z.B. red):"));
$oCfgTable->setCell(4, 1, $oField->render());
$oCfgTable->render(true);
?><?php