Skip to content

Commit

Permalink
Small change in default email handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kozi committed Feb 20, 2015
1 parent b58663b commit 930119e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions contao/dca/tl_form_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
if ($objFormField->type == 'recipientmenu') {


// Name und die Option Pflichtfeld sind nicht veränderbar
// Name ist nicht veränderbar
$objFormField->name = 'recipientmenu';
$objFormField->mandatory = '1';
$objFormField->save();

$GLOBALS['TL_DCA']['tl_form_field']['fields']['name']['eval']['readonly'] = true;
Expand Down
3 changes: 1 addition & 2 deletions contao/languages/de/tl_form_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
$GLOBALS['TL_LANG']['tl_form_field']['recipient_legend'] = 'Empfänger Menü';

$GLOBALS['TL_LANG']['tl_form_field']['recipient_defaultEmail'] = array('Standard-Empfänger', 'Wenn kein Empfänger gewählt wurde wird das Formular an diese Adresse gesendet.');
$GLOBALS['TL_LANG']['tl_form_field']['recipient_sendCopy'] = array('Kopie an Standard-Empfänger senden', 'Soll eine Kopie an den Standard-Empfänger geschickt werden?');
$GLOBALS['TL_LANG']['tl_form_field']['recipient_sendCopy'] = array('Kopie an Standard-Empfänger senden', 'Soll immer eine Kopie an den Standard-Empfänger geschickt werden?');

$GLOBALS['TL_LANG']['tl_form_field']['recipientmenu']['options_legend'] = 'Empfängerliste';
$GLOBALS['TL_LANG']['tl_form_field']['recipientmenu']['options'] = array('Empfängerliste', 'Emailadressen die zur Auswahl stehen sollen.');
$GLOBALS['TL_LANG']['tl_form_field']['recipientmenu']['ow_value'] = 'Email';


0 comments on commit 930119e

Please sign in to comment.