Public Member Functions | |
main () | |
Create content with the logo. | |
printContent () | |
Outputting the accumulated content to screen. | |
Public Attributes | |
$content |
|
Create content with the logo.
Definition at line 74 of file alt_toplogo.php. References $TBE_STYLES, $TBE_TEMPLATE, and PATH_site. 00074 { 00075 global $TBE_TEMPLATE,$TBE_STYLES; 00076 00077 // Start page 00078 $TBE_TEMPLATE->docType = 'xhtml_trans'; 00079 00080 $this->content.=$TBE_TEMPLATE->startPage('Logo frame'); 00081 00082 // Set logo: 00083 if ($TBE_STYLES['logo']) { 00084 if (substr($TBE_STYLES['logo'],0,3)=='../') { 00085 $imgInfo = @getimagesize(PATH_site.substr($TBE_STYLES['logo'],3)); 00086 } 00087 $this->content.='<a href="http://www.typo3.com/" target="_blank" onclick="'.$TBE_TEMPLATE->thisBlur().'">'. 00088 '<img src="'.$TBE_STYLES['logo'].'" '.$imgInfo[3].' title="TYPO3 Content Management Framework" alt="" />'. 00089 '</a>'; 00090 } else { 00091 $this->content.='<a href="http://www.typo3.com/" target="_blank" onclick="'.$TBE_TEMPLATE->thisBlur().'">'. 00092 '<img'.t3lib_iconWorks::skinImg('','gfx/alt_backend_logo.gif','width="117" height="32"').' title="TYPO3 Content Management Framework" alt="" />'. 00093 '</a>'; 00094 } 00095 00096 // End page: 00097 $this->content.=$TBE_TEMPLATE->endPage(); 00098 }
|
|
Outputting the accumulated content to screen.
Definition at line 105 of file alt_toplogo.php. 00105 { 00106 echo $this->content; 00107 }
|
|
Definition at line 67 of file alt_toplogo.php. |