&$GLOBALS['TL_LANG']['tl_news']['nc_sent'],
'exclude' => true,
'inputType' => 'checkbox',
'eval' => array('doNotCopy'=>true),
'sql' => "char(1) NOT NULL default ''"
);
$GLOBALS['TL_DCA']['tl_news']['fields']['nc_testmail'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_news']['nc_testmail'],
'exclude' => true,
'inputType' => 'checkbox',
'eval' => array('doNotSaveEmpty'=>true),
'load_callback' => array
(
array('tl_news_eSM_nc_news', 'loadTestmail'),
),
'save_callback' => array
(
array('tl_news_eSM_nc_news', 'sendTestmail'),
),
);
/**
* Provide miscellaneous methods that are used by the data configuration array.
*
* @author Benjamin Roth
','
','
','
'),' ',$News->teaser)),128) ); if (($objJumpTo = $Archive->getRelated('jumpTo')) !== null) { $objJumpTo->loadDetails(); $arrRow['url'] = ($objJumpTo->rootUseSSL ? 'https://' : 'http://') . $objJumpTo->domain . TL_PATH . '/' . \Controller::generateFrontendUrl($objJumpTo->row(),((\Config::get('useAutoItem') && !\Config::get('disableAlias')) ? '/' : '/items/') . ((!\Config::get('disableAlias') && $News->alias != '') ? $News->alias : $News->id)).'?ltoken=%%_TOKEN_%%'; } $arrNewsPlain[] = date('d.m.Y',$News->date).' - '.$News->headline; $arrNewsHtml[] = '
'.$arrRow['teaser'].'
'. ($arrRow['url'] ? '' : '') .'