Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

SC_alt_toplogo Class Reference

List of all members.

Public Member Functions

 main ()
 Create content with the logo.
 printContent ()
 Outputting the accumulated content to screen.

Public Attributes

 $content

Member Function Documentation

SC_alt_toplogo::main  ) 
 

Create content with the logo.

Returns:
void

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    }

SC_alt_toplogo::printContent  ) 
 

Outputting the accumulated content to screen.

Returns:
void

Definition at line 105 of file alt_toplogo.php.

00105                            {
00106       echo $this->content;
00107    }


Member Data Documentation

SC_alt_toplogo::$content
 

Definition at line 67 of file alt_toplogo.php.


The documentation for this class was generated from the following file:
Generated on Sun Oct 3 01:06:28 2004 for TYPO3core 3.7.0 dev by  doxygen 1.3.8-20040913