TYPO3 CMS  TYPO3_6-2
ClearGifContentObject.php
Go to the documentation of this file.
1 <?php
3 
23 
30  public function render($conf = array()) {
31  $width = isset($conf['width.']) ? $this->cObj->stdWrap($conf['width'], $conf['width.']) : $conf['width'];
32  if (!$width) {
33  $width = 1;
34  }
35  $height = isset($conf['height.']) ? $this->cObj->stdWrap($conf['height'], $conf['height.']) : $conf['height'];
36  if (!$height) {
37  $height = 1;
38  }
39  $wrap = isset($conf['wrap.']) ? $this->cObj->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
40  if (!$wrap) {
41  $wrap = '|<br />';
42  }
43  $theValue = $this->cObj->wrap('<img
44  src="' . $GLOBALS['TSFE']->absRefPrefix . 'clear.gif"
45  width="' . $width . '"
46  height="' . $height . '"' . $this->cObj->getBorderAttr(' border="0"') . '
47  alt="" />', $wrap);
48  if (isset($conf['stdWrap.'])) {
49  $theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);
50  }
51  return $theValue;
52  }
53 
54 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]