Fix some typos in ChangeLog and other files (non-functional)
[Packages/TYPO3.CMS.git] / typo3 / logomenu.php
index 203ab86..8313438 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2006-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -27,6 +27,8 @@
 /**
  * Logo menu
  *
+ * $Id$
+ *
  * @author     Kasper Skaarhoj <kasperYYYY@typo3.com>
  */
 /**
@@ -50,9 +52,9 @@ require_once(PATH_t3lib.'class.t3lib_topmenubase.php');
  * @subpackage core
  */
 class SC_logomenu extends t3lib_topmenubase {
-       
+
        var $id = '_logomenu';
-       
+
        /**
         * Main function
         *
@@ -63,7 +65,7 @@ class SC_logomenu extends t3lib_topmenubase {
                        case 'menuitem':
                                echo '
                                <img src="gfx/x_t3logo.png" width="61" height="16" hspace="3" alt="" />';
-                               
+
                                $menuItems = array(
                                        array(
                                                'title' => 'About TYPO3',
@@ -140,23 +142,23 @@ class SC_logomenu extends t3lib_topmenubase {
                                                'onclick' => "top.document.location='logout.php';"
                                        ),
                                );
-                               
+
                                echo $this->menuLayer($menuItems);
                        break;
                        case 'recent':
 
                                $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
-                                                       'sys_log.*, MAX(sys_log.tstamp) AS tstamp_MAX', 
-                                                       'sys_log,pages', 
+                                                       'sys_log.*, MAX(sys_log.tstamp) AS tstamp_MAX',
+                                                       'sys_log,pages',
                                                        'pages.uid=sys_log.event_pid AND sys_log.userid='.intval($GLOBALS['BE_USER']->user['uid']).
                                                                ' AND sys_log.event_pid>0 AND sys_log.type=1 AND sys_log.action=2 AND sys_log.error=0',
                                                        'tablename,recuid',
                                                        'tstamp_MAX DESC',
                                                        20
                                                );
-                                       
+
                                $items = array();
-                               
+
                                while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))       {
                                        $elRow = t3lib_BEfunc::getRecord($row['tablename'],$row['recuid']);
                                        if (is_array($elRow))   {
@@ -174,7 +176,7 @@ class SC_logomenu extends t3lib_topmenubase {
        }
 }
 
-// Include extension?
+
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/logomenu.php'])     {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/logomenu.php']);
 }
@@ -184,4 +186,5 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/logom
 // Make instance:
 $SOBE = t3lib_div::makeInstance('SC_logomenu');
 $SOBE->main();
+
 ?>
\ No newline at end of file