23 public $tableParams =
'border="0" cellspacing="0" cellpadding="0"';
42 if (!is_null(
$cObj)) {
54 public function render($conf = array()) {
55 $tableParams = isset($conf[
'tableParams.']) ? $this->cObj->stdWrap($conf[
'tableParams'], $conf[
'tableParams.']) : $conf[
'tableParams'];
59 $offset = isset($conf[
'offset.']) ? $this->cObj->stdWrap($conf[
'offset'], $conf[
'offset.']) : $conf[
'offset'];
60 $content = $this->
start($this->cObj->cObjGet($conf), $offset);
61 if (isset($conf[
'stdWrap.'])) {
62 $content = $this->cObj->stdWrap($content, $conf[
'stdWrap.']);
75 public function start($content, $offset) {
77 if ($valPairs[0] || $valPairs[1] || $valPairs[2] || $valPairs[3] || $valPairs[4] || $valPairs[5]) {
80 if ($valPairs[4] && $this->default_tableParams == $this->tableParams) {
81 $this->tableParams .=
' width="1"';
84 $this->begin = LF .
'<table ' . $this->tableParams .
'>';
85 $this->end =
'</table>';
94 $widthImg =
'<img src="' .
$GLOBALS[
'TSFE']->absRefPrefix .
'clear.gif" width="' . $valPairs[4] .
'" height="1" alt="" title="" />';
102 $heightImg =
'<img src="' .
$GLOBALS[
'TSFE']->absRefPrefix .
'clear.gif" width="1" height="' . $valPairs[5] .
'" alt="" title="" />';
108 $rows[1] .=
'<td><img src="' .
$GLOBALS[
'TSFE']->absRefPrefix .
'clear.gif" width="' . ($valPairs[0] ?: 1) .
'" height="' . $valPairs[1] .
'" alt="" title="" /></td>';
110 $rows[1] .=
'<td></td>';
113 $rows[1] .=
'<td></td>';
120 $rows[2] .= $valPairs[1] ?
'<td></td>' :
'<td><img src="' .
$GLOBALS[
'TSFE']->absRefPrefix .
'clear.gif" width="' . $valPairs[0] .
'" height="1" alt="" title="" /></td>';
122 $rows[2] .=
'<td' . $this->tdParams .
'>' . $content .
'</td>';
124 $rows[2] .= $valPairs[3] ?
'<td>' . $heightImg .
'</td>' :
'<td><img src="' .
$GLOBALS[
'TSFE']->absRefPrefix .
'clear.gif" width="' . $valPairs[2] .
'" height="' . ($valPairs[5] ?: 1) .
'" alt="" title="" /></td>';
131 $rows[3] .=
'<td></td>';
134 $rows[3] .=
'<td>' . $widthImg .
'</td>';
136 $rows[3] .=
'<td><img src="' .
$GLOBALS[
'TSFE']->absRefPrefix .
'clear.gif" width="' . ($valPairs[2] ?: ($valPairs[4] ?: 1)) .
'" height="' . $valPairs[3] .
'" alt="" title="" /></td>';
139 return $this->begin . implode(
'', $rows) . $this->end;
__construct(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $cObj=NULL)
static intExplode($delimiter, $string, $removeEmptyValues=FALSE, $limit=0)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]