[BUGFIX] Pootle: Multi-line labels are not rendered properly
[Packages/TYPO3.CMS.git] / typo3 / show_rechis.php
index 3c87f45..e3fedb0 100644 (file)
 /**
  * Shows information about a database or file item
  *
- * $Id$
  * Revised for TYPO3 3.6 November/2003 by Kasper Skårhøj
  * XHTML Compliant
  *
  * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-/**
- * [CLASS/FUNCTION INDEX of SCRIPT]
- *
- *
- *
- *   76: class SC_show_rechis
- *   87:     function init()
- *  105:     function main()
- *  131:     function printContent()
- *
- * TOTAL FUNCTIONS: 3
- * (This index is automatically created/updated by the extension "extdeveval")
- *
- */
 
 
 $BACK_PATH='';
@@ -89,7 +74,6 @@ class SC_show_rechis {
         * @return      void
         */
        function init() {
-               global $LANG;
 
                        // Create internal template object:
                $this->doc = t3lib_div::makeInstance('template');
@@ -97,7 +81,7 @@ class SC_show_rechis {
                $this->doc->setModuleTemplate('templates/show_rechis.html');
 
                        // Start the page header:
-               $this->content.=$this->doc->header($LANG->getLL('title'));
+               $this->content.=$this->doc->header($GLOBALS['LANG']->getLL('title'));
                $this->content.=$this->doc->spacer(5);
        }
 
@@ -107,7 +91,6 @@ class SC_show_rechis {
         * @return      void
         */
        function main() {
-               global $LANG;
 
                        // Start history object
                $historyObj = t3lib_div::makeInstance('recordHistory');
@@ -121,7 +104,7 @@ class SC_show_rechis {
                $markers['CSH'] = $docHeaderButtons['csh'];
 
                        // Build the <body> for the module
-               $this->content = $this->doc->startPage($LANG->getLL('title'));
+               $this->content = $this->doc->startPage($GLOBALS['LANG']->getLL('title'));
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
        }
 
@@ -175,4 +158,4 @@ $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();
 
-?>
+?>
\ No newline at end of file