Updated Copyright notices
authorIngo Renner <ingo.renner@typo3.org>
Sun, 16 Mar 2008 19:16:51 +0000 (19:16 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sun, 16 Mar 2008 19:16:51 +0000 (19:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3439 709f56b5-9817-0410-a4d7-c38de5d9e867

230 files changed:
ChangeLog
LICENSE.txt
index.php
t3lib/class.t3lib_ajax.php
t3lib/class.t3lib_arraybrowser.php
t3lib/class.t3lib_beuserauth.php
t3lib/class.t3lib_browsetree.php
t3lib/class.t3lib_clipboard.php
t3lib/class.t3lib_cs.php
t3lib/class.t3lib_db.php
t3lib/class.t3lib_diff.php
t3lib/class.t3lib_exec.php
t3lib/class.t3lib_extfilefunc.php
t3lib/class.t3lib_extmgm.php
t3lib/class.t3lib_extobjbase.php
t3lib/class.t3lib_foldertree.php
t3lib/class.t3lib_formmail.php
t3lib/class.t3lib_htmlmail.php
t3lib/class.t3lib_iconworks.php
t3lib/class.t3lib_install.php
t3lib/class.t3lib_loaddbgroup.php
t3lib/class.t3lib_loadmodules.php
t3lib/class.t3lib_matchcondition.php
t3lib/class.t3lib_parsehtml.php
t3lib/class.t3lib_parsehtml_proc.php
t3lib/class.t3lib_positionmap.php
t3lib/class.t3lib_readmail.php
t3lib/class.t3lib_recordlist.php
t3lib/class.t3lib_refindex.php
t3lib/class.t3lib_rteapi.php
t3lib/class.t3lib_scbase.php
t3lib/class.t3lib_softrefproc.php
t3lib/class.t3lib_sqlengine.php
t3lib/class.t3lib_sqlparser.php
t3lib/class.t3lib_stdgraphic.php
t3lib/class.t3lib_superadmin.php
t3lib/class.t3lib_svbase.php
t3lib/class.t3lib_syntaxhl.php
t3lib/class.t3lib_timetrack.php
t3lib/class.t3lib_transferdata.php
t3lib/class.t3lib_treeview.php
t3lib/class.t3lib_tsfebeuserauth.php
t3lib/class.t3lib_tsparser.php
t3lib/class.t3lib_tsparser_ext.php
t3lib/class.t3lib_tsstyleconfig.php
t3lib/class.t3lib_userauthgroup.php
t3lib/class.t3lib_xml.php
t3lib/jsfunc.evalfield.js
t3lib/jsfunc.menu.js
t3lib/jsfunc.updateform.js
t3lib/jsfunc.validateform.js
t3lib/stddb/tables.php
t3lib/thumbs.php
typo3/alt_clickmenu.php
typo3/alt_db_navframe.php
typo3/alt_doc.php
typo3/alt_doc_nodoc.php
typo3/alt_file_navframe.php
typo3/alt_intro.php
typo3/alt_main.php
typo3/alt_menu.php
typo3/alt_menu_sel.php
typo3/alt_mod_frameset.php
typo3/alt_palette.php
typo3/alt_shortcut.php
typo3/alt_toplogo.php
typo3/alt_topmenu_dummy.php
typo3/browse_links.php
typo3/browser.php
typo3/class.alt_menu_functions.inc
typo3/class.browse_links.php
typo3/class.db_list.inc
typo3/class.db_list_extra.inc
typo3/class.file_list.inc
typo3/class.filelistfoldertree.php
typo3/class.show_rechis.inc
typo3/class.webpagetree.php
typo3/db_list.php
typo3/db_new.php
typo3/dummy.php
typo3/file_edit.php
typo3/file_list.php
typo3/file_newfolder.php
typo3/file_rename.php
typo3/file_upload.php
typo3/index_re.php
typo3/install/index.php
typo3/listframe_loader.php
typo3/login_frameset.php
typo3/logout.php
typo3/mod/help/about/index.php
typo3/mod/tools/em/class.em_index.php
typo3/mod/tools/em/class.em_terconnection.php
typo3/mod/tools/em/class.em_unzip.php
typo3/mod/tools/em/class.em_xmlhandler.php
typo3/mod/tools/em/index.php
typo3/mod/user/ws/index.php
typo3/mod/user/ws/publish.php
typo3/mod/user/ws/workspaceforms.php
typo3/mod/user/ws/wsol_preview.php
typo3/mod/web/func/index.php
typo3/mod/web/info/index.php
typo3/mod/web/perm/index.php
typo3/move_el.php
typo3/show_item.php
typo3/show_rechis.php
typo3/sysext/belog/class.tx_belog_webinfo.php
typo3/sysext/belog/mod/index.php
typo3/sysext/beuser/class.tx_beuser.php
typo3/sysext/beuser/class.tx_beuser_switchbackuser.php
typo3/sysext/beuser/mod/index.php
typo3/sysext/cms/layout/class.tx_cms_layout.php
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/layout/db_new_content_el.php
typo3/sysext/cms/tbl_cms.php
typo3/sysext/cms/tbl_tt_content.php
typo3/sysext/cms/tslib/class.tslib_content.php
typo3/sysext/cms/tslib/class.tslib_fetce.php
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php
typo3/sysext/cms/tslib/class.tslib_pagegen.php
typo3/sysext/cms/tslib/class.tslib_search.php
typo3/sysext/cms/tslib/media/scripts/example_callfunction.php
typo3/sysext/cms/tslib/media/scripts/example_itemArrayProcFunc.php
typo3/sysext/cms/tslib/media/scripts/example_keepRollover.js
typo3/sysext/cms/tslib/media/scripts/example_keepRollover.php
typo3/sysext/cms/tslib/media/scripts/example_languageMenu.php
typo3/sysext/cms/tslib/media/scripts/example_typolinkpop.php
typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc
typo3/sysext/cms/tslib/media/scripts/freesite_dummy_page_menu.php
typo3/sysext/cms/tslib/media/scripts/gmenu_foldout.php
typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php
typo3/sysext/cms/tslib/media/scripts/jsfunc.foldout.js
typo3/sysext/cms/tslib/media/scripts/jsfunc.layermenu.js
typo3/sysext/cms/tslib/media/scripts/makeMenu_datedirectory.inc
typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc
typo3/sysext/cms/tslib/media/scripts/postit.inc
typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php
typo3/sysext/cms/tslib/media/scripts/wapversionLib.inc
typo3/sysext/cms/tslib/media/scripts/xmlversionLib.inc
typo3/sysext/cms/tslib/pagegen.php
typo3/sysext/cms/tslib/publish.php
typo3/sysext/cms/tslib/showpic.php
typo3/sysext/cms/web_info/class.tx_cms_webinfo.php
typo3/sysext/cms/web_info/class.tx_cms_webinfo_lang.php
typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
typo3/sysext/dbal/class.ux_db_list_extra.php
typo3/sysext/dbal/class.ux_t3lib_db.php
typo3/sysext/dbal/class.ux_t3lib_sqlengine.php
typo3/sysext/dbal/class.ux_t3lib_sqlparser.php
typo3/sysext/dbal/mod1/index.php
typo3/sysext/extra_page_cm_options/class.tx_extrapagecmoptions.php
typo3/sysext/func_wizards/class.tx_funcwizards_webfunc.php
typo3/sysext/impexp/app/index.php
typo3/sysext/impexp/class.tx_impexp.php
typo3/sysext/impexp/class.tx_impexp_clickmenu.php
typo3/sysext/impexp/modfunc1/class.tx_impexp_modfunc1.php
typo3/sysext/indexed_search/class.crawler.php
typo3/sysext/indexed_search/class.external_parser.php
typo3/sysext/indexed_search/class.indexer.php
typo3/sysext/indexed_search/class.lexer.php
typo3/sysext/indexed_search/example/class.crawlerhook.php
typo3/sysext/indexed_search/example/class.pihook.php
typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php
typo3/sysext/info_pagetsconfig/class.tx_infopagetsconfig_webinfo.php
typo3/sysext/install/mod/class.tx_install.php
typo3/sysext/lowlevel/class.tx_lowlevel_cleaner.php
typo3/sysext/lowlevel/class.tx_lowlevel_cleaner_core.php
typo3/sysext/lowlevel/clmods/class.cleanflexform.php
typo3/sysext/lowlevel/clmods/class.deleted.php
typo3/sysext/lowlevel/clmods/class.double_files.php
typo3/sysext/lowlevel/clmods/class.lost_files.php
typo3/sysext/lowlevel/clmods/class.missing_files.php
typo3/sysext/lowlevel/clmods/class.missing_relations.php
typo3/sysext/lowlevel/clmods/class.orphan_records.php
typo3/sysext/lowlevel/clmods/class.rte_images.php
typo3/sysext/lowlevel/clmods/class.versions.php
typo3/sysext/lowlevel/config/index.php
typo3/sysext/rtehtmlarea/class.tx_rtehtmlareaapi.php
typo3/sysext/rtehtmlarea/ext_conf_template.txt
typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/about-editor.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/character-map.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/dynamiccss.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineCSS/inlinecss.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/insert-smiley.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/remove-format.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-check-logic.php
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-check-ui.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js
typo3/sysext/rtehtmlarea/mod3/browse_links.php
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_dam_browse_links.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_dam_browse_media.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php
typo3/sysext/rtehtmlarea/mod4/select_image.php
typo3/sysext/rtehtmlarea/mod5/class.tx_rtehtmlarea_user.php
typo3/sysext/rtehtmlarea/mod5/user.php
typo3/sysext/rtehtmlarea/mod6/class.tx_rtehtmlarea_parse_html.php
typo3/sysext/rtehtmlarea/mod6/parse_html.php
typo3/sysext/rtehtmlarea/pi1/class.tx_rtehtmlarea_pi1.php
typo3/sysext/rtehtmlarea/pi3/class.tx_rtehtmlarea_pi3.php
typo3/sysext/setup/mod/index.php
typo3/sysext/sv/class.tx_sv_auth.php
typo3/sysext/sv/class.tx_sv_authbase.php
typo3/sysext/sys_action/class.tx_sysaction.php
typo3/sysext/taskcenter/task/class.mod_user_task.php
typo3/sysext/taskcenter/task/index.php
typo3/sysext/tstemplate/ts/index.php
typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php
typo3/sysext/tstemplate_ceditor/class.tx_tstemplateceditor.php
typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php
typo3/sysext/version/class.tx_version_cm1.php
typo3/sysext/version/cm1/index.php
typo3/sysext/viewpage/view/index.php
typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php
typo3/sysext/wizard_sortpages/class.tx_wizardsortpages_webfunc_2.php
typo3/tce_db.php
typo3/tce_file.php
typo3/template.php
typo3/thumbs.php
typo3/view_help.php
typo3/wizard_add.php
typo3/wizard_colorpicker.php
typo3/wizard_edit.php
typo3/wizard_forms.php
typo3/wizard_list.php
typo3/wizard_rte.php
typo3/wizard_table.php
typo3/wizard_tsconfig.php

index 4f465c9..5cf08e6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
        * Fixed bug #7817: Transparent PNGs do not work in IE6
        * Fixed bug #7873: Wrong condition for IE6, credits Steffen Kamper
        * Code cleanup: replaced CVS with SVN
+       * Updated Copyright notices
 
 2008-03-15  Ingo Renner  <ingo@typo3.org>
 
index 1f93e27..37cdb8c 100755 (executable)
@@ -1,6 +1,6 @@
 ---------------------------------
  The TYPO3 licensing conditions
- 2003-2007, Kasper Skårhøj (kasperYYYY@typo3.com)
+ 2003-2008, Kasper Skårhøj (kasperYYYY@typo3.com)
  Document version 2.02, 03-2006
 ---------------------------------
 
index c10eb02..9c309fd 100644 (file)
--- a/index.php
+++ b/index.php
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 179c99b..05256f7 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 9d54a0f..9692b4a 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 0290555..12dd4bd 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index ee25883..65027d3 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 1d9addb..8542df2 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -318,7 +318,7 @@ class t3lib_clipboard {
                        // Button/menu header:
                $thumb_url = t3lib_div::linkThisScript(array('CB'=>array('setThumb'=>$this->clipData['_setThumb']?0:1)));
                $rmall_url = t3lib_div::linkThisScript(array('CB'=>array('removeAll'=>$this->current)));
-                       
+
                        // Copymode Selector menu
                $copymode_url = t3lib_div::linkThisScript();
                $moveLabel = htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.php:moveElements'));
index 4282b4e..2e31227 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2003-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2003-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the Typo3 project. The Typo3 project is
index cb7f2b7..2d37b03 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 0fca020..42db5ed 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 5116b2c..6658676 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2002-2006 René Fritz (r.fritz@colorcube.de)
+*  (c) 2002-2008 René Fritz (r.fritz@colorcube.de)
 *  All rights reserved
 *
 *  This script is part of the Typo3 project. The Typo3 project is
index 22ac102..cf2d6ce 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -229,7 +229,7 @@ class t3lib_extFileFunctions extends t3lib_basicFileFunctions       {
                                        $this->writelog(1,1,108,'No file was uploaded!','');
                                }
                        }
-                               
+
                                // Traverse each set of actions
                        foreach($this->fileCmdMap as $action => $actionData)    {
 
index 7197569..336e97f 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index c18861d..9c782f3 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -146,7 +146,7 @@ class t3lib_extobjbase {
 
        /**
         * Contains a reference to the parent (calling) object (which is probably an instance of an extension class to t3lib_SCbase)
-        * 
+        *
         * @var t3lib_SCbase
         * @see init()
         */
index 04f8eb9..f089a35 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 6d44718..9ca223e 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 467fc50..fab9301 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -238,7 +238,7 @@ class t3lib_htmlmail {
 
 
        /**
-        * Constructor. If the configuration variable forceReturnPath is set, 
+        * Constructor. If the configuration variable forceReturnPath is set,
         * calls to mail will be called with a 5th parameter.
         * See function sendTheMail for more info
         *
@@ -457,7 +457,7 @@ class t3lib_htmlmail {
 
        /**
         * Clears the header-string and sets the headers based on object-vars.
-        * 
+        *
         * @return      void
         */
        public function setHeaders() {
@@ -514,7 +514,7 @@ class t3lib_htmlmail {
 
 
        /**
-        * Sets the recipient(s). If you supply a string, you set one recipient. 
+        * Sets the recipient(s). If you supply a string, you set one recipient.
         * If you supply an array, every value is added as a recipient.
         *
         * @param       mixed           $recipient: the recipient(s) to set
@@ -557,7 +557,7 @@ class t3lib_htmlmail {
                        $this->constructHTML($boundary);
                } else {        // Generate plain only
                        $this->add_header($this->plain_text_header);
-                       $this->add_message($this->getContent('plain')); 
+                       $this->add_message($this->getContent('plain'));
                }
        }
 
@@ -869,7 +869,7 @@ class t3lib_htmlmail {
 
        /**
         * Fetches the HTML-content from either url og local serverfile
-        * 
+        *
         * @param       string          $file: the file to load
         * @return      boolean         whether the data was fetched or not
         */
@@ -1171,7 +1171,7 @@ class t3lib_htmlmail {
 
 
        /**
-        * JavaScript rollOvers cannot support graphics inside of mail. 
+        * JavaScript rollOvers cannot support graphics inside of mail.
         * If these exists we must let them refer to the absolute url. By the way:
         * Roll-overs seems to work only on some mail-readers and so far I've seen it
         * work on Netscape 4 message-center (but not 4.5!!)
@@ -1220,7 +1220,7 @@ class t3lib_htmlmail {
 
        /**
         * Returns base64-encoded content, which is broken every 76 character
-        * 
+        *
         * @param       string          $inputstr: the string to encode
         * @return      string          the encoded string
         */
@@ -1297,7 +1297,7 @@ class t3lib_htmlmail {
 
 
        /**
-        * reads a url or file and strips the HTML-tags AND removes all 
+        * reads a url or file and strips the HTML-tags AND removes all
         * empty lines. This is used to read plain-text out of a HTML-page
         *
         * @param       string          $url: the URL to load
@@ -1338,7 +1338,7 @@ class t3lib_htmlmail {
 
 
        /**
-        * Returns the absolute address of a link. This is based on 
+        * Returns the absolute address of a link. This is based on
         * $this->theParts["html"]["path"] being the root-address
         *
         * @param       string          $ref: address to use
@@ -1424,7 +1424,7 @@ class t3lib_htmlmail {
         * This function analyzes a HTML tag
         * If an attribute is empty (like OPTION) the value of that key is just empty. Check it with is_set();
         *
-        * @param       string          $tag: is either like this "<TAG OPTION ATTRIB=VALUE>" or 
+        * @param       string          $tag: is either like this "<TAG OPTION ATTRIB=VALUE>" or
         *                              this " OPTION ATTRIB=VALUE>" which means you can omit the tag-name
         * @return      array           array with attributes as keys in lower-case
         */
index 9ec2959..a08e4dc 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4332920..5ac005f 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 54e8cba..4cf5340 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -122,7 +122,7 @@ class t3lib_loadDBGroup     {
                $this->MM_hasUidField = $conf['MM_hasUidField'];
                $this->MM_match_fields = is_array($conf['MM_match_fields']) ? $conf['MM_match_fields'] : array();
                $this->MM_insert_fields = is_array($conf['MM_insert_fields']) ? $conf['MM_insert_fields'] : $this->MM_match_fields;
-               
+
                $this->currentTable = $currentTable;
                if ($this->MM_is_foreign)       {
                        $tmp = ($conf['type']==='group'?$conf['allowed']:$conf['foreign_table']);
@@ -234,7 +234,7 @@ class t3lib_loadDBGroup     {
         * Does a sorting on $this->itemArray depending on a default sortby field.
         * This is only used for automatic sorting of comma separated lists.
         * This function is only relevant for data that is stored in comma separated lists!
-        * 
+        *
         * @param       string          $sortby: The default_sortby field/command (e.g. 'price DESC')
         * @return      void
         */
@@ -251,7 +251,7 @@ class t3lib_loadDBGroup     {
                        if ($uidList) {
                                $this->itemArray = array();
                                $this->tableArray = array();
-                               
+
                                $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', $table, 'uid IN ('.$uidList.')', '', $sortby);
                                while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
                                        $this->itemArray[] = array('id' => $row['uid'], 'table' => $table);
@@ -273,7 +273,7 @@ class t3lib_loadDBGroup     {
        function readMM($tableName,$uid)        {
                $key=0;
                $additionalWhere = '';
-               
+
                if ($this->MM_is_foreign)       {       // in case of a reverse relation
                        $uidLocal_field = 'uid_foreign';
                        $uidForeign_field = 'uid_local';
@@ -300,7 +300,7 @@ class t3lib_loadDBGroup     {
                foreach ($this->MM_match_fields as $field => $value) {
                        $additionalWhere.= ' AND '.$field.'='.$GLOBALS['TYPO3_DB']->fullQuoteStr($value, $tableName);
                }
-               
+
                        // Select all MM relations:
                $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', $tableName, $uidLocal_field.'='.intval($uid).$additionalWhere, '', $sorting_field);
                while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))       {
@@ -364,8 +364,8 @@ class t3lib_loadDBGroup     {
                        }
 
                        $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
-                               $uidForeign_field.($prep?', tablenames':'').($this->MM_hasUidField?', uid':''), 
-                               $MM_tableName, 
+                               $uidForeign_field.($prep?', tablenames':'').($this->MM_hasUidField?', uid':''),
+                               $MM_tableName,
                                $uidLocal_field.'='.$uid.$additionalWhere_tablenames.$additionalWhere,
                                '',
                                $sorting_field
@@ -404,7 +404,7 @@ class t3lib_loadDBGroup     {
 
                                if (in_array($item, $oldMMs))   {
                                        $oldMMs_index = array_search($item, $oldMMs);
-                                       
+
                                        $whereClause = $uidLocal_field.'='.$uid.' AND '.$uidForeign_field.'='.$val['id'].
                                                                        ($this->MM_hasUidField ? ' AND uid='.intval($oldMMs_inclUid[$oldMMs_index][2]) : '');   // In principle, selecting on the UID is all we need to do if a uid field is available since that is unique! But as long as it "doesn't hurt" we just add it to the where clause. It should all match up.
                                        if ($tablename) {
@@ -425,7 +425,7 @@ class t3lib_loadDBGroup     {
                                        }
 
                                        $GLOBALS['TYPO3_DB']->exec_INSERTquery($MM_tableName, $insertFields);
-                                       
+
                                        if ($this->MM_is_foreign)       {
                                                $this->updateRefIndex($val['table'], $val['id']);
                                        }
@@ -457,17 +457,17 @@ class t3lib_loadDBGroup   {
                                }
                                $deleteAddWhere = ' AND ('.implode(' OR ', $removeClauses).')';
                                $GLOBALS['TYPO3_DB']->exec_DELETEquery($MM_tableName, $uidLocal_field.'='.intval($uid).$deleteAddWhere.$additionalWhere_tablenames.$additionalWhere);
-                               
+
                                        // Update ref index:
                                foreach($updateRefIndex_records as $pair)       {
                                        $this->updateRefIndex($pair[0],$pair[1]);
                                }
                        }
-                       
+
                                // Update ref index; In tcemain it is not certain that this will happen because if only the MM field is changed the record itself is not updated and so the ref-index is not either. This could also have been fixed in updateDB in tcemain, however I decided to do it here ...
                        $this->updateRefIndex($this->currentTable,$uid);
                }
-       }       
+       }
 
        /**
         * Remaps MM table elements from one local uid to another
@@ -543,7 +543,7 @@ class t3lib_loadDBGroup     {
                if ($foreign_table_field && $this->currentTable) {
                        $whereClause .= ' AND '.$foreign_table_field.'='.$GLOBALS['TYPO3_DB']->fullQuoteStr($this->currentTable, $foreign_table);
                }
-               
+
                        // get the correct sorting field
                if ($conf['foreign_sortby']) {                                                                                  // specific manual sortby for data handled by this field
                        if ($conf['symmetric_sortby'] && $conf['symmetric_field']) {
@@ -627,7 +627,7 @@ class t3lib_loadDBGroup     {
                                        } else {
                                                $updateValues[$foreign_field] = $parentUid;
                                        }
-                                       
+
                                                // if it is configured in TCA also to store the parent table in the child record, just do it
                                        if ($foreign_table_field && $this->currentTable) {
                                                $updateValues[$foreign_table_field] = $this->currentTable;
@@ -636,7 +636,7 @@ class t3lib_loadDBGroup     {
                                                // update sorting columns if not to be skipped
                                        if (!$skipSorting) {
                                                        // get the correct sorting field
-                                               if ($conf['foreign_sortby']) {                                                                  // specific manual sortby for data handled by this field 
+                                               if ($conf['foreign_sortby']) {                                                                  // specific manual sortby for data handled by this field
                                                        $sortby = $conf['foreign_sortby'];
                                                } elseif ($GLOBALS['TCA'][$foreign_table]['ctrl']['sortby']) {  // manual sortby for all table records
                                                        $sortby = $GLOBALS['TCA'][$foreign_table]['ctrl']['sortby'];
@@ -644,7 +644,7 @@ class t3lib_loadDBGroup     {
                                                        // strip a possible "ORDER BY" in front of the $sortby value
                                                $sortby = $GLOBALS['TYPO3_DB']->stripOrderBy($sortby);
                                                $symSortby = $conf['symmetric_sortby'];
-       
+
                                                        // set the sorting on the right side, it depends on who created the relation, so what uid is in the symmetric_field
                                                if ($isOnSymmetricSide && $symSortby) {
                                                        $updateValues[$symSortby] = ++$c;
index b5f3d8a..f6d267f 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 88ec0f0..499e375 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 3de6095..88212b8 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -256,7 +256,7 @@ class t3lib_parsehtml       {
                                }
                                $content = str_replace($marker, $markContent, $content);
                        }
-                       
+
                        if ($deleteUnused) {
                                $content = preg_replace('/'.preg_quote($wrapArr[0]).'([A-Z0-9_-|]*)'.preg_quote($wrapArr[1]).'/is', '', $content);
                        }
@@ -264,7 +264,7 @@ class t3lib_parsehtml       {
                return $content;
        }
 
-       
+
        // *******************************************'
        // COPY FROM class.tslib_content.php: / END
        // *******************************************'
index de6f4db..a2bc274 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -493,7 +493,7 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
 
                                                                // Removing width and heigth form style attribute
                                                        $attribArray['style'] = preg_replace('/((?:^|)\s*(?:width|height)\s*:[^;]*(?:$|;))/si', '', $attribArray['style']);
-                                                       
+
                                                                // Finding dimensions of image file:
                                                        $fI = @getimagesize($filepath);
 
@@ -1117,7 +1117,7 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
 
                                        // GOING from database to Rich Text Editor:
                                case 'rte':
-                                       
+
                                        if (!isset($this->procOptions['transformBoldAndItalicTags']) || $this->procOptions['transformBoldAndItalicTags']) {
                                                        // Transform bold/italics tags to strong/em
                                                if (isset($keepTags['b']))      {$keepTags['b']=array('remap'=>'STRONG');}
@@ -1130,7 +1130,7 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
 
                                        // GOING from RTE to database:
                                case 'db':
-                                       
+
                                        if (!isset($this->procOptions['transformBoldAndItalicTags']) || $this->procOptions['transformBoldAndItalicTags']) {
                                                        // Transform strong/em back to bold/italics:
                                                if (isset($keepTags['strong'])) { $keepTags['strong']=array('remap'=>'b'); }
index 56f98b5..dd564a1 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index c1f3c5e..a5d3b04 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 526911e..ed3d77c 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -356,7 +356,7 @@ class t3lib_recordList {
                        '',
                        'sys_language_uid'
                );
-               
+
                $t8Tools = t3lib_div::makeInstance('t3lib_transl8tools');
                $this->languageIconTitles = $t8Tools->getSystemLanguages($this->id, $this->backPath);
        }
index bd28d4a..8050ef2 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -701,7 +701,7 @@ class t3lib_refindex {
                                                        if ($returnDataArray)   {
                                                                return $dataArray;
                                                        } else {
-               
+
                                                                        // Execute CMD array:
                                                                $tce = t3lib_div::makeInstance('t3lib_TCEmain');
                                                                $tce->stripslashes_values = FALSE;
@@ -857,7 +857,7 @@ class t3lib_refindex {
         */
        function wordIndexing($table,$uid)      {
                return; // Disabled until Kasper finishes this feature. If someone else needs it in the meantime you are welcome to complete it. Below my todo list.
-               
+
                // TODO:
                // - Flag to disable indexing
                // - Clean-up to remove words not used anymore  and indexes for records not in the system anymore.
index aef8cbf..8af8eb3 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 644111a..8817e39 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -223,7 +223,7 @@ class t3lib_SCbase {
 
        /**
         * Generally used to hold an instance of the 'template' class from typo3/template.php
-        * 
+        *
         * @var template
         */
        var $doc;
index 538e9d9..7b02797 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2003-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2003-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the Typo3 project. The Typo3 project is
index da06042..e524cf7 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 85ea47b..9ac8585 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 115c0e5..95f9fb2 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 29d70d7..a051481 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 49835e5..f779295 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the Typo3 project. The Typo3 project is
index 6d3b2b4..bf2f045 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 1c318e4..26bd203 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 78abec6..9dd04c1 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 6af8b17..5978140 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -128,7 +128,7 @@ class t3lib_treeView {
        /**
         * Needs to be initialized with $GLOBALS['BE_USER']
         * Done by default in init()
-        * 
+        *
         * @var t3lib_beUserAuth
         */
        var $BE_USER='';
@@ -681,10 +681,10 @@ class t3lib_treeView {
                        $title = htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'],$titleLen));
                        if (strlen(trim($row['nav_title'])) > 0)        {
                                $title = '<span title="'.$GLOBALS['LANG']->sL('LLL:EXT:cms/locallang_tca.xml:pages.nav_title',1).' '.htmlspecialchars(trim($row['nav_title'])).'">'.$title.'</span>';
-                       } 
+                       }
                        $title = (strlen(trim($row['title'])) == 0) ? '<em>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</em>' : $title;
                }
-               
+
                return $title;
        }
 
index 996605a..3a4fcbb 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -832,7 +832,7 @@ $query.'
                if ($this->extGetFeAdminValue('cache','noCache'))       {
                        $GLOBALS['TSFE']->set_no_cache();
                }
-               
+
                        // Hook for post processing the frontend admin configuration.
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'])) {
                        $_params = array('input' => &$input, 'pObj' => &$this);
@@ -882,7 +882,7 @@ $query.'
                        if ($this->extIsAdmMenuOpen($pre)) {    // See if the menu is expanded!
                                return $retVal;
                        }
-                       
+
                                // Hook for post processing the frontend editing action.
                        if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'])) {
                                $_params = array('cmd' => &$cmd, 'tce' => &$tce, 'pObj' => &$this);
index aca4367..3b7f756 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 5daa53d..4d97f14 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -1574,8 +1574,8 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
 
                                                                        $col[]=HexDec(substr($var,0,1));
                                                                        $col[]=HexDec(substr($var,1,1));
-                                                                       $col[]=HexDec(substr($var,2,1));                                                                        
-                                                                       
+                                                                       $col[]=HexDec(substr($var,2,1));
+
                                                                        if($useFullHex) {
                                                                                $col[]=HexDec(substr($var,3,1));
                                                                                $col[]=HexDec(substr($var,4,1));
@@ -1586,7 +1586,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                                        if($useFullHex) {
                                                                                $var .= substr('0'.DecHex($col[3]),-1).substr('0'.DecHex($col[4]),-1).substr('0'.DecHex($col[5]),-1);
                                                                        }
-                                                                       
+
                                                                        $var = '#'.strtoupper($var);
                                                                }
                                                        break;
index 866f177..a1e9741 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index aeaa1b2..85528c1 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -861,12 +861,12 @@ class t3lib_userAuthGroup extends t3lib_userAuth {
                $retVal = FALSE;
 
                $type = t3lib_div::intInRange($type,-1);
-               
+
                        // Check if only element versioning is allowed:
                if ($GLOBALS['TYPO3_CONF_VARS']['BE']['elementVersioningOnly'] && $type!=-1)    {
                        return FALSE;
                }
-               
+
                if ($this->workspace>0 && !$this->isAdmin())    {
                        $stat = $this->checkWorkspaceCurrent();
                        if ($stat['_ACCESS']!=='owner') {
index 490d9f1..72e00ae 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e4ab1bd..2ac227f 100755 (executable)
@@ -8,7 +8,7 @@
 *
 *  Copyright notice
 *
-*  (c) 1998-2007 Kasper Skaarhoj
+*  (c) 1998-2008 Kasper Skaarhoj
 *  All rights reserved
 *
 *  This script is part of the TYPO3 t3lib/ library provided by
index af9ef94..25dcda1 100755 (executable)
@@ -8,7 +8,7 @@
 *
 *  Copyright notice
 *
-*  (c) 1998-2003 Kasper Skaarhoj
+*  (c) 1998-2008 Kasper Skaarhoj
 *  All rights reserved
 *
 *  This script is part of the TYPO3 t3lib/ library provided by
index e033415..08f8156 100755 (executable)
@@ -8,7 +8,7 @@
 *
 *  Copyright notice
 *
-*  (c) 1998-2003 Kasper Skaarhoj
+*  (c) 1998-2008 Kasper Skaarhoj
 *  All rights reserved
 *
 *  This script is part of the TYPO3 t3lib/ library provided by
index e9f6672..674754a 100755 (executable)
@@ -6,7 +6,7 @@
 *
 *  Copyright notice
 *
-*  (c) 1998-2007 Kasper Skaarhoj
+*  (c) 1998-2008 Kasper Skaarhoj
 *  All rights reserved
 *
 *  This script is part of the TYPO3 t3lib/ library provided by
index ea6d3ca..fdebda2 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 460eab7..334a1cb 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 83f9992..9e4e7f7 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 057a2b1..28fce85 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 56a945a..321783e 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -120,7 +120,7 @@ class SC_alt_doc {
        var $returnNewPageId;   // GPvar (for processing only) : Boolean: If set, then the GET var "&id=" will be added to the retUrl string so that the NEW id of something is returned to the script calling the form.
        var $vC;                                // GPvar (for processing only) : Verification code, internal stuff.
        var $uc;                                // GPvar : update BE_USER->uc
-       
+
        var $popViewId;                 // GPvar (module) : ID for displaying the page in the frontend (used for SAVE/VIEW operations)
        var $popViewId_addParams;       // GPvar (module) : Additional GET vars for the link, eg. "&L=xxx"
        var $viewUrl;                   // GPvar (module) : Alternative URL for viewing the frontend pages.
@@ -341,7 +341,7 @@ class SC_alt_doc {
                                                                }
                                                                $newEditConf[$tableName][$editId] = 'edit';
                                                        }
-       
+
                                                                // Traverse all new records and forge the content of ->editconf so we can continue to EDIT these records!
                                                        if ($tableName=='pages' && $this->retUrl!='dummy.php' && $this->returnNewPageId)        {
                                                                $this->retUrl.='&id='.$tce->substNEWwithIDs[$key];
@@ -356,7 +356,7 @@ class SC_alt_doc {
                                if (count($newEditConf)) {
                                        $this->editconf = $newEditConf;
                                }
-                               
+
                                        // Finally, set the editconf array in the "getvars" so they will be passed along in URLs as needed.
                                $this->R_URL_getvars['edit']=$this->editconf;
 
@@ -426,7 +426,7 @@ class SC_alt_doc {
                $this->recTitle = t3lib_div::_GP('recTitle');
                $this->disHelp = t3lib_div::_GP('disHelp');
                $this->noView = t3lib_div::_GP('noView');
-               
+
                $this->perms_clause = $BE_USER->getPagePermsClause(1);
 
                        // Set other internal variables:
@@ -450,10 +450,10 @@ class SC_alt_doc {
                        // Create an instance of the document template object
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->backPath = $BACK_PATH;
-               $this->doc->setModuleTemplate('templates/alt_doc.html');        
+               $this->doc->setModuleTemplate('templates/alt_doc.html');
                $this->doc->docType = 'xhtml_trans';
-               $this->doc->form = '<form action="'.htmlspecialchars($this->R_URI).'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="document.editform._scrollPosition.value=(document.documentElement.scrollTop || document.body.scrollTop); return TBE_EDITOR.checkSubmit(1);">';                   
-               
+               $this->doc->form = '<form action="'.htmlspecialchars($this->R_URI).'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="document.editform._scrollPosition.value=(document.documentElement.scrollTop || document.body.scrollTop); return TBE_EDITOR.checkSubmit(1);">';
+
                $this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
                $this->doc->JScode = $this->doc->wrapScriptTags('
                        function jumpToUrl(URL,formEl)  {       //
@@ -507,10 +507,10 @@ class SC_alt_doc {
         */
        function main() {
                global $BE_USER,$LANG;
-               
+
                        // Begin edit:
                if (is_array($this->editconf))  {
-                       
+
                                // Initialize TCEforms (rendering the forms)
                        $this->tceforms = t3lib_div::makeInstance('t3lib_TCEforms');
                        $this->tceforms->initDefaultBEMode();
@@ -518,7 +518,7 @@ class SC_alt_doc {
                        $this->tceforms->localizationMode = t3lib_div::inList('text,media',$this->localizationMode) ? $this->localizationMode : '';     // text,media is keywords defined in TYPO3 Core API..., see "l10n_cat"
                        $this->tceforms->returnUrl = $this->R_URI;
                        $this->tceforms->palettesCollapsed = !$this->MOD_SETTINGS['showPalettes'];
-                       $this->tceforms->disableRTE = !$BE_USER->isRTE(); 
+                       $this->tceforms->disableRTE = !$BE_USER->isRTE();
                        $this->tceforms->enableClickMenu = TRUE;
                        $this->tceforms->enableTabMenu = TRUE;
 
@@ -559,11 +559,11 @@ class SC_alt_doc {
                                $body.= $this->tceformMessages();
                        }
                }
-               
+
                // Access check...
                // The page will show only if there is a valid page and if this page may be viewed by the user
                $this->pageinfo = t3lib_BEfunc::readPageAccess($this->viewId, $this->perms_clause);
-               
+
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
                $markers = array(
@@ -839,7 +839,7 @@ class SC_alt_doc {
 
                                // SAVE / CLOSE
                        $buttons['save_close'] = '<input type="image" class="c-inputButton" name="_saveandclosedok"'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/saveandclosedok.gif','').' title="'.$LANG->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc',1).'" />';
-                       
+
                                // FINISH TRANSLATION / SAVE / CLOSE
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation'])     {
                                $buttons['translation_save'] = '<input type="image" class="c-inputButton" name="_translation_savedok"'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/translationsavedok.gif','').' title="'.$LANG->sL('LLL:EXT:lang/locallang_core.php:rm.translationSaveDoc',1).'" />';
@@ -914,7 +914,7 @@ class SC_alt_doc {
         */
        function extraFormHeaders() {
                $extraTemplate = '';
-               
+
                if (is_array($this->tceforms->extraFormHeaders)) {
                        $extraTemplate = t3lib_parsehtml::getSubpart($this->doc->moduleTemplate, '###DOCHEADER_EXTRAHEADER###');
                        $extraTemplate = t3lib_parsehtml::substituteMarker($extraTemplate, '###EXTRAHEADER###', implode(chr(10), $this->tceforms->extraFormHeaders));
@@ -1376,7 +1376,7 @@ class SC_alt_doc {
        function closeDocument($code=0) {
                global $BE_USER;
 
-                       // If current document is found in docHandler, 
+                       // If current document is found in docHandler,
                        // then unset it, possibly unset it ALL and finally, write it to the session data
                if (isset($this->docHandler[$this->storeUrlMd5])) {
 
index d372a51..e6e2f7d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index b7ba712..070b246 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -213,7 +213,7 @@ class SC_alt_file_navframe {
        /**
         * Makes the AJAX call to expand or collapse the foldertree.
         * Called by typo3/ajax.php
-        * 
+        *
         * @param       array           $params: additional parameters (not used here)
         * @param       TYPO3AJAX       &$ajaxObj: reference of the TYPO3AJAX object of this request
         * @return      void
index 7c3099e..49dd8b2 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 07f6625..81ff351 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 71e1aab..dccda10 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4d7de14..538c8d6 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e080abf..4b7f8bf 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 73a9551..12bbabd 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 5d52790..9e31c9d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e749cd3..cbd1e47 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4095031..605cb61 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 5f83bf3..1477015 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -89,10 +89,10 @@ class SC_browse_links {
         * @see main()
         */
        var $mode;
-       
+
        /**
         * holds Instance of main browse_links class
-        * needed fo intercommunication between various classes that need access to variables via $GLOBALS['SOBE'] 
+        * needed fo intercommunication between various classes that need access to variables via $GLOBALS['SOBE']
         * Not the most nice solution but introduced since we don't have another general way to return class-instances or registry for now
         *
         * @var browse_links
@@ -191,7 +191,7 @@ class SC_browse_links {
                                        }
                                break;
                        }
-                       
+
 
                                // Output the correct content according to $this->mode
                        switch((string)$this->mode)     {
index 4c0385e..9e3ea3f 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 57c58d1..869f6f1 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -185,7 +185,7 @@ class alt_menu_functions {
                        $descr3_title = $LANG->moduleLabels['tabs'][$moduleKey].' ';
                        if ($image)     {
                                $Ifilename = $this->mIconFilename($LANG->moduleLabels['tabs_images'][$moduleKey],$backPath);
-                               $collection[$moduleKey]['icon'] = array($Ifilename, $image[3]); 
+                               $collection[$moduleKey]['icon'] = array($Ifilename, $image[3]);
                                $imageCode = '<img src="'.$Ifilename.'" '.$image[3].' alt="" />';
                                $descr3_imageCode = '<img src="'.$Ifilename.'" '.$image[3].' title="'.htmlspecialchars($descr3_title).'" alt="" />';
                        } else {
@@ -272,7 +272,7 @@ class alt_menu_functions {
                                        $descr3_title = $LANG->moduleLabels['tabs'][$subKey].': '.$LANG->moduleLabels['labels'][$subKey.'label'];
                                        if ($image)     {
                                                $Ifilename = $this->mIconFilename($LANG->moduleLabels['tabs_images'][$subKey],$backPath);
-                                               $collection[$moduleKey]['subitems'][$subKey]['icon'] = array($Ifilename, $image[3]); 
+                                               $collection[$moduleKey]['subitems'][$subKey]['icon'] = array($Ifilename, $image[3]);
                                                $imageCode = '<img src="'.$Ifilename.'" '.$image[3].' title="'.htmlspecialchars($LANG->moduleLabels['labels'][$subKey.'label']).'" alt="" />';
                                                $descr3_imageCode = '<img src="'.$Ifilename.'" '.$image[3].' title="'.htmlspecialchars($descr3_title).'" alt="" />';
                                        } else {
@@ -616,7 +616,7 @@ class alt_menu_functions {
                        return $link.'?';
                } else return $link;
        }
-       
+
        /**
         * Generates some JavaScript code for the frame.
         *
@@ -624,7 +624,7 @@ class alt_menu_functions {
         */
        function generateMenuJScode($loadedModules, $menuType = 4)      {
                global $TBE_TEMPLATE;
-               
+
                $goToModuleSwitch = $this->topMenu($loadedModules, 0, '', $menuType);
 
                $jsCode = '
@@ -644,7 +644,7 @@ class alt_menu_functions {
                switch(modName) {'.$goToModuleSwitch.'
                }
        }';
-               
+
                return $jsCode;
        }
 }
index 9434675..c6f7aa3 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 31fbff1..711b9e9 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 667bb46..8a891da 100755 (executable)
@@ -2,7 +2,7 @@
 /*************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -124,19 +124,19 @@ class localRecordList extends recordList {
         * @return      array   all available buttons as an assoc. array
         */
        public function getButtons()    {
-               global $LANG;   
-               
+               global $LANG;
+
                $buttons = array(
-                       'csh' => '', 
-                       'view' => '', 
-                       'edit' => '', 
-                       'hide_unhide' => '', 
-                       'move' => '', 
+                       'csh' => '',
+                       'view' => '',
+                       'edit' => '',
+                       'hide_unhide' => '',
+                       'move' => '',
                        'new_record' => '',
                        'paste' => '',
-                       'level_up' => '', 
-                       'cache' => '', 
-                       'reload' => '', 
+                       'level_up' => '',
+                       'cache' => '',
+                       'reload' => '',
                        'shortcut' => '',
                        'back' => '',
                        'csv' => '',
@@ -145,7 +145,7 @@ class localRecordList extends recordList {
 
                        // Get users permissions for this page record:
                $localCalcPerms = $GLOBALS['BE_USER']->calcPerms($this->pageRow);
-       
+
                        // CSH
                if (!strlen($this->id)) {
                        $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module_noId', $GLOBALS['BACK_PATH']);
@@ -154,29 +154,29 @@ class localRecordList extends recordList {
                } else {
                        $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module', $GLOBALS['BACK_PATH']);
                }
-               
+
                if (isset($this->id)) {
                                // View
                        $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->id, $this->backPath, t3lib_BEfunc::BEgetRootLine($this->id))) . '">' .
                                                        '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/zoom.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '" alt="" />' .
                                                        '</a>';
-                       
+
                                // New record
                        if (!$GLOBALS['SOBE']->modTSconfig['properties']['noCreateRecordsLink']) {
                                $buttons['new_record'] = '<a href="#" onclick="' . htmlspecialchars('return jumpExt(\'' . $this->backPath . 'db_new.php?id=' . $this->id . '\');') . '">' .
                                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/new_el.gif') . ' title="' . $LANG->getLL('newRecordGeneral', 1) . '" alt="" />' .
                                                                '</a>';
                        }
-                                               
+
                                // If edit permissions are set (see class.t3lib_userauthgroup.php)
-                       if ($localCalcPerms&2 && !empty($this->id))     {               
-                       
+                       if ($localCalcPerms&2 && !empty($this->id))     {
+
                                        // Edit
                                $params = '&edit[pages][' . $this->pageRow['uid'] . ']=edit';
                                $buttons['edit'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::editOnClick($params, $this->backPath, -1)) . '">' .
                                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/edit2.gif') . ' title="' . $LANG->getLL('editPage', 1) . '" alt="" />' .
                                                                '</a>';
-                                       // Unhide               
+                                       // Unhide
                                if ($this->pageRow['hidden'])   {
                                        $params = '&data[pages][' . $this->pageRow['uid'] . '][hidden]=0';
                                        $buttons['hide_unhide'] = '<a href="#" onclick="' . htmlspecialchars('return jumpToUrl(\'' . $GLOBALS['SOBE']->doc->issueCommand($params, -1) . '\');') . '">' .
@@ -189,20 +189,20 @@ class localRecordList extends recordList {
                                                                        '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/button_hide.gif') . ' title="' . $LANG->getLL('hidePage', 1) . '" alt="" />' .
                                                                        '</a>';
                                }
-                               
+
                                        // Move
                                $buttons['move'] = '<a href="#" onclick="' . htmlspecialchars('return jumpExt(\'' . $this->backPath . 'move_el.php?table=pages&uid=' . $this->pageRow['uid'] . '\');') . '">' .
                                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/move_' . ($this->table == 'tt_content' ? 'record' : 'page') . '.gif') . ' title="' . $LANG->getLL('move_page', 1) . '" alt="" />' .
                                                                '</a>';
-                                                               
+
                                        // Up one level
                                $buttons['level_up'] = '<a href="' . htmlspecialchars($this->listURL($this->pageRow['pid'])) . '" onclick="setHighlight(' . $this->pageRow['pid'] . ')">' .
                                                        '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/i/pages_up.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.upOneLevel', 1) . '" alt="" />' .
                                                        '</a>';
 
                        }
-                               
-                       
+
+
                                // Paste
                        if (($localCalcPerms&8) || ($localCalcPerms&16)) {
                                $elFromTable = $this->clipObj->elFromTable('');
@@ -212,38 +212,38 @@ class localRecordList extends recordList {
                                                                        '</a>';
                                }
                        }
-       
+
                                // Cache
                        $buttons['cache'] = '<a href="' . htmlspecialchars($this->listURL() . '&clear_cache=1') . '">' .
                                                        '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/clear_cache.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.clear_cache', 1) . '" alt="" />' .
                                                        '</a>';
-       
+
                        if ($this->table) {
-                               
+
                                        // CSV
                                $buttons['csv'] = '<a href="' . htmlspecialchars($this->listURL() . '&csv=1') . '">' .
                                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/csv.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.csv', 1) . '" alt="" />' .
                                                                '</a>';
-                                                               
+
                                        // Export
                                if (t3lib_extMgm::isLoaded('impexp')) {
                                        $buttons['export'] = '<a href="' . htmlspecialchars($this->backPath. 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export&tx_impexp[list][]=' . rawurlencode($this->table . ':' . $this->id)) . '">' .
                                                                        '<img' . t3lib_iconWorks::skinImg($this->backPath, t3lib_extMgm::extRelPath('impexp') . 'export.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.export', 1) . '" alt="" />' .
                                                                        '</a>';
                                }
-                               
+
                        }
-       
+
                                // Reload
                        $buttons['reload'] = '<a href="' . htmlspecialchars($this->listURL()) . '">' .
                                                        '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/refresh_n.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.reload', 1) . '" alt="" />' .
                                                        '</a>';
-                                                       
+
                                // Shortcut
                        if ($GLOBALS['BE_USER']->mayMakeShortcut()) {
                                $buttons['shortcut'] = $GLOBALS['TBE_TEMPLATE']->makeShortcutIcon('id, imagemode, pointer, table, search_field, search_levels, showLimit, sortField, sortRev', implode(',', array_keys($this->MOD_MENU)), 'web_list');
                        }
-                       
+
                                // Back
                        if ($this->returnUrl) {
                                $buttons['back'] = '<a href="' . htmlspecialchars(t3lib_div::linkThisUrl($this->returnUrl, array('id' => $this->id))) . '" class="typo3-goBack">' .
@@ -1104,7 +1104,7 @@ class localRecordList extends recordList {
                                        '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/clip_pasteinto.gif','width="12" height="12"').' title="'.$LANG->getLL('clip_pasteInto',1).'" alt="" />'.
                                        '</a>';
                }
-                       
+
                /*
                 * @hook                        makeClip: Allows to change clip-icons of records in list-module
                 * @date                        2007-11-20
index 3c2b48c..0494001 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -120,7 +120,7 @@ class fileList extends t3lib_recordList {
                $this->firstElementNumber=$pointer;
                $this->clipBoard = $clipBoard;
                        // setting the maximum length of the filenames to the user's settings or minimum 30 (= $this->fixedL)
-               $this->fixedL = max($this->fixedL, $GLOBALS['BE_USER']->uc['titleLen']); 
+               $this->fixedL = max($this->fixedL, $GLOBALS['BE_USER']->uc['titleLen']);
 
                if (!$GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails'])  {
                        $this->thumbScript='gfx/notfound_thumb.gif';
@@ -145,7 +145,7 @@ class fileList extends t3lib_recordList {
         * @return      array
         */
        function getButtonsAndOtherMarkers($path) {
-               
+
                        // Makes the code for the foldericon in the top
                $path = $GLOBALS['SOBE']->basicFF->is_directory($path); // Cleaning name...
 
@@ -154,14 +154,14 @@ class fileList extends t3lib_recordList {
                                'PAGE_ICON' => '',
                                'TITLE' => '',
                        );
-                       
+
                        $buttons = array(
                                'level_up' => '',
                                'refresh' => '',
                                'title' => '',
                                'page_icon' => '',
                        );
-                       
+
                        $theFile = $GLOBALS['SOBE']->basicFF->getTotalFileInfo($path);
 
                        list($title,$icon,$path) =  $this->dirData($theFile);
@@ -185,11 +185,11 @@ class fileList extends t3lib_recordList {
                                $otherMarkers['TITLE'] .= htmlspecialchars(t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20)));
                        }
                }
-               
+
                $buttons['refresh'] = '<a href="'.htmlspecialchars($this->listURL()).'">'.
                                '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/refresh_n.gif','width="14" height="14"').' title="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.reload',1).'" alt="" />'.
                                '</a>';
-                               
+
                return array($buttons, $otherMarkers);
        }
 
@@ -295,9 +295,9 @@ class fileList extends t3lib_recordList {
         **/
        function getFolderInfo() {
                if($this->counter == 1) {
-                       $fileLabel = 'File';    
+                       $fileLabel = 'File';
                } else {
-                       $fileLabel = 'Files';   
+                       $fileLabel = 'Files';
                }
                return $this->counter.' '.$fileLabel.', '.t3lib_div::formatSize($this->totalbytes).'bytes';
        }
index 7ab8e53..818f510 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -161,7 +161,7 @@ class filelistFolderTree extends t3lib_folderTree {
                }
 
 
-               // we need to count the opened <ul>'s every time we dig into another level, 
+               // we need to count the opened <ul>'s every time we dig into another level,
                // so we know how many we have to close when all children are done rendering
                $closeDepth = array();
 
@@ -171,7 +171,7 @@ class filelistFolderTree extends t3lib_folderTree {
                        $idAttr = htmlspecialchars($this->domIdPrefix.$this->getId($v['row']).'_'.$v['bank']);
                        $itemHTML  = '';
 
-                       // if this item is the start of a new level, 
+                       // if this item is the start of a new level,
                        // then a new level <ul> is needed, but not in ajax mode
                        if($v['isFirst'] && !($doCollapse) && !($doExpand && $expandedFolderUid == $uid))       {
                                $itemHTML = "<ul>\n";
@@ -213,7 +213,7 @@ class filelistFolderTree extends t3lib_folderTree {
                        if($doExpand && $expandedFolderUid == $uid) {
                                $ajaxOutput .= $itemHTML;
                                $invertedDepthOfAjaxRequestedItem = $v['invertedDepth'];
-                       } elseif($invertedDepthOfAjaxRequestedItem) { 
+                       } elseif($invertedDepthOfAjaxRequestedItem) {
                                if($v['invertedDepth'] < $invertedDepthOfAjaxRequestedItem) {
                                        $ajaxOutput .= $itemHTML;
                                } else {
@@ -355,7 +355,7 @@ class filelistFolderTree extends t3lib_folderTree {
 
                sort($dirs);
                $c = count($dirs);
-               
+
                $depth = intval($depth);
                $HTML = '';
                $a = 0;
index 8cb0a13..c2da5fb 100755 (executable)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2006 Sebastian Kurfuerst (sebastian@garbage-group.de)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2006-2008 Sebastian Kurfuerst (sebastian@garbage-group.de)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index d47c283..3821951 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -60,7 +60,7 @@ require_once(PATH_t3lib.'class.t3lib_browsetree.php');
 
 
 /**
- * Extension class for the t3lib_browsetree class, specially made 
+ * Extension class for the t3lib_browsetree class, specially made
  * for browsing pages in the Web module
  *
  * @author     Kasper Skaarhoj <kasperYYYY@typo3.com>
@@ -168,7 +168,7 @@ class webPageTree extends t3lib_browseTree {
                return '<span class="dragTitle" id="dragTitleID_'.$row['uid'].'">'.$thePageTitle.'</span>';
        }
 
-       
+
        /**
         * Compiles the HTML code for displaying the structure found inside the ->tree array
         *
@@ -203,7 +203,7 @@ class webPageTree extends t3lib_browseTree {
                        }
                }
 
-               // we need to count the opened <ul>'s every time we dig into another level, 
+               // we need to count the opened <ul>'s every time we dig into another level,
                // so we know how many we have to close when all children are done rendering
                $closeDepth = array();
 
@@ -213,7 +213,7 @@ class webPageTree extends t3lib_browseTree {
                        $idAttr = htmlspecialchars($this->domIdPrefix.$this->getId($v['row']).'_'.$v['bank']);
                        $itemHTML  = '';
 
-                       // if this item is the start of a new level, 
+                       // if this item is the start of a new level,
                        // then a new level <ul> is needed, but not in ajax mode
                        if($v['isFirst'] && !($doCollapse) && !($doExpand && $expandedPageUid == $uid)) {
                                $itemHTML = '<ul>';
@@ -255,7 +255,7 @@ class webPageTree extends t3lib_browseTree {
                        if($doExpand && $expandedPageUid == $uid) {
                                $ajaxOutput .= $itemHTML;
                                $invertedDepthOfAjaxRequestedItem = $v['invertedDepth'];
-                       } elseif($invertedDepthOfAjaxRequestedItem) { 
+                       } elseif($invertedDepthOfAjaxRequestedItem) {
                                if($v['invertedDepth'] < $invertedDepthOfAjaxRequestedItem) {
                                        $ajaxOutput .= $itemHTML;
                                } else {
@@ -336,7 +336,7 @@ class webPageTree extends t3lib_browseTree {
                        // Init done:
                $titleLen = intval($this->BE_USER->uc['titleLen']);
                $treeArr = array();
-               
+
                        // Traverse mounts:
                foreach($this->MOUNTS as $idx => $uid)  {
 
@@ -412,7 +412,7 @@ class webPageTree extends t3lib_browseTree {
                $outOfMenuPagesTextIndex = array();
                while ($crazyRecursionLimiter > 0 && $row = $this->getDataNext($res,$subCSSclass))      {
                        $crazyRecursionLimiter--;
-       
+
                                // Not in menu:
                                // @TODO: RFC #7370: doktype 2&5 are deprecated since TYPO3 4.2-beta1
                        if ($this->ext_separateNotinmenuPages && (t3lib_div::inList('5,6',$row['doktype']) || $row['doktype']>=200 || $row['nav_hide']))        {
@@ -430,11 +430,11 @@ class webPageTree extends t3lib_browseTree {
                        if ($this->ext_alphasortNotinmenuPages) {
                                asort($outOfMenuPagesTextIndex);
                                $label_shownAlphabetically = " (alphabetic)";
-                       } 
+                       }
                        foreach($outOfMenuPagesTextIndex as $idx => $txt)       {
                                $outOfMenuPages_alphabetic[] = $outOfMenuPages[$idx];
                        }
-       
+
                                // Merge:
                        $outOfMenuPages_alphabetic[0]['_FIRST_NOT_IN_MENU']=TRUE;
                        $allRows = array_merge($inMenuPages,$outOfMenuPages_alphabetic);
@@ -445,7 +445,7 @@ class webPageTree extends t3lib_browseTree {
                        // Traverse the records:
                foreach ($allRows as $row)      {
                        $a++;
-                       
+
                        $newID = $row['uid'];
                        $this->tree[]=array();    // Reserve space.
                        end($this->tree);
@@ -481,7 +481,7 @@ class webPageTree extends t3lib_browseTree {
                                } else {
                                        $HTML = '';
                                }
-                               
+
                                $HTML.= $this->PMicon($row,$a,$c,$nextCount,$exp);
                                $HTML.= $this->wrapStop($this->getIcon($row),$row);
                        }
index 236b65c..8c2c066 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -205,7 +205,7 @@ class SC_db_list {
                        // Start document template object:
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->backPath = $BACK_PATH;
-               $this->doc->setModuleTemplate('templates/db_list.html');        
+               $this->doc->setModuleTemplate('templates/db_list.html');
                $this->doc->docType='xhtml_trans';
 
                        // Loading current page record and checking access:
@@ -353,7 +353,7 @@ class SC_db_list {
                                // Setting up the context sensitive menu:
                        $this->doc->getContextMenuCode();
                } // access
-               
+
                        // Begin to compile the whole page, starting out with page header:
                $this->body='';
                $this->body.= '<form action="'.htmlspecialchars($dblist->listURL()).'" method="post" name="dblistForm">';
@@ -406,7 +406,7 @@ class SC_db_list {
                        'CSH' => $docHeaderButtons['csh'],
                        'CONTENT' => $this->body
                );
-               
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage('DB list');
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
index edcee6e..9b60b62 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -185,7 +185,7 @@ class SC_db_new {
                $this->doc->setModuleTemplate('templates/db_new.html');
                $this->doc->docType= 'xhtml_trans';
                $this->doc->JScode='';
-               
+
                        // Setting up the context sensitive menu:
                $this->doc->getContextMenuCode();
 
@@ -264,7 +264,7 @@ class SC_db_new {
                                $iconImgTag = '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/i/_icon_website.gif') . ' title="' . htmlspecialchars($this->pageinfo['_thePath']) . '" alt="" />';
                                $title = $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'];
                        }
-       
+
                        $this->code = '<span class="typo3-moduleHeader">' . $this->doc->wrapClickMenuOnIcon($iconImgTag, 'pages', $this->pageinfo['uid']) . htmlspecialchars(t3lib_div::fixed_lgd_cs($title, 45)) . '</span><br />';
 
                        $this->R_URI = $this->returnUrl;
@@ -278,13 +278,13 @@ class SC_db_new {
 
                                // Add all the content to an output section
                        $this->content.=$this->doc->section('',$this->code);
-                       
+
                                                        // Setting up the buttons and markers for docheader
                        $docHeaderButtons = $this->getButtons();
                        $markers['CSH'] = $docHeaderButtons['csh'];
-                       
+
                        $markers['CONTENT'] = $this->content;
-                       
+
                                // Build the <body> for the module
                        $this->content = $this->doc->startPage($LANG->sL('LLL:EXT:lang/locallang_core.php:db_new.php.pagetitle'));
                        $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -292,7 +292,7 @@ class SC_db_new {
                        $this->content = $this->doc->insertStylesAndJS($this->content);
                }
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
@@ -300,7 +300,7 @@ class SC_db_new {
         */
        private function getButtons()   {
                global $LANG, $BACK_PATH;
-               
+
                $buttons = array(
                        'csh' => '',
                        'back' => '',
@@ -308,8 +308,8 @@ class SC_db_new {
                        'new_page' => '',
                        'record_list' => ''
                );
-                       
-                       
+
+
                if (!$this->pagesOnly)  {       // Regular new element:
                                // New page
                        if ($this->showNewRecLink('pages'))     {
@@ -336,7 +336,7 @@ class SC_db_new {
                        $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $this->backPath, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '">' .
                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/zoom.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '" alt="" />' .
                                '</a>';
-                               
+
                                // Record list
                        if ($GLOBALS['BE_USER']->check('modules', 'web_list')) {
                                $href = $this->backPath . 'db_list.php?id=' . $this->pageinfo['uid'] . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'));
@@ -345,7 +345,7 @@ class SC_db_new {
                                        '</a>';
                        }
                }
-               
+
 
 
                return $buttons;
index bd38dc6..41fe47a 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e2563a7..a84e690 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -130,7 +130,7 @@ class SC_file_edit {
                        case 'group':   $this->icon = 'gfx/i/_icon_ftp_group.gif';      break;
                        default:                $this->icon = 'gfx/i/_icon_ftp.gif';    break;
                }
-               
+
                $this->icon = '<img'.t3lib_iconWorks::skinImg($this->backPath,$this->icon,'width="18" height="16"').' title="" alt="" />';
 
                        // Relative path to filemount, $key:
@@ -138,13 +138,13 @@ class SC_file_edit {
 
                        // Setting title:
                $this->title = $this->icon.$GLOBALS['FILEMOUNTS'][$key]['name'].': '.$this->shortPath;
-               
+
                // ***************************
                // Setting template object
                // ***************************
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->docType = 'xhtml_trans';
-               $this->doc->setModuleTemplate('templates/file_edit.html');              
+               $this->doc->setModuleTemplate('templates/file_edit.html');
                $this->doc->backPath = $BACK_PATH;
                $this->doc->JScode=$this->doc->wrapScriptTags('
                        function backToList()   {       //
@@ -162,7 +162,7 @@ class SC_file_edit {
        function main() {
                global $BE_USER, $LANG, $TYPO3_CONF_VARS;
                $docHeaderButtons = $this->getButtons();
-               
+
                $this->content = $this->doc->startPage($LANG->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.pagetitle'));
 
                $pageContent = $this->doc->header($LANG->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.pagetitle'));
@@ -210,12 +210,12 @@ class SC_file_edit {
                        'CONTENT' => $pageContent,
                        'PATH' => $this->title,
                );
-               
+
                $this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
                $this->content.= $this->doc->endPage();
                $this->content = $this->doc->insertStylesAndJS($this->content);
-               
-               
+
+
        }
 
        /**
@@ -226,16 +226,16 @@ class SC_file_edit {
        function printContent() {
                echo $this->content;
        }
-       
+
        /**
         * Builds the buttons for the docheader and returns them as an array
         *
         * @return array
         **/
        function getButtons() {
-               
+
                $buttons = array();
-               
+
                        // CSH button
                $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'file_edit', $GLOBALS['BACK_PATH']);
 
@@ -246,11 +246,11 @@ class SC_file_edit {
                        // Save and Close button
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/saveandclosedok.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.saveAndClose',1)).'" alt="" />';
                $buttons['SAVE_CLOSE'] = '<a href="#" onclick="document.editform.redirect.value=\''.htmlspecialchars($this->returnUrl).'\'; document.editform.submit();">'.$theIcon.'</a>';
-               
+
                        // Cancel button
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/closedok.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.cancel',1)).'" alt="" />';
                $buttons['CANCEL'] = '<a href="#" onclick="backToList(); return false;">'.$theIcon.'</a>';
-               
+
                return $buttons;
        }
 }
index aee8082..2489a22 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -249,12 +249,12 @@ class SC_file_list {
 
                                // Setting up the buttons and markers for docheader
                        list($buttons, $otherMarkers) = $this->filelist->getButtonsAndOtherMarkers($this->id);
-                       
+
                                // add the folder info to the marker array
                        $otherMarkers['FOLDER_INFO'] = $this->filelist->getFolderInfo();
-                       
+
                        $docHeaderButtons = array_merge($this->getButtons(), $buttons);
-                       
+
                                // Build the <body> for the module
                        $this->content = $this->doc->startPage('Template Tools');
 
@@ -264,36 +264,36 @@ class SC_file_list {
                        $pageContent.= '<form action="'.htmlspecialchars($this->filelist->listURL()).'" method="post" name="dblistForm">';
                        $pageContent.= $this->filelist->HTMLcode;
                        $pageContent.= '<input type="hidden" name="cmd" /></form>';
-               
-               
+
+
                        if ($this->filelist->HTMLcode)  {       // Making listing options:
-               
+
                                $pageContent.='
-               
+
                                        <!--
                                                Listing options for clipboard and thumbnails
                                        -->
                                        <div id="typo3-listOptions">
                                ';
-               
+
                                        // Add "display thumbnails" checkbox:
                                $pageContent.=t3lib_BEfunc::getFuncCheck($this->id,'SET[displayThumbs]',$this->MOD_SETTINGS['displayThumbs'],'file_list.php','','id="checkDisplayThumbs"').' <label for="checkDisplayThumbs">'.$LANG->getLL('displayThumbs',1).'</label><br />';
-               
+
                                        // Add clipboard button
                                $pageContent.=t3lib_BEfunc::getFuncCheck($this->id,'SET[clipBoard]',$this->MOD_SETTINGS['clipBoard'],'file_list.php','','id="checkClipBoard"').' <label for="checkClipBoard">'.$LANG->getLL('clipBoard',1).'</label>';
-               
+
                                $pageContent.='
                                        </div>
                                ';
-               
-               
+
+
                                        // Set clipboard:
                                if ($this->MOD_SETTINGS['clipBoard'])   {
                                        $pageContent.=$this->filelist->clipObj->printClipboard();
                                        $pageContent.= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'filelist_clipboard', $GLOBALS['BACK_PATH']);
                                }
                        }
-                       
+
                        $markerArray = array(
                                'CSH' => $docHeaderButtons['csh'],
                                'FUNC_MENU' => t3lib_BEfunc::getFuncMenu($this->id, 'SET[function]', $this->MOD_SETTINGS['function'], $this->MOD_MENU['function']),
@@ -303,7 +303,7 @@ class SC_file_list {
                        $this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, array_merge($markerArray, $otherMarkers));
                        $this->content.= $this->doc->endPage();
                        $this->content = $this->doc->insertStylesAndJS($this->content);
-                       
+
                } else {
                                // Create output - no access (no warning though)
                        $this->content = '';
@@ -323,7 +323,7 @@ class SC_file_list {
        function printContent() {
                echo $this->content;
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
@@ -331,7 +331,7 @@ class SC_file_list {
         */
        function getButtons()   {
                global $TCA, $LANG, $BACK_PATH, $BE_USER;
-       
+
                $buttons = array(
                        'csh' => '',
                        'shortcut' => '',
@@ -343,20 +343,20 @@ class SC_file_list {
                if ($BE_USER->mayMakeShortcut())        {
                        $buttons['shortcut'] = $this->doc->makeShortcutIcon('pointer,id,target,table',implode(',',array_keys($this->MOD_MENU)),$this->MCONF['name']);
                }
-       
+
                        // FileList Module CSH:
                $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'filelist_module', $GLOBALS['BACK_PATH']);
-       
+
                        // upload button
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/upload.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.upload',1)).'" alt="" />';
                $buttons['upload'] = '<a href="'.$BACK_PATH.'file_upload.php?target='.htmlspecialchars($this->id).'&returnUrl='.htmlspecialchars($this->filelist->listURL()).'">'.$theIcon.'</a>';
-       
+
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/new_file.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.new',1)).'" alt="" />';
                $buttons['new'] = '<a href="'.$BACK_PATH.'file_newfolder.php?target='.htmlspecialchars($this->id).'&returnUrl='.htmlspecialchars($this->filelist->listURL()).'">'.$theIcon.'</a>';
-               
+
                return $buttons;
        }
-       
+
 }
 
 // Include extension?
index af387fa..e1d9f32 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -137,13 +137,13 @@ class SC_file_newfolder {
                }
 
                $this->icon = '<img'.t3lib_iconWorks::skinImg($this->backPath,$this->icon,'width="18" height="16"').' title="" alt="" />';
-               
+
                        // Relative path to filemount, $key:
                $this->shortPath = substr($this->target,strlen($GLOBALS['FILEMOUNTS'][$key]['path']));
 
                        // Setting title:
                $this->title = $this->icon.$GLOBALS['FILEMOUNTS'][$key]['name'].': '.$this->shortPath;
-               
+
                        // Setting template object
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->docType = 'xhtml_trans';
@@ -173,11 +173,11 @@ class SC_file_newfolder {
         */
        function main() {
                global $LANG;
-               
+
                        // start content compilation
                $this->content.=$this->doc->startPage($LANG->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.pagetitle'));
-               
-               
+
+
                        // Make page header:
                $pageContent='';
                $pageContent.=$this->doc->header($LANG->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.pagetitle'));
@@ -267,9 +267,9 @@ class SC_file_newfolder {
                        'FUNC_MENU' => t3lib_BEfunc::getFuncMenu($this->id, 'SET[function]', $this->MOD_SETTINGS['function'], $this->MOD_MENU['function']),
                        'CONTENT' => $pageContent,
                        'PATH' => $this->title,
-               );      
+               );
 
-               $this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);      
+               $this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
                $this->content.= $this->doc->endPage();
 
                $this->content = $this->doc->insertStylesAndJS($this->content);
index 3b8f014..d155785 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -203,7 +203,7 @@ class SC_file_rename {
                        'CONTENT' => $pageContent,
                        'PATH' => $this->title,
                );
-               
+
                $this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
                $this->content.= $this->doc->endPage();
                $this->content = $this->doc->insertStylesAndJS($this->content);
index 9130308..0cdef6f 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -146,7 +146,7 @@ class SC_file_upload {
                }
 
                $this->icon = '<img'.t3lib_iconWorks::skinImg($this->backPath,$this->icon,'width="18" height="16"').' title="" alt="" />';
-               
+
                        // Relative path to filemount, $key:
                $this->shortPath = substr($this->target,strlen($GLOBALS['FILEMOUNTS'][$key]['path']));
 
@@ -248,7 +248,7 @@ class SC_file_upload {
 
                        // Add the HTML as a section:
                $pageContent.= $this->doc->section('',$code);
-               
+
                $docHeaderButtons = array();
 
                        // Add the HTML as a section:
@@ -258,7 +258,7 @@ class SC_file_upload {
                        'CONTENT' => $pageContent,
                        'PATH' => $this->title,
                );
-               
+
                $this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
                $this->content.= $this->doc->endPage();
                $this->content = $this->doc->insertStylesAndJS($this->content);
index ba540a7..73b8d9c 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4834742..5b7067d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index f81f9b0..ec005cf 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index f2161e3..fa85700 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 7dde6b3..b40da0f 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 60f18fc..23e8246 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -136,26 +136,26 @@ class SC_mod_help_about_index {
        function printContent() {
                echo $this->content;
        }
-       
+
        /**
         * gets the author names from the installed extensions
-        * 
+        *
         * @return      string  list of extensions authors and their e-mail
         */
        function getExtensionAuthors() {
                $content = '<table border="0" cellspacing="2" cellpadding="1"><tr><th>Extension</th><th>Author</th></tr>';
-               
+
                $loadedExtensions = $GLOBALS['TYPO3_LOADED_EXT'];
                foreach ($loadedExtensions as $extensionKey => $extension) {
                        if (is_array($extension) && $extension['type'] != 'S') {
                                $emconfPath = PATH_site.$extension['siteRelPath'].'ext_emconf.php';
                                include($emconfPath);
-                                                               
+
                                $emconf = $EM_CONF['']; // ext key is not set when loading the ext_emconf.php directly
-                               
+
                                $content.= '<tr><td>'.$emconf['title'].' ('.$extensionKey.')</td>'.
                                                                '<td><a href="mailto:'.$emconf['author_email'].'?subject='.rawurlencode('Thanks for your '.$emconf['title'].' extension').'">'.$emconf['author'].'</a></td></tr>';
-                       }               
+                       }
                }
 
                $content.= '</table>';
index 074b592..24d54b1 100644 (file)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2005-2006 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2005-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 8569b80..9cfcd2c 100644 (file)
@@ -2,8 +2,8 @@
 /* **************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2006 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2006-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4a1ee7c..c4de9d4 100644 (file)
@@ -3,7 +3,7 @@
 *  Copyright notice
 *
 *  (c) Vincent Blavet <vincent@phpconcept.net>
-*  (c) 2005-2006 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 2005-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This library is free software; you can redistribute it and/or
index 17d9bcc..f4f58bf 100644 (file)
@@ -2,7 +2,7 @@
 /* **************************************************************
 *  Copyright notice
 *
-*  (c) 2006-2007 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 2006-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4a7996b..5f3003a 100755 (executable)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
- * (c) 2005-2006 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+ * (c) 2005-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 207ab37..849acaf 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -171,7 +171,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
                        // CLEANSE SETTINGS
                $this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name'], 'ses');
        }
-       
+
        /**
         * Executes action for selected elements, if any is sent:
         */
@@ -183,10 +183,10 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
                if ($post['_with_selected_do']) {
                        if (is_array($post['items']) && count($post['items']))  {
                                $cmdArray = array();
-                               
+
                                foreach($post['items'] as $item => $v)  {
                                        list($table,$uid) = explode(':',$item,2);
-                                       
+
                                        if ($GLOBALS['TCA'][$table] && t3lib_div::testInt($uid))        {
                                                switch($post['_with_selected_do'])      {
                                                        case "stage_-1":
@@ -335,20 +335,20 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
                                // Add hidden fields and create tabs:
                        $content = $this->doc->getDynTabMenu($menuItems,'user_ws');
                        $this->content.=$this->doc->section('',$content,0,1);
-                       
+
                                // Setting up the buttons and markers for docheader
                        $docHeaderButtons = $this->getButtons();
                        // $markers['CSH'] = $docHeaderButtons['csh'];
-                       
+
                }
                $markers['CONTENT'] = $this->content;
-               
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage($LANG->getLL('title'));
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
                $this->content.= $this->doc->endPage();
                $this->content = $this->doc->insertStylesAndJS($this->content);
-                       
+
        }
 
        /**
@@ -367,7 +367,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
         */
        private function getButtons()   {
                global $LANG, $BACK_PATH;
-               
+
                $buttons = array(
                        'new_record' => '',
                );
@@ -458,7 +458,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
                        } else {
                                $actionLinks.= $this->doc->icons(1) . $LANG->getLL('no_publish_permission');
                        }
-                       
+
                                // Preview of workspace link
                        if (t3lib_div::_POST('_previewLink'))   {
                                $ttlHours = intval($GLOBALS['BE_USER']->getTSConfigVal('options.workspaces.previewLinkTTLHours'));
index bdda1bf..26136be 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index a8a661b..06aea25 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -218,12 +218,12 @@ class SC_mod_user_ws_workspaceForms extends t3lib_SCbase {
                $this->content .= $this->tceforms->printNeededJSFunctions_top();
                $this->content .= $this->buildForm();
                $this->content .= $this->tceforms->printNeededJSFunctions();
-               
+
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
                // $markers['CSH'] = $docHeaderButtons['csh'];
                $markers['CONTENT'] = $this->content;
-               
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage($this->getTitle());
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -247,20 +247,20 @@ class SC_mod_user_ws_workspaceForms extends t3lib_SCbase {
         */
        private function getButtons()   {
                global $LANG;
-               
+
                $buttons = array(
                        'close' => '',
                        'save' => '',
                        'save_close' => ''
                );
-                       
+
                        // Close,  `n` below is simply to prevent caching
-               $buttons['close'] = '<a href="index.php?n=' . uniqid('wksp') . '"><img' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/closedok.gif') . ' class="c-inputButton" title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', 1) . '" alt="" /></a>';      
+               $buttons['close'] = '<a href="index.php?n=' . uniqid('wksp') . '"><img' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/closedok.gif') . ' class="c-inputButton" title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', 1) . '" alt="" /></a>';
                        // Save
-               $buttons['save'] = '<input type="image" class="c-inputButton" name="_savedok"' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" value="_savedok" />'; 
+               $buttons['save'] = '<input type="image" class="c-inputButton" name="_savedok"' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" value="_savedok" />';
                        // Save & Close
                $buttons['save_close'] = '<input type="image" class="c-inputButton" name="_saveandclosedok"' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" value="_saveandclosedok" />';
-               
+
                return $buttons;
        }
 
index b6dc885..6686983 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 30202bc..dfffa63 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -96,14 +96,14 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                // The page will show only if there is a valid page and if this page may be viewed by the user
                $this->pageinfo = t3lib_BEfunc::readPageAccess($this->id,$this->perms_clause);
                $access = is_array($this->pageinfo) ? 1 : 0;
-               
+
                        // Template markers
                $markers = array(
                        'CSH' => '',
                        'FUNC_MENU' => '',
                        'CONTENT' => ''
                );
-               
+
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->backPath = $BACK_PATH;
                $this->doc->setModuleTemplate('templates/func.html');
@@ -142,7 +142,7 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                                // Function Module CSH:
                        $this->content.= t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH'],'<br/><br/>|', FALSE, 'margin-top: 30px;');
                        $this->content.=$this->doc->spacer(10);
-                       
+
                                // Setting up the buttons and markers for docheader
                        $docHeaderButtons = $this->getButtons();
                        $markers['CSH'] = $docHeaderButtons['csh'];
@@ -151,11 +151,11 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                } else {
                                // If no access or if ID == zero
                        $this->content = $this->doc->section($LANG->getLL('title'), $LANG->getLL('clickAPage_content'), 0, 1);
-                       
+
                                // Setting up the buttons and markers for docheader
                        $docHeaderButtons = $this->getButtons();
                        $markers['CSH'] = $docHeaderButtons['csh'];
-                       $markers['CONTENT'] = $this->content;   
+                       $markers['CONTENT'] = $this->content;
                }
                        // Build the <body> for the module
                $this->content = $this->doc->startPage($LANG->getLL('title'));
@@ -172,7 +172,7 @@ class SC_mod_web_func_index extends t3lib_SCbase {
        function printContent() {
                echo $this->content;
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
@@ -180,7 +180,7 @@ class SC_mod_web_func_index extends t3lib_SCbase {
         */
        private function getButtons()   {
                global $TCA, $LANG, $BACK_PATH, $BE_USER;
-               
+
                $buttons = array(
                        'csh' => '',
                        'view' => '',
@@ -189,19 +189,19 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                );
                        // CSH
                $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH']);
-               
+
                if($this->id && is_array($this->pageinfo)) {
-                       
+
                                // View page
                        $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $BACK_PATH, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '">' .
                                        '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/zoom.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '" hspace="3" alt="" />' .
                                        '</a>';
-       
+
                                // Shortcut
                        if ($BE_USER->mayMakeShortcut())        {
                                $buttons['shortcut'] = $this->doc->makeShortcutIcon('id, edit_record, pointer, new_unique_uid, search_field, search_levels, showLimit', implode(',', array_keys($this->MOD_MENU)), $this->MCONF['name']);
                        }
-                       
+
                                // If access to Web>List for user, then link to that module.
                        if ($BE_USER->check('modules','web_list'))      {
                                $href = $BACK_PATH . 'db_list.php?id=' . $this->pageinfo['uid'] . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'));
@@ -210,7 +210,7 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                                                '</a>';
                        }
                }
-               
+
                return $buttons;
        }
 }
index 9359d21..0b05c18 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -142,7 +142,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                                // Info Module CSH:
                        $this->content.= t3lib_BEfunc::cshItem('_MOD_web_info', '', $GLOBALS['BACK_PATH'], '<br/>|', FALSE, 'margin-top: 30px;');
                        $this->content.=$this->doc->spacer(10);
-                       
+
                                // Setting up the buttons and markers for docheader
                        $docHeaderButtons = $this->getButtons();
                        $markers = array(
@@ -150,7 +150,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                                'FUNC_MENU' => t3lib_BEfunc::getFuncMenu($this->id, 'SET[function]', $this->MOD_SETTINGS['function'], $this->MOD_MENU['function']),
                                'CONTENT' => $this->content
                        );
-                       
+
                                // Build the <body> for the module
                        $this->content = $this->doc->startPage($LANG->getLL('title'));
                        $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -175,11 +175,11 @@ class SC_mod_web_info_index extends t3lib_SCbase {
         *
         * @return      void
         */
-       function printContent() {               
+       function printContent() {
                $this->content = $this->doc->insertStylesAndJS($this->content);
                echo $this->content;
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
@@ -187,7 +187,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
         */
        private function getButtons()   {
                global $TCA, $LANG, $BACK_PATH, $BE_USER;
-               
+
                $buttons = array(
                        'csh' => '',
                        'view' => '',
@@ -196,7 +196,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                );
                        // CSH
                $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_info', '', $GLOBALS['BACK_PATH']);
-               
+
                        // View page
                $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $BACK_PATH, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '">' .
                                '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/zoom.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '" hspace="3" alt="" />' .
@@ -206,7 +206,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                if ($BE_USER->mayMakeShortcut())        {
                        $buttons['shortcut'] = $this->doc->makeShortcutIcon('id, edit_record, pointer, new_unique_uid, search_field, search_levels, showLimit', implode(',', array_keys($this->MOD_MENU)), $this->MCONF['name']);
                }
-               
+
                        // If access to Web>List for user, then link to that module.
                if ($BE_USER->check('modules','web_list'))      {
                        $href = $BACK_PATH . 'db_list.php?id=' . $this->pageinfo['uid'] . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'));
@@ -216,7 +216,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                }
                return $buttons;
        }
-       
+
 }
 
 // Include extension?
index ccf3579..b8c2f8e 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index d2bdda4..927a509 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -400,12 +400,12 @@ class SC_move_el {
                                // Add the $code content as a new section to the module:
                        $this->content.=$this->doc->section($LANG->getLL('selectPositionOfElement').':',$code,0,1);
                }
-               
+
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
-               $markers['CSH'] = $docHeaderButtons['csh'];     
+               $markers['CSH'] = $docHeaderButtons['csh'];
                $markers['CONTENT'] = $this->content;
-               
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage($LANG->getLL('movingElement'));
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -421,7 +421,7 @@ class SC_move_el {
        function printContent() {
                echo $this->content;
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
@@ -429,12 +429,12 @@ class SC_move_el {
         */
        private function getButtons()   {
                global $LANG, $BACK_PATH;
-               
+
                $buttons = array(
                        'csh' => '',
-                       'back' => ''                    
+                       'back' => ''
                );
-                       
+
                if ($this->page_id)     {
                        if ((string)$this->table == 'pages') {
                                        // CSH
@@ -443,13 +443,13 @@ class SC_move_el {
                                        // CSH
                                $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'move_el_cs', $GLOBALS['BACK_PATH'], '');
                        }
-                       
+
                        if ($this->R_URI) {
                                        // Back
                                $buttons['back'] ='<a href="' . htmlspecialchars($this->R_URI) . '" class="typo3-goBack"><img' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/goback.gif') . ' alt="" title="' . $LANG->getLL('goBack', 1) .'" /></a>';
                        }
                }
-               
+
                return $buttons;
        }
 }
index 81c389d..e282446 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 9d0a05e..263647e 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -119,10 +119,10 @@ class SC_show_rechis {
                $this->content .= $historyObj->main();
 
                        // Setting up the buttons and markers for docheader
-               $docHeaderButtons = $this->getButtons();        
+               $docHeaderButtons = $this->getButtons();
                $markers['CONTENT'] = $this->content;
                $markers['CSH'] = $docHeaderButtons['csh'];
-               
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage($LANG->getLL('title'));
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -139,19 +139,19 @@ class SC_show_rechis {
                $this->content = $this->doc->insertStylesAndJS($this->content);
                echo $this->content;
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
         * @return      array   all available buttons as an assoc. array
         */
-       private function getButtons() {         
+       private function getButtons() {
                $buttons = array(
                        'csh' => '',
-                       'back' => ''            
+                       'back' => ''
                );
 
-                       // CSH  
+                       // CSH
                $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'history_log', $GLOBALS['BACK_PATH'], '');
 
                        // Start history object
@@ -160,7 +160,7 @@ class SC_show_rechis {
                if ($historyObj->returnUrl)     {
                        $buttons['back']= '<a href="' . htmlspecialchars($historyObj->returnUrl) . '" class="typo3-goBack"><img' . t3lib_iconWorks::skinImg('', 'gfx/goback.gif') . ' alt="" title="' . $GLOBALS['LANG']->getLL('returnLink', 1) . '" /></a>';
                }
-               
+
                return $buttons;
        }
 }
index 54f6878..8adc6df 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 17cd280..185efe4 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -300,12 +300,12 @@ class SC_mod_tools_log_index {
                $this->content.=$this->doc->section($header,$this->doc->table($codeArr));
 
                $GLOBALS['TYPO3_DB']->sql_free_result($log);
-               
+
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
                //$markers['CSH'] = $docHeaderButtons['csh'];
                $markers['CONTENT'] = $this->content;
-                       
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage('Administration log');
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -321,21 +321,21 @@ class SC_mod_tools_log_index {
        function printContent() {
                echo $this->content;
        }
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
         * @return      array   all available buttons as an assoc. array
         */
        private function getButtons()   {
-               
+
                $buttons = array(
                        'csh' => '',
                        'shortcut' => ''
                );
                        // CSH
                //$buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH']);
-               
+
                        // Shortcut
                if ($GLOBALS['BE_USER']->mayMakeShortcut())     {
                        $buttons['shortcut'] = $this->doc->makeShortcutIcon('','users,time,max,action',$this->MCONF['name']);
index d7c509d..be38bed 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -73,7 +73,7 @@ class tx_beuser {
 
                        // Detecting menu level
                if ($BE_USER->isAdmin() && !$backRef->cmLevel && $table == 'be_users')  {       // LEVEL: Primary menu.
-                       
+
                                // "SU" element added:
                        $url = 'mod.php?M=tools_beuser&SwitchUser='.rawurlencode($uid).'&switchBackUser=1';
                        $localItems[] = $backRef->linkItem(
@@ -82,7 +82,7 @@ class tx_beuser {
                                $backRef->urlRefForCM($url,'',1,'top'),
                                1
                        );
-                       
+
                        $menuItems=array_merge($menuItems,$localItems);
                }
                return $menuItems;
index e0a7fe3..237f0b9 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 6c1f695..977f465 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -1114,7 +1114,7 @@ class SC_mod_tools_be_user_index {
 
        /**
         * Basic initialization of the class
-        * 
+        *
         * @return      void
         */
        function init() {
@@ -1132,7 +1132,7 @@ class SC_mod_tools_be_user_index {
                $this->doc->setModuleTemplate('templates/beuser.html');
                $this->doc->docType = 'xhtml_trans';
                $this->doc->form='<form action="" method="POST">';
-               
+
                                // JavaScript
                $this->doc->JScode = $this->doc->wrapScriptTags('
                        script_ended = 0;
@@ -1143,7 +1143,7 @@ class SC_mod_tools_be_user_index {
        }
 
        /**
-        * Initialization of the module menu configuration 
+        * Initialization of the module menu configuration
         *
         * @return      void
         */
@@ -1186,13 +1186,13 @@ class SC_mod_tools_be_user_index {
                        case 'whoisonline':
                                $this->content.=$this->whoIsOnline();
                        break;
-               }               
+               }
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
                //$markers['CSH'] = $docHeaderButtons['csh'];
                $markers['FUNC_MENU'] = t3lib_BEfunc::getFuncMenu(0,'SET[function]',$this->MOD_SETTINGS['function'],$this->MOD_MENU['function']);
                $markers['CONTENT'] = $this->content;
-                       
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage('Backend User Administration');
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -1215,7 +1215,7 @@ class SC_mod_tools_be_user_index {
         * @return      array   all available buttons as an assoc. array
         */
        private function getButtons()   {
-               
+
                $buttons = array(
                        'csh' => '',
                        'shortcut' => '',
@@ -1223,15 +1223,15 @@ class SC_mod_tools_be_user_index {
                );
                        // CSH
                //$buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH']);
-               
+
                        // Shortcut
                if ($GLOBALS['BE_USER']->mayMakeShortcut())     {
                        $buttons['shortcut'] = $this->doc->makeShortcutIcon('be_user_uid,compareFlags','function', $this->MCONF['name']);
                }
-                       
+
                        // Save
                if($this->MOD_SETTINGS['function'] == 'compare' && !t3lib_div::_GP('be_user_uid')) {
-                       $buttons['save'] = '<input type="image" class="c-inputButton" name="ads"'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/savedok.gif','').' title="Update" value="Update" />';              
+                       $buttons['save'] = '<input type="image" class="c-inputButton" name="ads"'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/savedok.gif','').' title="Update" value="Update" />';
                }
                return $buttons;
        }
@@ -1248,7 +1248,7 @@ class SC_mod_tools_be_user_index {
 
        /**
         * Compares the users with the given flags
-        * 
+        *
         * @param       array           options that should be taking into account to compare the users
         * @return      string          the content
         */
@@ -1442,7 +1442,7 @@ class SC_mod_tools_be_user_index {
        /**
         * Builds a list of all links for a specific element (here: BE user) and returns it for print.
         *
-        * @param       string          the db table that should be used 
+        * @param       string          the db table that should be used
         * @param       array           the BE user record to use
         * @return      string          a HTML formatted list of the link
         */
index 03341ef..3277d12 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -1533,7 +1533,7 @@ class tx_cms_layout extends recordList {
                                                '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/recordlock_warning3.gif','width="17" height="12"').' title="'.htmlspecialchars($lockInfo['msg']).'" alt="" />'.
                                                '</a>';
                } else $lockIcon='';
-               
+
                        // Call stats information hook
                $stat = '';
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks']))  {
@@ -1985,7 +1985,7 @@ class tx_cms_layout extends recordList {
                                unset($langSelItems[$row['uid']]);
                        }
                                // Remove disallowed languages
-                       if (count($langSelItems) > 1 && 
+                       if (count($langSelItems) > 1 &&
                                !$GLOBALS['BE_USER']->user['admin'] &&
                                strlen($GLOBALS['BE_USER']->dataLists['allowed_languages'])) {
 
index f588d25..7bf5f57 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -406,7 +406,7 @@ class SC_db_layout {
                                // Start document template object:
                        $this->doc = t3lib_div::makeInstance('template');
                        $this->doc->backPath = $BACK_PATH;
-                       $this->doc->setModuleTemplate('templates/db_layout.html');                      
+                       $this->doc->setModuleTemplate('templates/db_layout.html');
                        $this->doc->docType='xhtml_trans';
 
                                // JavaScript:
@@ -535,14 +535,14 @@ class SC_db_layout {
                                'TOP_FUNCTION_MENU' => $this->editSelect . $this->topFuncMenu,
                                'LANGSELECTOR' => $this->languageMenu,
                                'CONTENT' => $body
-                       );      
+                       );
 
                                // Build the <body> for the module
                        $this->content = $this->doc->startPage($LANG->getLL('title'));
                        $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
                        $this->content.= $this->doc->endPage();
                        $this->content = $this->doc->insertStylesAndJS($this->content);
-                       
+
                } else {
 
                                // If no access or id value, create empty document:
@@ -550,21 +550,21 @@ class SC_db_layout {
                        $this->doc->docType='xhtml_trans';
                        $this->doc->backPath = $BACK_PATH;
                        $this->doc->setModuleTemplate('templates/db_layout.html');
-                       
+
                        $this->doc->JScode = $this->doc->wrapScriptTags('
                                if (top.fsMod) top.fsMod.recentIds["web"] = '.intval($this->id).';
                        ');
-                       
+
                        $body = $this->doc->section($LANG->getLL('clickAPage_header'), $LANG->getLL('clickAPage_content'), 0, 1);
-                       
+
                                // Setting up the buttons and markers for docheader
                        $docHeaderButtons = array(
                                'view' => '',
-                               'history_page' => '', 
-                               'new_content' => '', 
+                               'history_page' => '',
+                               'new_content' => '',
                                'move_page' => '',
                                'move_record' => '',
-                               'new_page' => '', 
+                               'new_page' => '',
                                'edit_page' => '',
                                'record_list' => '',
                                'csh' => '',
@@ -577,14 +577,14 @@ class SC_db_layout {
                                'undo' => '',
                                'history_record' => ''
                        );
-                               
+
                        $markers = array(
                                'CSH' => t3lib_BEfunc::cshItem($this->descrTable, '', $BACK_PATH),
                                'TOP_FUNCTION_MENU' => '',
                                'LANGSELECTOR' => '',
                                'CONTENT' => $body
-                       );      
-                       
+                       );
+
                        $this->content=$this->doc->startPage($LANG->getLL('title'));
                        $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
                        $this->content.=$this->doc->endPage();
@@ -601,7 +601,7 @@ class SC_db_layout {
                global $LANG,$BE_USER,$BACK_PATH;
                        // Alternative template
                $this->doc->setModuleTemplate('templates/db_layout_quickedit.html');
-               
+
                        // Alternative form tag; Quick Edit submits its content to tce_db.php.
                $this->doc->form='<form action="'.htmlspecialchars($BACK_PATH.'tce_db.php?&prErr=1&uPT=1').'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="return TBE_EDITOR.checkSubmit(1);">';
 
@@ -676,7 +676,7 @@ class SC_db_layout {
                $prev=$this->id;        // Page is the pid if no record to put this after.
                while($cRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))      {
                        t3lib_BEfunc::workspaceOL('tt_content', $cRow);
-                       
+
                        if (is_array($cRow))    {
                                if ($first)     {
                                        if (!$edit_record)      {
@@ -1097,7 +1097,7 @@ class SC_db_layout {
 
                        // Ending page:
                $content.=$this->doc->spacer(10);
-               
+
                return $content;
        }
 
@@ -1115,7 +1115,7 @@ class SC_db_layout {
         * Sub-content functions, rendering specific parts of the module content.
         *
         ***************************/
-       
+
        /**
         * Create the panel of buttons for submitting the form or otherwise perform operations.
         *
@@ -1124,14 +1124,14 @@ class SC_db_layout {
         */
        private function getButtons($function = '')     {
                global $TCA, $LANG, $BACK_PATH, $BE_USER;
-               
+
                $buttons = array(
                        'view' => '',
-                       'history_page' => '', 
-                       'new_content' => '', 
+                       'history_page' => '',
+                       'new_content' => '',
                        'move_page' => '',
                        'move_record' => '',
-                       'new_page' => '', 
+                       'new_page' => '',
                        'edit_page' => '',
                        'record_list' => '',
                        'csh' => '',
@@ -1154,14 +1154,14 @@ class SC_db_layout {
                if ($BE_USER->mayMakeShortcut())        {
                        $buttons['shortcut'] = $this->doc->makeShortcutIcon('id, edit_record, pointer, new_unique_uid, search_field, search_levels, showLimit', implode(',', array_keys($this->MOD_MENU)), $this->MCONF['name']);
                }
-               
+
                        // Cache
                if (!$this->modTSconfig['properties']['disableAdvanced'])       {
                        $buttons['cache'] = '<a href="' . htmlspecialchars('db_layout.php?id=' . $this->pageinfo['uid'] . '&clear_cache=1') . '">' .
                                        '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/clear_cache.gif', 'width="14" height="14"') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.clear_cache', 1) . '" alt="" />' .
                                        '</a>';
                }
-               
+
                        // If access to Web>List for user, then link to that module.
                if ($BE_USER->check('modules','web_list'))      {
                        $href = $BACK_PATH . 'db_list.php?id=' . $this->pageinfo['uid'] . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'));
@@ -1169,9 +1169,9 @@ class SC_db_layout {
                                        '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/list.gif', 'width="11" height="11"') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', 1) . '" alt="" />' .
                                        '</a>';
                }
-                       
-               if (!$this->modTSconfig['properties']['disableIconToolbar'])    {               
-                       
+
+               if (!$this->modTSconfig['properties']['disableIconToolbar'])    {
+
                                // Page history
                        $buttons['history_page'] = '<a href="#" onclick="' . htmlspecialchars('jumpToUrl(\'' . $BACK_PATH . 'show_rechis.php?element=' . rawurlencode('pages:' . $this->id) . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')) . '#latest\');return false;') . '">' .
                                                '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/history2.gif', 'width="13" height="12"') . ' vspace="2" hspace="2" align="top" title="' . $LANG->getLL('recordHistory', 1) . '" alt="" />' .
@@ -1208,34 +1208,34 @@ class SC_db_layout {
                        } else {
                                $buttons['csh'] = t3lib_BEfunc::cshItem($this->descrTable, 'columns_' . $this->MOD_SETTINGS['function'], $BACK_PATH, '', FALSE, 'margin-top: 0px; margin-bottom: 0px;');
                        }
-                       
+
                        if($function == 'quickEdit') {
                                        // Save record
                                $buttons['savedok'] = '<input class="c-inputButton" type="image" name="savedok"' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/savedok.gif','') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" alt="" />';
-       
+
                                        // Save record and show page
                                $buttons['savedokshow'] = '<a href="#" onclick="' . htmlspecialchars('document.editform.redirect.value+=\'&popView=1\'; TBE_EDITOR.checkAndDoSubmit(1); return false;') . '">' .
                                        '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/savedokshow.gif', 'width="21" height="16"') . ' class="c-inputButton" title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.saveDocShow', 1) . '" alt="" />' .
                                        '</a>';
-       
+
                                        // Close record
                                $buttons['closedok'] = '<a href="#" onclick="' . htmlspecialchars('jumpToUrl(unescape(\'' . rawurlencode($this->closeUrl) . '\')); return false;') . '">' .
                                        '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/closedok.gif', 'width="21" height="16"') . ' class="c-inputButton" title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', 1) . '" alt="" />' .
                                        '</a>';
-       
+
                                        // Delete record
                                if($this->deleteButton) {
                                        $buttons['deletedok'] = '<a href="#" onclick="' . htmlspecialchars('return deleteRecord(\'' . $this->eRParts[0] . '\',\'' . $this->eRParts[1] . '\',\'' . t3lib_div::getIndpEnv('SCRIPT_NAME') . '?id=' . $this->id . '\');') . '">' .
                                                '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/deletedok.gif','width="21" height="16"') . ' class="c-inputButton" title="' . $LANG->getLL('deleteItem', 1) . '" alt="" />' .
                                                '</a>';
                                }
-                                       
-                               if($this->undoButton) {         
+
+                               if($this->undoButton) {
                                                // Undo button
                                        $buttons['undo'] = '<a href="#" onclick="' . htmlspecialchars('window.location.href=\'' . $BACK_PATH . 'show_rechis.php?element=' . rawurlencode($this->eRParts[0] . ':' . $this->eRParts[1]) . '&revert=ALL_FIELDS&sumUp=-1&returnUrl=' . rawurlencode($this->R_URI) . '\'; return false;') . '">' .
                                                '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/undo.gif', 'width="21" height="16"') . ' class="c-inputButton" title="' . htmlspecialchars(sprintf($LANG->getLL('undoLastChange'), t3lib_BEfunc::calcAge(time() - $this->undoButtonR['tstamp'], $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')))) . '" alt="" />' .
                                                '</a>';
-                                       
+
                                                // History button
                                        $buttons['history_record'] = '<a href="#" onclick="' . htmlspecialchars('jumpToUrl(\'' . $BACK_PATH . 'show_rechis.php?element=' . rawurlencode($this->eRParts[0] . ':' . $this->eRParts[1]) . '&returnUrl=' . rawurlencode($this->R_URI) . '#latest\');return false;') . '">' .
                                                '<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/history2.gif', 'width="13" height="12"') . ' class="c-inputButton" title="' . $LANG->getLL('recordHistory', 1) . '" alt="" />' .
@@ -1243,7 +1243,7 @@ class SC_db_layout {
                                }
                        }
                }
-               
+
                return $buttons;
        }
 
index 010f357..7362e64 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -207,7 +207,7 @@ class SC_db_new_content_el {
 
                        // Setting up the context sensitive menu:
                $this->doc->getContextMenuCode();
-               
+
                        // Getting the current page and receiving access information (used in main())
                $perms_clause = $BE_USER->getPagePermsClause(1);
                $this->pageinfo = t3lib_BEfunc::readPageAccess($this->id,$perms_clause);
@@ -337,12 +337,12 @@ class SC_db_new_content_el {
                        $this->content.= $this->doc->header($LANG->getLL('newContentElement'));
                        $this->content.= $this->doc->spacer(5);
                }
-               
+
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
-               $markers['CSH'] = $docHeaderButtons['csh'];     
+               $markers['CSH'] = $docHeaderButtons['csh'];
                $markers['CONTENT'] = $this->content;
-               
+
                        // Build the <body> for the module
                $this->content = $this->doc->startPage($LANG->getLL('newContentElement'));
                $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
@@ -366,13 +366,13 @@ class SC_db_new_content_el {
         */
        private function getButtons()   {
                global $LANG, $BACK_PATH;
-               
+
                $buttons = array(
                        'csh' => '',
                        'back' => ''
                );
-                       
-                       
+
+
                if ($this->id && $this->access) {
                                // CSH
                        $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_ce', $GLOBALS['BACK_PATH']);
@@ -380,11 +380,11 @@ class SC_db_new_content_el {
                                // Back
                        if ($this->R_URI)       {
                                $buttons['back'] = '<a href="' . htmlspecialchars($this->R_URI) . '" class="typo3-goBack">' .
-                                       '<img' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/goback.gif') . ' alt="" title="' . $LANG->getLL('goBack', 1) . '" />' . 
+                                       '<img' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/goback.gif') . ' alt="" title="' . $LANG->getLL('goBack', 1) . '" />' .
                                        '</a>';
                        }
                }
-               
+
 
                return $buttons;
        }
index 06a5da5..b786e10 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e532bd8..ad0ce4a 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 60cfc3f..8e89e2a 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 97fa51b..1a1ed75 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 549a67b..41805e5 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index ee6e953..b4f76e8 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -471,7 +471,7 @@ See <a href="http://wiki.typo3.org/index.php/TYPO3_3.8.1" target="_blank">wiki.t
 <!-- '.($customContent?$customContent.chr(10):'').'
        This website is powered by TYPO3 - inspiring people to share!
        TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
-       TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
+       TYPO3 is copyright 1998-2008 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
        Information and contribution at http://typo3.com/ and http://typo3.org/
 -->
 ';
index 7cb922d..d6f1d1e 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 9b3eed7..7dc4f57 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 796165d..d67061b 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index aa1e03f..fcd06c4 100755 (executable)
@@ -4,17 +4,17 @@
 *
 *
 *  Copyright notice
-* 
-*  (c) 1998-2000 Kasper Skårhøj
+*
+*  (c) 1998-2008 Kasper Skårhøj
 *  All rights reserved
 *
 *  This script is part of the standard PHP-code library provided by
 *  Kasper Skårhøj, kasper@typo3.com
-* 
+*
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-* 
+*
 *  This copyright notice MUST APPEAR in all copies of this script
 ***************************************************************/
 
index 8df37df..779f875 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index f8fec3a..a988766 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 09b9117..2a2aa4f 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 1594bb4..ca97110 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 7fd70bc..8c9957b 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index c96cb5e..067ac90 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 3053520..bdf2496 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 9385428..b4c6285 100755 (executable)
@@ -3,32 +3,32 @@
 *  JavaScript DHTML foldout menu
 *
 * $Id$
-* 
+*
 *
 *
 *  Copyright notice
-* 
-*  (c) 1998-2003 Kasper Skårhøj
+*
+*  (c) 1998-2008 Kasper Skårhøj
 *  All rights reserved
 *
 *  This script is part of the TYPO3 tslib/ library provided by
 *  Kasper Skårhøj <kasper@typo3.com> together with TYPO3
 *
 *  Released under GNU/GPL (see license file in tslib/)
-* 
+*
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-* 
+*
 *  This copyright notice MUST APPEAR in all copies of this script
 ***************************************************************/
 
 //object constructor...
 function GF_makeMenu(obj,nest,adjustH){
        nest= (!nest)?'':'document.'+nest+'.';
-       this.el= bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):document.getElementById(obj);       
+       this.el= bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):document.getElementById(obj);
        this.css= bw.ns4?this.el:this.el.style;
-       this.ref= bw.ns4?this.el.document:document;             
+       this.ref= bw.ns4?this.el.document:document;
        this.x= (bw.ns4||bw.opera)?this.css.left:this.el.offsetLeft;
        this.y= (bw.ns4||bw.opera)?this.css.top:this.el.offsetTop;
        this.height= (bw.ie4||bw.ie5||bw.ns6)?this.el.offsetHeight:bw.ns4?this.ref.height:bw.opera?this.css.pixelHeight:0;
@@ -56,7 +56,7 @@ function GF_menu(num){
     //If GFV_stayFolded is false, one fold is open, and it's not the one you clicked, we enter this if structure.
        if(bw.bw && !GFV_active && !GFV_stayFolded && GFV_currentFold!=null && GFV_currentFold!=num){
         GFV_active= true
-       
+
         //Adjusting the speed of the animation.
         GFV_foldStep1= oSub[num].height/GFV_foldSpeed
         GFV_foldStep2= oSub[GFV_currentFold].height/-GFV_foldSpeed
@@ -65,7 +65,7 @@ function GF_menu(num){
         if(GFV_foldImg) oTop[num].ref['imgA'+num].src=GFV_exImg.src
         if(GFV_foldImg) oTop[GFV_currentFold].ref['imgA'+GFV_currentFold].src=GFV_unImg.src
         oSub[num].showIt()
-               
+
         //Keeping track of what fold is opened, then do the move.
         var temp= GFV_currentFold
         GFV_currentFold= num
@@ -75,7 +75,7 @@ function GF_menu(num){
     //In the simple cases, we enter this else if structure.
     else if(bw.bw && !GFV_active){
         GFV_active= true
-       
+
         //If the sub is not visible, show it, change it's image, and expand it.
                if(!oSub[num].vis()){
                        oSub[num].showIt()
@@ -112,8 +112,8 @@ function GF_doMove(expand,collapse){
 
 //This function places everything at the exact right place and signals that the animation is done.
 function GF_placeAll(){
-    for(var i=1;i<oTop.length;i++){ 
-        if(oSub[i-1].vis()) oTop[i].moveIt(0,oTop[i-1].y+oTop[i-1].height+oSub[i-1].height) 
+    for(var i=1;i<oTop.length;i++){
+        if(oSub[i-1].vis()) oTop[i].moveIt(0,oTop[i-1].y+oTop[i-1].height+oSub[i-1].height)
         else oTop[i].moveIt(0,oTop[i-1].y+oTop[i-1].height)
     }
     GFV_active= false
@@ -145,8 +145,8 @@ function GF_initFoldout(){
 function GF_resizeForOpera()   {
        if(bw.opera){ //Opera 5 resize fix.
                if(GFV_scrX<innerWidth-10 || GFV_scrY<innerHeight-10 || GFV_scrX>innerWidth+10 || GFV_scrY>innerHeight+10){
-                       GFV_scrX= innerWidth; 
-                       GFV_scrY= innerHeight;  
+                       GFV_scrX= innerWidth;
+                       GFV_scrY= innerHeight;
                        GF_initFoldout();
                }
        }
index 05ac149..1480347 100755 (executable)
@@ -8,7 +8,7 @@
 *
 *  Copyright notice
 *
-*  (c) 1998-2003 Kasper Skårhøj
+*  (c) 1998-2008 Kasper Skårhøj
 *  All rights reserved
 *
 *  This script is part of the TYPO3 tslib/ library provided by
index e9a8b36..ca1933e 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 361c4df..3d1e700 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index b373fcb..a764185 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 15edd35..d8fc997 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 8cc05e8..fa719fd 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 3f5b0a1..bbdab5c 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 7578a37..a87611d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index d88289d..de302fa 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index ff3d8ad..928843d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 264ce6c..64962f9 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 7bdcd2e..eb37741 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e37d163..4c9bff0 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -717,7 +717,7 @@ class tx_cssstyledcontent_pi1 extends tslib_pibase {
                                } else {
                                        $imageSpace = $origImages[$imgKey][0] + $border*($borderSpace+$borderThickness)*2;
                                }
-                                       
+
                                $GLOBALS['TSFE']->register['IMAGE_NUM'] = $imgKey;
                                $GLOBALS['TSFE']->register['IMAGE_NUM_CURRENT'] = $imgKey;
                                $GLOBALS['TSFE']->register['ORIG_FILENAME'] = $origImages[$imgKey]['origFile'];
index 5e0d606..1dc46af 100755 (executable)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2006-2007 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2006-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 4980023..2a11232 100644 (file)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2004-2007 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -165,7 +165,7 @@ class ux_t3lib_DB extends t3lib_DB {
 
        /**
         * SQL parser
-        * 
+        *
         * @var t3lib_sqlengine
         */
        var $SQLparser;
@@ -2354,7 +2354,7 @@ class ux_t3lib_DB extends t3lib_DB {
                                                if(count($fieldArray)==1 && isset($this->mapping[$t]['mapFieldNames'][$fieldArray[0]])) {
                                                        $sqlPartArray[$k]['value'][0] = $this->mapping[$t]['mapFieldNames'][$fieldArray[0]];
                                                } elseif(count($fieldArray)==2 && isset($this->mapping[$t]['mapFieldNames'][$fieldArray[1]])) {
-                                                       $sqlPartArray[$k]['value'][0] = $fieldArray[0].'.'.$this->mapping[$t]['mapFieldNames'][$fieldArray[1]];                                                 
+                                                       $sqlPartArray[$k]['value'][0] = $fieldArray[0].'.'.$this->mapping[$t]['mapFieldNames'][$fieldArray[1]];
                                                }
                                        }
 
@@ -2500,13 +2500,13 @@ class ux_t3lib_DB extends t3lib_DB {
                                $query = implode(' ',$inData['args']);
                        else
                                $query = $this->lastQuery;
-                               
+
                        if($this->conf['debugOptions']['backtrace']) {
                                $backtrace = debug_backtrace();
                                unset($backtrace[0]); // skip this very method :)
                                $data['backtrace'] = array_slice($backtrace, 0, $this->conf['debugOptions']['backtrace']);
                        }
-                       
+
                        switch($function)       {
                                case 'exec_INSERTquery':
                                case 'exec_UPDATEquery':
index d3ef757..da57a28 100644 (file)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2004-2007 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 8a77b29..96d1f2f 100644 (file)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2004-2007 Karsten Dambekalns <karsten@typo3.org>
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Karsten Dambekalns <karsten@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 0df1bda..0770824 100644 (file)
@@ -2,8 +2,8 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2004, 2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  (c) 2004-2007 Karsten Dambekalns (karsten@typo3.org)
+*  (c) 2004-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2004-2008 Karsten Dambekalns (karsten@typo3.org)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -348,7 +348,7 @@ updateQryForm(\''.$input['QUERY'].'\');
                $out .= '<a name="metatypes"></a><h2>Metatype explanation</h2>';
                $out .= '<pre>
   C:  Varchar, capped to 255 characters.
-  X:  Larger varchar, capped to 4000 characters (to be compatible with Oracle). 
+  X:  Larger varchar, capped to 4000 characters (to be compatible with Oracle).
   XL: For Oracle, returns CLOB, otherwise the largest varchar size.
 
   C2: Multibyte varchar
index 19cbb24..2a8f5c8 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 67e10af..a425025 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 2ee913c..ad8d9f8 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -1260,7 +1260,7 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                                $thisScriptUrl = t3lib_div::getIndpEnv('REQUEST_URI').'?M=xMOD_tximpexp&id='.$this->id.t3lib_div::implodeArrayForUrl('tx_impexp',$passParams);
                                                $emURL = $this->doc->backPath.'mod/tools/em/index.php?CMD[requestInstallExtensions]='.implode(',',$extKeysToInstall).'&returnUrl='.rawurlencode($thisScriptUrl);
                                                $extensionInstallationMessage = 'Before you can install this T3D file you need to install the extensions "'.implode('", "',$extKeysToInstall).'". Clicking Import will first take you to the Extension Manager so these dependencies can be resolved.';
-                                       } 
+                                       }
 
                                        if ($inData['import_file'])     {
                                                if (!count($extKeysToInstall))  {
index 2cbecf0..813945b 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -1727,10 +1727,10 @@ class tx_impexp {
                        // Extract parameters:
                list($table,$uid,$field,$config)        = $pParams;
 
-                       // In case the $path is used as index without a trailing slash we will remove that 
+                       // In case the $path is used as index without a trailing slash we will remove that
                if (!is_array($config['flexFormRels']['db'][$path]) && is_array($config['flexFormRels']['db'][ereg_replace('\/$','',$path)]))   {
                        $path = ereg_replace('\/$','',$path);
-               }       
+               }
                if (is_array($config['flexFormRels']['db'][$path]))     {
                        $valArray = $this->setRelations_db($config['flexFormRels']['db'][$path]);
                        $dataValue = implode(',',$valArray);
@@ -1743,7 +1743,7 @@ class tx_impexp {
                        }
                        $dataValue = implode(',',$valArr);
                }
-               
+
                        // Return
                return array('value' => $dataValue);
        }
index a63ade0..fd3a8e8 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 0b91e6e..904547d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 40a26b7..71e5df6 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index a3f3ffc..f966192 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index de29dc6..3d749c9 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index ab0bea9..250fb0a 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index c8dc636..7c61c05 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 921f9dd..659e79d 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 453fd9c..25815f4 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index ce17a66..d70857e 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2001-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2001-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index e161699..4860973 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 1f2bdfa..dcdb857 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 0a78462..c62a35c 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -184,11 +184,11 @@ debug($contentTreeData);
 */
                return $output;
        }
-       
+