Code cleanup: replaced CVS with SVN
authorIngo Renner <ingo.renner@typo3.org>
Sun, 16 Mar 2008 16:22:11 +0000 (16:22 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sun, 16 Mar 2008 16:22:11 +0000 (16:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3437 709f56b5-9817-0410-a4d7-c38de5d9e867

62 files changed:
ChangeLog
misc/superadmin.php
t3lib/class.t3lib_admin.php
t3lib/class.t3lib_basicfilefunc.php
t3lib/class.t3lib_bedisplaylog.php
t3lib/class.t3lib_tcemain.php
t3lib/interfaces/interface.t3lib_browselinkshook.php
t3lib/interfaces/interface.t3lib_localrecordlistgettablehook.php
t3lib/stddb/tables.sql
typo3/close.html
typo3/contrib/json/json.php
typo3/default.htm
typo3/default.html
typo3/index.htm
typo3/index.html
typo3/mod/tools/note.txt
typo3/sysext/README.txt
typo3/sysext/cms/doc/TODO.txt
typo3/sysext/cms/ext_localconf.php
typo3/sysext/cms/ext_tables.php
typo3/sysext/cms/ext_tables.sql
typo3/sysext/cms/tslib/media/scripts/defaultstylesheet.css
typo3/sysext/cms/tslib/media/scripts/testscript.inc
typo3/sysext/cms/tslib/media/scripts/testscript_EXT.php
typo3/sysext/cms/tslib/media/scripts/testscript_INT.php
typo3/sysext/css_styled_content/css/example.css
typo3/sysext/css_styled_content/css/example_outlines.css
typo3/sysext/css_styled_content/static/constants.txt
typo3/sysext/css_styled_content/static/editorcfg.txt
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/rtehtmlarea/extensions/InlineElements/class.tx_rtehtmlarea_inlineelements.php
typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js
typo3/sysext/rtehtmlarea/htmlarea/htmlarea-ie.js
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/AboutEditor/popups/about.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/CharacterMap/popups/select_character.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultImage/popups/insert_image.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/dynamiccss.css
typo3/sysext/rtehtmlarea/htmlarea/plugins/DynamicCSS/dynamiccss.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/find-replace.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/FindReplace/popups/find_replace.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/InsertSmiley/popups/insertsmiley.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/RemoveFormat/popups/removeformat.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectColor/select-color.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/popups/spell-check-ui-iso-8859-1.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/popups/spell-check-ui.html
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Browsers/typo3browsers.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Image/typo3image.js
typo3/sysext/rtehtmlarea/pi1/class.tx_rtehtmlarea_pi1.php
typo3/sysext/rtehtmlarea/res/accessibilityicons/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/advanced/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/advanced/userTSConfig.txt
typo3/sysext/rtehtmlarea/res/contentcss/default.css
typo3/sysext/rtehtmlarea/res/demo/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/demo/userTSConfig.txt
typo3/sysext/rtehtmlarea/res/image/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/proc/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/typical/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/typical/userTSConfig.txt
typo3/tab.js

index 700fc3d..4f465c9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
        * Fixed bug #7396: hardcoded fieldset and legend around radio buttons
        * 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
 
 2008-03-15  Ingo Renner  <ingo@typo3.org>
 
index 1da5da8..0e95358 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2003 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 8400393..17679e5 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 000f59f..57036cc 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 f6e7422..eea267d 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 e94c908..eaf1335 100755 (executable)
@@ -392,7 +392,7 @@ class t3lib_TCEmain {
                if ($GLOBALS['BE_USER']->uc['recursiveDelete'])    {
                        $this->deleteTree = 1;
                }
-               
+
                if ($GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation'] && $this->updateModeL10NdiffData===TRUE)     {
                        $this->updateModeL10NdiffData = FALSE;
                }
@@ -933,7 +933,7 @@ class t3lib_TCEmain {
 
                /*
                 * Hook: processDatamap_afterAllOperations
-                * 
+                *
                 * Note: When this hook gets called, all operations on the submitted data have been finished.
                 */
                foreach($hookObjectsArr as $hookObj) {
@@ -2162,7 +2162,7 @@ class t3lib_TCEmain       {
                                                        foreach($dataValues[$key]['el'] as $ik => $el)  {
                                                                if (is_array($el))      {
                                                                        if (!is_array($dataValues_current[$key]['el'])) $dataValues_current[$key]['el']=array();
-                                                                       
+
                                                                        $theKey = key($el);
 
                                                                        if (is_array($dataValues[$key]['el'][$ik][$theKey]['el']))      {
@@ -2175,7 +2175,7 @@ class t3lib_TCEmain       {
                                                                                                $callBackFunc,
                                                                                                $structurePath.$key.'/el/'.$ik.'/'.$theKey.'/el/'
                                                                                        );
-                                                                               
+
                                                                                        // If element is added dynamically in the flexform of TCEforms, we map the ID-string to the next numerical index we can have in that particular section of elements:
                                                                                        // The fact that the order changes is not important since order is controlled by a separately submitted index.
 
@@ -2338,7 +2338,7 @@ class t3lib_TCEmain       {
                                }
                        }
                }
-                       // IRRE with a pointer field (database normalization): 
+                       // IRRE with a pointer field (database normalization):
                if ($tcaFieldConf['foreign_field']) {
                                // if the record was imported, sorting was also imported, so skip this
                        $skipSorting = ($this->callFromImpExp ? true : false);
@@ -2404,7 +2404,7 @@ class t3lib_TCEmain       {
                        }
                }
 #debug($this->cmdmap);
-               
+
                $this->accumulateForNotifEmail = array();       // Reset notification array
 
                        // Traverse command map:
@@ -2517,7 +2517,7 @@ class t3lib_TCEmain       {
                                                                                                $this->findPageElementsForVersionStageChange($idList, $workspaceId, $elementList);
                                                                                        }
                                                                                }
-                                                                               
+
                                                                                foreach ($elementList as $tbl => $elementIdList) {
                                                                                        foreach($elementIdList as $id)  {
                                                                                                $this->version_setStage($tbl,$id,$value['stageId'],$value['comment']?$value['comment']:$this->generalComment, TRUE);
@@ -2557,7 +2557,7 @@ class t3lib_TCEmain       {
                }
 
                $this->accumulateForNotifEmail = array();       // Reset notification array
-               
+
 #              die("REMOVE ME");
        }
 
@@ -3712,7 +3712,7 @@ class t3lib_TCEmain       {
         * @return      void
         */
        protected function inlineLocalizeSynchronize($table, $id, $command) {
-                       // <field>, (localize | synchronize | <uid>): 
+                       // <field>, (localize | synchronize | <uid>):
                $parts = t3lib_div::trimExplode(',', $command);
                $field = $parts[0];
                $type = $parts[1];
@@ -3761,15 +3761,15 @@ class t3lib_TCEmain     {
                                                                }
                                                        }
                                                }
-                                                       // Perform synchronization/localization: Possibly add unlocalized records for original language: 
+                                                       // Perform synchronization/localization: Possibly add unlocalized records for original language:
                                                if (t3lib_div::testInt($type) && isset($elementsOriginal[$type])) {
                                                        $item = $elementsOriginal[$type];
                                                        $item['id'] = $this->localize($item['table'], $item['id'], $language);
-                                                       $dbAnalysisCurrent->itemArray[] = $item; 
+                                                       $dbAnalysisCurrent->itemArray[] = $item;
                                                } elseif (t3lib_div::inList('localize,synchronize', $type)) {
                                                        foreach ($elementsOriginal as $originalId => $item) {
                                                                $item['id'] = $this->localize($item['table'], $item['id'], $language);
-                                                               $dbAnalysisCurrent->itemArray[] = $item; 
+                                                               $dbAnalysisCurrent->itemArray[] = $item;
                                                        }
                                                }
                                                        // Store the new values, we will set up the uids for the subtype later on (exception keep localization from original record):
@@ -4524,9 +4524,9 @@ class t3lib_TCEmain       {
                                                                                                unlink($lockFileName);
                                                                                        }
                                                                                }
-                                                                               
+
                                                                                if (!count($sqlErrors)) {
-                                                                                       
+
                                                                                                // If a moving operation took place...:
                                                                                        if ($movePlhID) {
                                                                                                if (!$swapIntoWS)       {       // Remove, if normal publishing:
@@ -4701,7 +4701,7 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
                        $swapVersion[$field] = $tempValue;
                }
        }
-       
+
        /**
         * Swaps MM-relations for current/swap record, see version_swap()
         *
@@ -4713,32 +4713,32 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
         */
        function version_remapMMForVersionSwap($table,$id,$swapWith)    {
                global $TCA;
-               
+
                        // Actually, selecting the records fully is only need if flexforms are found inside... This could be optimized ...
                $currentRec = t3lib_BEfunc::getRecord($table,$id);
                $swapRec = t3lib_BEfunc::getRecord($table,$swapWith);
-               
+
                $this->version_remapMMForVersionSwap_reg = array();
-               
+
                foreach($TCA[$table]['columns'] as $field => $fConf) {
                        $conf = $fConf['config'];
-                       
+
                        if ($this->isReferenceField($conf))     {
                                $allowedTables = $conf['type']=='group' ? $conf['allowed'] : $conf['foreign_table'].','.$conf['neg_foreign_table'];
                                $prependName = $conf['type']=='group' ? $conf['prepend_tname'] : $conf['neg_foreign_table'];
                                if ($conf['MM'])        {
-                                       
+
                                        $dbAnalysis = t3lib_div::makeInstance('t3lib_loadDBGroup');
                                        /* @var $dbAnalysis t3lib_loadDBGroup */
                                        $dbAnalysis->start('', $allowedTables, $conf['MM'], $id, $table, $conf);
-                                       if (count($dbAnalysis->getValueArray($prependName)))    {       
+                                       if (count($dbAnalysis->getValueArray($prependName)))    {
                                                $this->version_remapMMForVersionSwap_reg[$id][$field] = array($dbAnalysis, $conf['MM'], $prependName);
                                        }
-                                                                               
+
                                        $dbAnalysis = t3lib_div::makeInstance('t3lib_loadDBGroup');
                                        /* @var $dbAnalysis t3lib_loadDBGroup */
                                        $dbAnalysis->start('', $allowedTables, $conf['MM'], $swapWith, $table, $conf);
-                                       if (count($dbAnalysis->getValueArray($prependName)))    {       
+                                       if (count($dbAnalysis->getValueArray($prependName)))    {
                                                $this->version_remapMMForVersionSwap_reg[$swapWith][$field] = array($dbAnalysis, $conf['MM'], $prependName);
                                        }
                                }
@@ -4775,7 +4775,7 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
                                }
                        }
                }
-               
+
                        // Execute:
                $this->version_remapMMForVersionSwap_execSwap($table,$id,$swapWith);
        }
@@ -4803,7 +4803,7 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
                        if ($dsConf['MM'])      {
                                $dbAnalysis = t3lib_div::makeInstance('t3lib_loadDBGroup');
                                /* @var $dbAnalysis t3lib_loadDBGroup */
-                               $dbAnalysis->start('', $allowedTables, $dsConf['MM'], $uid, $table, $dsConf);                           
+                               $dbAnalysis->start('', $allowedTables, $dsConf['MM'], $uid, $table, $dsConf);
                                $this->version_remapMMForVersionSwap_reg[$uid][$field.'/'.$path] = array($dbAnalysis, $dsConf['MM'], $prependName);
                        }
                }
@@ -4820,7 +4820,7 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
         * @see version_remapMMForVersionSwap()
         */
        function version_remapMMForVersionSwap_execSwap($table,$id,$swapWith)   {
-               
+
                if (is_array($this->version_remapMMForVersionSwap_reg[$id]))    {
                        foreach($this->version_remapMMForVersionSwap_reg[$id] as $field => $str)        {
                                $str[0]->remapMM($str[1],$id,-$id,$str[2]);
@@ -5280,7 +5280,7 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
                }
                return $res;
        }
-       
+
        /**
         * Checks if a table is allowed on a certain page id according to allowed tables set for the page "doktype" and its [ctrl][rootLevel]-settings if any.
         *
@@ -6704,18 +6704,18 @@ $this->log($table,$id,6,0,0,'Stage raised...',30,array('comment'=>$comment,'stag
                                break;
                        }
                        $emails = array_unique($emails);
-                       
+
                                // Path to record is found:
                        list($eTable,$eUid) = explode(':',$elementName);
                        $eUid = intval($eUid);
                        $rr = t3lib_BEfunc::getRecord($eTable,$eUid);
-                       $recTitle = t3lib_BEfunc::getRecordTitle($eTable,$rr);                  
+                       $recTitle = t3lib_BEfunc::getRecordTitle($eTable,$rr);
                        if ($eTable!='pages')   {
                                t3lib_BEfunc::fixVersioningPid($eTable,$rr);
                                $eUid=$rr['pid'];
                        }
                        $path = t3lib_BEfunc::getRecordPath($eUid,'',20);
-                       
+
                                // ALternative messages:
                        $TSConfig = $this->getTCEMAIN_TSconfig($eUid);
                        $body = trim($TSConfig['notificationEmail_body']) ? trim($TSConfig['notificationEmail_body']) : '
@@ -6731,7 +6731,7 @@ User Comment:
 State was change by %s (username: %s)
                        ';
                        $subject = trim($TSConfig['notificationEmail_subject']) ? trim($TSConfig['notificationEmail_subject']) : 'TYPO3 Workspace Note: Stage Change for %s';
-                       
+
                                // Send email:
                        if (count($emails))     {
                                $message = sprintf($body,
index 6daf852..00aaa37 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007 Ingo Renner <ingo@typo3.org>
+*  (c) 2007-2008 Ingo Renner <ingo@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index d80c238..c2c6255 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007 Ingo Renner <ingo@typo3.org>
+*  (c) 2007-2008 Ingo Renner <ingo@typo3.org>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 2ef9a80..7a5803c 100755 (executable)
@@ -1,5 +1,5 @@
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 #
 
 #
index 0574926..bd082dd 100755 (executable)
@@ -7,7 +7,7 @@
 <head>
 
        <!-- Close script, used in particular by the alt_doc.php script to close the current edit window -->
-       <!-- TYPO3 CVS ID: $Id$ -->
+       <!-- TYPO3 SVN ID: $Id$ -->
 
        <!-- TYPO3 Script ID: typo3/close.html -->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
index 8283e7e..ebcd444 100755 (executable)
@@ -51,7 +51,7 @@
  * @author      Matt Knapp <mdknapp[at]gmail[dot]com>
  * @author      Brett Stimmerman <brettstimmerman[at]gmail[dot]com>
  * @copyright   2005 Michal Migurski
- * @version     CVS: $Id$
+ * @version     $Id$
  * @license     http://www.opensource.org/licenses/bsd-license.php
  * @link        http://pear.php.net/pepr/pepr-proposal-show.php?id=198
  */
@@ -666,7 +666,7 @@ class Services_JSON
                                 // element in an associative array,
                                 // for now
                                 $parts = array();
-                                
+
                                 if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) {
                                     // "name":value pair
                                     $key = $this->decode($parts[1]);
@@ -802,5 +802,5 @@ if (class_exists('PEAR_Error')) {
     }
 
 }
-    
+
 ?>
index 8adcc1c..55f895b 100755 (executable)
@@ -1,5 +1,5 @@
 <!-- Default script designed to just redirect to login screen -->
-<!-- TYPO3 CVS ID: $Id$ -->
+<!-- TYPO3 SVN ID: $Id$ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <HTML>
index 8adcc1c..55f895b 100755 (executable)
@@ -1,5 +1,5 @@
 <!-- Default script designed to just redirect to login screen -->
-<!-- TYPO3 CVS ID: $Id$ -->
+<!-- TYPO3 SVN ID: $Id$ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <HTML>
index 8adcc1c..55f895b 100755 (executable)
@@ -1,5 +1,5 @@
 <!-- Default script designed to just redirect to login screen -->
-<!-- TYPO3 CVS ID: $Id$ -->
+<!-- TYPO3 SVN ID: $Id$ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <HTML>
index 8adcc1c..55f895b 100755 (executable)
@@ -1,5 +1,5 @@
 <!-- Default script designed to just redirect to login screen -->
-<!-- TYPO3 CVS ID: $Id$ -->
+<!-- TYPO3 SVN ID: $Id$ -->
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <HTML>
index 1413ed2..04a9ab2 100755 (executable)
@@ -9,4 +9,4 @@ All language labels (except module name and short description in the $conf-files
 - kasper
 
 (5/12 2001, reviewed 2003/2)
-TYPO3 CVS ID: $Id$
\ No newline at end of file
+TYPO3 SVN ID: $Id$
\ No newline at end of file
index bb2c76b..151a9e4 100755 (executable)
@@ -5,7 +5,7 @@ This is also a global repository for extensions in TYPO3, just like the global e
 System extensions cannot (by default at least) be updated like global and local extensions; They are meant to always be distributed with the core (while global extensions
 in ext/ are not) and to the user they will probably be understood more like a part of the core since they come along with the core. But technically they are extensions for various reasons.
 
-System Extensions are in the TYPO3core CVS module.
+System Extensions are in the TYPO3core SVN module.
 System Extensions should be hidden in TER (last check of this was oct. 2005 by kasper)
 
 System extensions with manuals are currently (oct 2005):
index 1efe3cf..e45c90e 100755 (executable)
@@ -128,4 +128,4 @@ Possible solution:
 
 
 ----------------------
-TYPO3 CVS ID: $Id$
+TYPO3 SVN ID: $Id$
index 6b15a0d..9479c29 100755 (executable)
@@ -1,5 +1,5 @@
 <?php
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 if (!defined ('TYPO3_MODE'))   die ('Access denied.');
 
 $TYPO3_CONF_VARS['SYS']['contentTable'] = 'tt_content';
@@ -16,7 +16,7 @@ $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['cms'] = array(
                                        '<b>Setup</b> section of your Page TypoScript template:</p>' .
                                        '<p style="margin-top: 5px; white-space: nowrap;"><code>config.simulateStaticDocuments_replacementChar = _</code></p></li>'.
                                        '<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>'.
-                                       '<p>Technically, that means that the default value of "config.inlineStyle2TempFile" is now set to "1" and that of "config.removeDefaultJS" to "external"</p></li>'. 
+                                       '<p>Technically, that means that the default value of "config.inlineStyle2TempFile" is now set to "1" and that of "config.removeDefaultJS" to "external"</p></li>'.
                                        '</ul>',
 );
 
index 9923f6a..170ac89 100755 (executable)
@@ -1,5 +1,5 @@
 <?php
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 if (!defined ('TYPO3_MODE'))   die ('Access denied.');
 
 if (TYPO3_MODE=='BE')  {
index 2a227e1..aa8f548 100755 (executable)
@@ -1,5 +1,5 @@
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 #
 
 
index 38f16ed..256df9c 100755 (executable)
@@ -1,5 +1,5 @@
 /*  Default stylesheet use in the static template record "cSet stylesheet" */
-/* TYPO3 CVS ID: $Id$ */
+/* TYPO3 SVN ID: $Id$ */
 
 A:link {
        background-color : transparent;
@@ -26,17 +26,17 @@ A:active {
 }
 
 
-SELECT {  
+SELECT {
        font-family: Verdana, Arial, Helvetica;
-       font-size: 10px 
+       font-size: 10px
 }
-TEXTAREA {  
-       font-family: Verdana, Arial, Helvetica; 
+TEXTAREA {
+       font-family: Verdana, Arial, Helvetica;
+       font-size: 10px
+}
+INPUT {
+       font-family: Verdana, Arial, Helvetica;
        font-size: 10px
-} 
-INPUT {  
-       font-family: Verdana, Arial, Helvetica; 
-       font-size: 10px 
 }
 
 
@@ -227,7 +227,7 @@ P {
        font-family : Verdana, sans-serif;
        font-size : 10px;
        color : #333399;
-       margin-left : 40px;     
+       margin-left : 40px;
 }
 .sitemap4 {
        font-family : Verdana, sans-serif;
index 76c4df5..2c09d3b 100755 (executable)
@@ -3,7 +3,7 @@
 // All output must go to $content.
 // This line will make sure that the page is NOT cached!! You may NOT set the value to false as some other code may have set it to true on purpose and this must be respected.
 // $GLOBALS['TSFE']->set_no_cache();
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 
 if (!is_object($this)) die ('Error: No parent object present.');
 
index 98f1fe7..8fa3631 100755 (executable)
@@ -1,5 +1,5 @@
 <?php
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 
 if (!is_object($TSFE)) die ('Error: No parent object present.');
 
index 4653def..880e955 100755 (executable)
@@ -1,5 +1,5 @@
 <?php
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 
 if (!is_object($this)) die ('Error: No parent object present.');
 
index 53ff78d..70ea9a2 100755 (executable)
@@ -1,4 +1,4 @@
-/* TYPO3 CVS id: $id$ */
+/* TYPO3 SVN id: $id$ */
 /* Template stylesheet which can be used for new sites */
 /* Make a copy of this stylesheet to some other location, modify it and use it from there! */
 /*
@@ -53,7 +53,7 @@ DIV.csc-frame-frame2 { background-color: #F5FFAA; padding: 2px 4px 2px 4px; bord
 
 DIV.csc-frame-frame1 H1, DIV.csc-frame-frame1 H2, DIV.csc-frame-frame1 H3, DIV.csc-frame-frame1 H4, DIV.csc-frame-frame1 H5 { margin-top: 2px; }
 DIV.csc-frame-frame2 H1, DIV.csc-frame-frame2 H2, DIV.csc-frame-frame2 H3, DIV.csc-frame-frame2 H4, DIV.csc-frame-frame2 H5 { margin-top: 2px; }
-                               
+
 /******************/
 /* Headers, plain */
 /******************/
@@ -149,7 +149,7 @@ TABLE.contenttable-0 P { color: #000000; }
 TABLE.contenttable-1 P { color: #186900; }
 TABLE.contenttable-1 TR.tr-0 TD P { font-weight: bold; }
 TABLE.contenttable-1 TR.tr-0 TD { background-color: #D1D2E4;}
+
 TABLE.contenttable-2 P { color: #10007B; }
 TABLE.contenttable-2 TR TD.td-0 { background-color: #F5FFAA;}
 TABLE.contenttable-2 TR TD.td-0 P { font-weight: bold; }
@@ -183,7 +183,7 @@ TABLE.csc-uploads-3 { border-color: #8A0020; }
 TABLE.csc-uploads-3 TR TD { vertical-align: middle; }
 TABLE.csc-uploads-3 TR.tr-even TD.csc-uploads-icon IMG { border: 2px solid #333333; }
 TABLE.csc-uploads-3 TR.tr-odd TD.csc-uploads-icon IMG { border: 2px solid #333333; }
-                               
+
 
 
 /*****************/
@@ -283,7 +283,7 @@ DIV.csc-menu-7 P.csc-section A { color: #186900; }
 /****************************************/
 /* Frontend editing / TYPO3 Admin Panel */
 /****************************************/
-IMG.frontEndEditIcons { vertical-align: middle; margin: 0px 2px 0px 2px; } 
+IMG.frontEndEditIcons { vertical-align: middle; margin: 0px 2px 0px 2px; }
 
 /* Default styles for the Admin Panel */
 TABLE.typo3-adminPanel { border: 1px solid black; background-color: #F6F2E6; }
@@ -291,7 +291,7 @@ TABLE.typo3-adminPanel TR.typo3-adminPanel-hRow TD { background-color: #9BA1A8;
 TABLE.typo3-adminPanel TR.typo3-adminPanel-itemHRow TD { background-color: #ABBBB4; }
 TABLE.typo3-adminPanel TABLE, TABLE.typo3-adminPanel TD { border: 0px; }
 TABLE.typo3-adminPanel TD FONT { font-family: verdana; font-size: 10px; color: black; }
-TABLE.typo3-adminPanel TD A FONT { font-family: verdana; font-size: 10px; color: black; }                      
+TABLE.typo3-adminPanel TD A FONT { font-family: verdana; font-size: 10px; color: black; }
 TABLE.typo3-editPanel { border: 1px solid black; background-color: #F6F2E6; }
 TABLE.typo3-editPanel TD { border: 0px; }
 
index 0b0dc59..4c50342 100755 (executable)
@@ -1,4 +1,4 @@
-/* TYPO3 CVS id: $id$ */
+/* TYPO3 SVN id: $id$ */
 /* Experimental stylesheet which highlights/outlines all elements */
 
 
@@ -16,7 +16,7 @@ A:hover { text-decoration: underline; }
 FORM { margin: 0px 0px 0px 0px;}
 P, PRE { margin: 0px 0px 0px 0px; }
 
-                               
+
 
 /********************************/
 /* Frames, spacing, link-to-top */
@@ -34,7 +34,7 @@ DIV.csc-frame-indent3366 { padding-left: 33%; }
 DIV.csc-frame-indent6633 { padding-right: 33%; }
 DIV.csc-frame-frame1 { background-color: red; }
 DIV.csc-frame-frame2 { background-color: green; }
-                               
+
 /******************/
 /* Headers, plain */
 /******************/
@@ -145,7 +145,7 @@ TABLE.contenttable-0 P { color: green; }
 TABLE.contenttable-1 P { color: blue; }
 TABLE.contenttable-1 TR.tr-0 TD { background-color: #ff9900;}
 TABLE.contenttable-1 TR.tr-0 TD P { font-weight: bold; }
+
 TABLE.contenttable-2 P { color: red; }
 TABLE.contenttable-2 TR TD.td-0 { background-color: #ff9900;}
 TABLE.contenttable-2 TR TD.td-0 P { font-weight: bold; }
@@ -181,7 +181,7 @@ TABLE.csc-uploads-3 TR.tr-odd { background-color: #99ff66; }
 TABLE.csc-uploads-3 TR TD { vertical-align: middle; }
 TABLE.csc-uploads-3 TR.tr-even TD.csc-uploads-icon IMG { border: 3px solid black; }
 TABLE.csc-uploads-3 TR.tr-odd TD.csc-uploads-icon IMG { border: 3px solid red; }
-                               
+
 
 
 /*****************/
@@ -241,7 +241,7 @@ DIV.csc-menu P.csc-section { font-weight: normal; margin-left: 40px; font-style:
 DIV.csc-menu P A { color: green; }
 
 /* Menu / Sitemap, "Menu of these pages" */
-DIV.csc-menu-def  P A { color: red; } 
+DIV.csc-menu-def  P A { color: red; }
 
 /* Menu / Sitemap, "Menu of subpages to these pages" */
 DIV.csc-menu-1 { border-color: navy; }
@@ -282,7 +282,7 @@ DIV.csc-menu-7 P.csc-section A { color: navy; }
 /****************************************/
 /* Frontend editing / TYPO3 Admin Panel */
 /****************************************/
-IMG.frontEndEditIcons { vertical-align: middle; margin: 0px 2px 0px 2px; } 
+IMG.frontEndEditIcons { vertical-align: middle; margin: 0px 2px 0px 2px; }
 
 TABLE.typo3-adminPanel { border: 2px solid yellow; background-color: #ff6699; }
 TABLE.typo3-adminPanel TR.typo3-adminPanel-hRow TD { background-color: #22aabb; }
index 6e7f5b9..afcf8bb 100755 (executable)
@@ -98,8 +98,8 @@ styles.content.searchresult {
 PAGE_TARGET = page
 
 [compatVersion = 4.2.0]
-  
-  # cat=advanced/links; type=small; label= Target for internal links: Should match the name of the content PAGE-object in TypoScript when used with frames. Most cases: set to "" (empty). If you have frames in the template set to "page" 
+
+  # cat=advanced/links; type=small; label= Target for internal links: Should match the name of the content PAGE-object in TypoScript when used with frames. Most cases: set to "" (empty). If you have frames in the template set to "page"
 PAGE_TARGET =
 
 content.pageFrameObj >
@@ -152,5 +152,5 @@ styles.content.imgtext {
 
 [END]
 
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 
index f325706..919ce35 100755 (executable)
@@ -25,7 +25,7 @@ CSS_editor.ch {
        visited.selector = + :visited
        visited.attribs = LINKS
   }
-  
+
   content = < tt_content.CSS_editor
 }
 
@@ -46,22 +46,22 @@ tt_content.CSS_editor {
                        caption.attribs = TEXT
                        caption.selector = + .csc-caption
                    caption.example = <P class="csc-caption">Caption text<BR>Dixit autem Deus fiant luminaria in firmamento caeli ut dividant diem ac noctem et sint...</P>
-                       
+
                        menu_sitemap = Menu/Sitemap item
                        menu_sitemap.attribs = TEXT
                        menu_sitemap.selector = + .csc-menu
                    menu_sitemap.example = <P class="csc-menu">Menu/Sitemap items</P><P class="csc-menu">Item number 2</P><P class="csc-menu">The third item here</P>
-                       
+
                        section = Menu/Sitemap item: Section-title
                        section.attribs = TEXT
                        section.selector = + .csc-section
                    section.example = <P class="csc-section">Menu/Sitemap item: Section-title</P>
-                       
+
                        header_date = Header date
                        header_date.attribs = TEXT
                        header_date.selector = + .csc-header-date
                        header_date.example = <P class="csc-header-date">Header date: 01/02 2002:</P>
-                       
+
                        P = Page content
                        P.selector = +.bodytext
                        P.attribs = BODYTEXT
@@ -72,12 +72,12 @@ tt_content.CSS_editor {
                                firstline.selector = +:first-line
                                firstline.attribs = TEXT,TEXT+
                                firstline.example = <P class="bodytext">In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
-               
+
                                firstletter = First letter
                                firstletter.selector = +:first-letter
                                firstletter.attribs = TEXT,TEXT+
                                firstletter.example = <P class="bodytext">In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
-               
+
                                P_plus = Page content, next paragraph
                                P_plus.selector = ++ P
                                P_plus.attribs = BODYTEXT,TEXT+
@@ -88,60 +88,60 @@ tt_content.CSS_editor {
                                )
 
                                links = < CSS_editor.ch.A
-                               links.example = <P class="bodytext">This is bodytext <A href="#">with a link</A> in it.</P>                     
+                               links.example = <P class="bodytext">This is bodytext <A href="#">with a link</A> in it.</P>
                        }
                        links = < CSS_editor.ch.A
                        links.example = <P>This is text <A href="#">with a link</A> in it.</P>
                }
-               
+
                H1 = Header 1
                H1.selector = H1
                H1.attribs = HEADER
                H1.example = <H1>Header 1 example <A href="#"> with link</A></H1><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
                H1.exampleStop=1
                H1.ch.links = < CSS_editor.ch.A
-               H1.ch.links.example = 
-               
+               H1.ch.links.example =
+
                H2 = Header 2
                H2.selector = H2
                H2.attribs = HEADER
                H2.example = <H2>Header 2 example <A href="#"> with link</A></H2><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
                H2.exampleStop=1
                H2.ch.links = < CSS_editor.ch.A
-               H2.ch.links.example = 
-               
+               H2.ch.links.example =
+
                H3 = Header 3
                H3.selector = H3
                H3.attribs = HEADER
                H3.example = <H3>Header 3 example <A href="#"> with link</A></H3><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
                H3.exampleStop=1
                H3.ch.links = < CSS_editor.ch.A
-               H3.ch.links.example = 
-               
+               H3.ch.links.example =
+
                H4 = Header 4
                H4.selector = H4
                H4.attribs = HEADER
                H4.example = <H4>Header 4 example <A href="#"> with link</A></H4><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
                H4.exampleStop=1
                H4.ch.links = < CSS_editor.ch.A
-               H4.ch.links.example = 
-               
+               H4.ch.links.example =
+
                H5 = Header 5
                H5.selector = H5
                H5.attribs = HEADER
                H5.example = <H5>Header 5 example <A href="#"> with link</A></H5><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
                H5.exampleStop=1
                H5.ch.links = < CSS_editor.ch.A
-               H5.ch.links.example = 
-               
+               H5.ch.links.example =
+
                H6 = Header 6
                H6.selector = H6
                H6.attribs = HEADER
                H6.example = <H6>Header 6 example <A href="#"> with link</A></H6><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
                H6.exampleStop=1
                H6.ch.links = < CSS_editor.ch.A
-               H6.ch.links.example = 
-               
+               H6.ch.links.example =
+
                PRE = Preformatted code
                PRE.selector = PRE
                PRE.attribs = TEXT,margin-top,margin-bottom
@@ -154,21 +154,21 @@ This is line number one
 Normal line again.             </PRE>
 <PRE>Yet a &lt;PRE&gt; section here!</PRE>
                )
-               
+
                OL = Ordered bullet lists (numbers)
                OL.selector = OL
                OL.attribs = TEXT,BULLETS
                OL.example = <P>Ordered bulletlist:</P><OL><LI>Bullet number 1</LI><LI>Bullet number 2, Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</LI><LI>Bullet number 3, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</LI></OL>
-               
+
                UL = Unordered bullet lists
                UL.selector = UL
                UL.attribs = TEXT,BULLETS
                UL.example = <P>Un-Ordered bulletlist:</P><UL><LI>Bullet number 1</LI><LI>Bullet number 2, Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</LI><LI>Bullet number 3, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</LI></UL>
-               
+
                TABLE = Tables in content
                TABLE.selector = TABLE.contenttable
                TABLE.attribs = TABLE
-               TABLE.example ( 
+               TABLE.example (
                        <table class="contenttable">
                                <tr>
                                        <td><P>Column/Row 1</P></td>
@@ -195,7 +195,7 @@ Normal line again.          </PRE>
                BLOCKQUOTE.selector = BLOCKQUOTE
                BLOCKQUOTE.attribs = margin-left, margin-right
                BLOCKQUOTE.example = <BLOCKQUOTE><P>This is bodytext in a block-quote.</P></BLOCKQUOTE>
-               
+
 #              tx_myextension = < plugin.tx_myextension.CSS_editor
        }
 }
@@ -205,4 +205,4 @@ Normal line again.          </PRE>
 
 // Commented out since it needs update - or a vision... ?
 
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
index dc9d7b5..04990ac 100755 (executable)
@@ -1548,4 +1548,4 @@ tt_content.image.20.rendering {
 [END]
 
 
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
index 19a581f..883ce7e 100644 (file)
@@ -26,7 +26,7 @@
  *
  * @author Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  *
  */
 
@@ -42,9 +42,9 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
        protected $thisConfig;                                          // Reference to RTE PageTSConfig
        protected $toolbar;                                             // Reference to RTE toolbar array
        protected $LOCAL_LANG;                                          // Frontend language array
-       
+
        protected $pluginButtons = 'formattext, bidioverride, big, bold, citation, code, definition, deletedtext, emphasis, insertedtext, italic, keyboard, quotation, sample, small, span, strikethrough, strong, subscript, superscript, underline, variable';
-               
+
        protected $convertToolbarForHtmlAreaArray = array (
                'formattext'            => 'FormatText',
                'bidioverride'          => 'BiDiOverride',
@@ -70,7 +70,7 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
                'underline'             => 'Underline',
                'variable'              => 'Variable',
                );
-       
+
        private $defaultInlineElements = array(
                'none'          => 'No markup',
                'b'             => 'Bold',
@@ -96,10 +96,10 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
                'u'             => 'Underline',
                'var'           => 'Variable',
                );
-       
+
        private $defaultInlineElementsOrder = 'none, bidioverride, big, bold, citation, code, definition, deletedtext, emphasis, insertedtext, italic, keyboard,
                                                monospaced, quotation, sample, small, span, strikethrough, strong, subscript, superscript, underline, variable';
-       
+
        private $buttonToInlineElement = array(
                'none'          => 'none',
                'bidioverride'  => 'bdo',
@@ -125,7 +125,7 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
                'underline'     => 'u',
                'variable'      => 'var',
                );
-       
+
        /**
         * Return JS configuration of the htmlArea plugins registered by the extension
         *
@@ -139,21 +139,21 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
         */
        public function buildJavascriptConfiguration($RTEcounter) {
                global $TSFE, $LANG;
-               
+
                $registerRTEinJavascriptString = '';
                if (in_array('formattext', $this->toolbar)) {
                        if (!is_array( $this->thisConfig['buttons.']) || !is_array( $this->thisConfig['buttons.']['formattext.'])) {
                                $registerRTEinJavascriptString .= '
                        RTEarea['.$RTEcounter.'].buttons.formattext = new Object();';
                        }
-                       
+
                                // Default inline elements
                        $hideItems = array();
                        $restrictTo = array('*');
                        $inlineElementsOrder = $this->defaultInlineElementsOrder;
                        $prefixLabelWithTag = false;
                        $postfixLabelWithTag = false;
-                       
+
                                // Processing PageTSConfig
                        if (is_array($this->thisConfig['buttons.']) && is_array($this->thisConfig['buttons.']['formattext.'])) {
                                        // Removing elements
@@ -171,12 +171,12 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
                                $prefixLabelWithTag = ($this->thisConfig['buttons.']['formattext.']['prefixLabelWithTag'])?true:$prefixLabelWithTag;
                                $postfixLabelWithTag = ($this->thisConfig['buttons.']['formattext.']['postfixLabelWithTag'])?true:$postfixLabelWithTag;
                        }
-                       
+
                        $inlineElementsOrder = array_diff(t3lib_div::trimExplode(',', $this->htmlAreaRTE->cleanList($inlineElementsOrder), 1), $hideItems);
                        if (!in_array('*', $restrictTo)) {
                                $inlineElementsOrder = array_intersect($inlineElementsOrder, $restrictTo);
                        }
-                       
+
                                // Localizing the options
                        $inlineElementsOptions = array();
                        foreach ($inlineElementsOrder as $item) {
@@ -187,7 +187,7 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
                                }
                                $inlineElementsOptions[$this->buttonToInlineElement[$item]] = (($prefixLabelWithTag && $item != 'none')?($this->buttonToInlineElement[$item].' - '):'') . $inlineElementsOptions[$this->buttonToInlineElement[$item]] . (($postfixLabelWithTag && $item != 'none')?(' - '.$this->buttonToInlineElement[$item]):'');
                        }
-                       
+
                        $first = array_shift($inlineElementsOptions);
                                // Sorting the options
                        if (!is_array($this->thisConfig['buttons.']) || !is_array($this->thisConfig['buttons.']['formattext.']) || !$this->thisConfig['buttons.']['formattext.']['orderItems']) {
@@ -201,7 +201,7 @@ class tx_rtehtmlarea_inlineelements extends tx_rtehtmlareaapi {
                        "' . $label . '" : "' . $item . '"';
                        }
                        $JSInlineElements .= '};';
-                       
+
                        $registerRTEinJavascriptString .= '
                        RTEarea['.$RTEcounter.'].buttons.formattext.dropDownOptions = '. $JSInlineElements;
                }
index d5262b6..7df378b 100644 (file)
@@ -29,7 +29,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 /*
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 /***************************************************
@@ -323,11 +323,11 @@ HTMLArea.prototype.getBookmark = function (range) {
                startId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'S',
                endId   : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'E'
        };
-       
+
        var startSpan;
        var endSpan;
        var rangeClone = range.cloneRange();
-       
+
                // For collapsed ranges, add just the start marker.
        if (!range.collapsed ) {
                endSpan = this._doc.createElement("span");
@@ -338,7 +338,7 @@ HTMLArea.prototype.getBookmark = function (range) {
                rangeClone.collapse(false);
                rangeClone.insertNode(endSpan);
        }
-       
+
        startSpan = this._doc.createElement("span");
        startSpan.style.display = "none";
        startSpan.id = bookmark.startId;
@@ -379,7 +379,7 @@ HTMLArea.prototype.getBookmarkNode = function(bookmark, endPoint) {
 HTMLArea.prototype.moveToBookmark = function (bookmark) {
        var startSpan  = this.getBookmarkNode(bookmark, true);
        var endSpan    = this.getBookmarkNode(bookmark, false);
-       
+
        var range = this._createRange();
        range.setStartBefore(startSpan);
        HTMLArea.removeFromParent(startSpan);
@@ -420,7 +420,7 @@ HTMLArea.prototype.insertNodeAtSelection = function(toBeInserted) {
        this.selectNodeContents(toBeSelected, false);
 };
 
-/* 
+/*
  * Insert HTML source code at the current position.
  * Delete the current selection, if any.
  */
@@ -464,7 +464,7 @@ HTMLArea.NestedHandler = function(ev,editor,nestedObj,noOpenCloseAction) {
                                // Check if all affected nested elements are displayed (style.display!='none'):
                        if (HTMLArea.allElementsAreDisplayed(editor.nested.sorted)) {
                                window.setTimeout(function() {
-                                       try { 
+                                       try {
                                                editor._doc.designMode = "on";
                                                if (editor.config.sizeIncludesToolbar && editor._initialToolbarOffsetHeight != editor._toolbar.offsetHeight) {
                                                        editor.sizeIframe(-2);
@@ -531,7 +531,7 @@ HTMLArea.prototype._mozillaPasteException = function(cmdID, UI, param) {
                        } else {
                                alert(HTMLArea.I18N.msg["Mozilla-Org-Install-Not-Enabled"]);
                                HTMLArea._appendToLog("WARNING [HTMLArea::execCommand]: Mozilla install was not enabled.");
-                               return; 
+                               return;
                        }
                }
        } else if (confirm(HTMLArea.I18N.msg["Moz-Clipboard"])) {
@@ -543,11 +543,11 @@ HTMLArea._mozillaInstallCallback = function(url,returnCode) {
        if (returnCode == 0) {
                if (HTMLArea._mozillaXpi["TYPO3 htmlArea RTE Preferences"]) alert(HTMLArea.I18N.msg["Moz-Extension-Success"]);
                        else alert(HTMLArea.I18N.msg["Allow-Clipboard-Helper-Extension-Success"]);
-               return; 
+               return;
        } else {
                alert(HTMLArea.I18N.msg["Moz-Extension-Failure"]);
                HTMLArea._appendToLog("WARNING [HTMLArea::execCommand]: Mozilla install return code was: " + returnCode + ".");
-               return; 
+               return;
        }
 };
 
index 992bb28..b6ef8c8 100644 (file)
@@ -29,7 +29,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 /*
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 /***************************************************
@@ -203,7 +203,7 @@ HTMLArea.prototype.insertNodeAtSelection = function(toBeInserted) {
        range.pasteHTML(toBeInserted.outerHTML);
 };
 
-/* 
+/*
  * Insert HTML source code at the current position.
  * Delete the current selection, if any.
  */
@@ -255,11 +255,11 @@ HTMLArea.statusBarHandler = function (ev) {
 HTMLArea.prototype._checkBackspace = function() {
        var sel = this._getSelection();
        var range = this._createRange(sel);
-       if(sel.type == "Control"){   
-               var el = this.getParentElement();   
-               var p = el.parentNode;   
-               p.removeChild(el);   
-               return true;  
+       if(sel.type == "Control"){
+               var el = this.getParentElement();
+               var p = el.parentNode;
+               p.removeChild(el);
+               return true;
        } else {
                var r2 = range.duplicate();
                r2.moveStart("character", -1);
index 6ddc8c1..0b27922 100644 (file)
@@ -31,7 +31,7 @@
 /*
  * Main script of TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 /***************************************************
@@ -118,8 +118,8 @@ HTMLArea.I18N = HTMLArea_langArray;
  * Build array of scripts to be loaded
  */
 HTMLArea.is_loaded = false;
-HTMLArea.onload = function(){ 
-       HTMLArea.is_loaded = true; 
+HTMLArea.onload = function(){
+       HTMLArea.is_loaded = true;
        HTMLArea._appendToLog("All scripts successfully loaded.");
 };
 HTMLArea.loadTimer;
@@ -143,7 +143,7 @@ HTMLArea.XMLHTTPResponseHandler = function (i) {
        return (function() {
                var url = HTMLArea._scripts[i];
                if (HTMLArea._request[i].readyState != 4) return;
-               if (HTMLArea._request[i].status == 200) { 
+               if (HTMLArea._request[i].status == 200) {
                        try {
                                eval(HTMLArea._request[i].responseText);
                                HTMLArea._scriptLoaded[i] = true;
@@ -219,7 +219,7 @@ HTMLArea.checkInitialLoad = function() {
 HTMLArea.init = function() {
        HTMLArea._eventCache = HTMLArea._eventCacheConstructor();
        if (window.XMLHttpRequest || window.ActiveXObject) {
-               try { 
+               try {
                        var success = true;
                        for (var i = 0, n = HTMLArea._scripts.length; i < n && success; i++) {
                                success = success && HTMLArea._getScript(i);
@@ -292,7 +292,7 @@ HTMLArea.Config = function () {
                // URL-s
        this.imgURL = "images/";
        this.popupURL = "popups/";
-       
+
        this.btnList = {
                InsertHorizontalRule:   ["Horizontal Rule", "ed_hr.gif",false, function(editor) {editor.execCommand("InsertHorizontalRule");}],
                HtmlMode:               ["Toggle HTML Source", "ed_html.gif", true, function(editor) {editor.execCommand("HtmlMode");}],
@@ -436,7 +436,7 @@ HTMLArea.setButtonStatus = function(id,newval) {
                                }
                                break;
                            case "active":
-                               if (newval) { 
+                               if (newval) {
                                        HTMLArea._addClass(el, "buttonPressed");
                                        HTMLArea._addClass(el.parentNode, "buttonPressed");
                                } else {
@@ -500,7 +500,7 @@ HTMLArea.prototype.createSelect = function(txt,tb_line,first_cell_on_line,labelO
                        first : first_cell_on_line,
                        labelUsed : false
                };
-       
+
        cmd = txt;
        var dropdown = this.config.customSelects[cmd];
        if (typeof(dropdown) != "undefined") {
@@ -531,7 +531,7 @@ HTMLArea.prototype.createSelect = function(txt,tb_line,first_cell_on_line,labelO
                        newObj["labelUsed"] = true;
                }
                HTMLArea._addEvent(newObj["el"], "change", HTMLArea.toolBarButtonHandler);
-               
+
                for (var i in options) {
                        if (options.hasOwnProperty(i)) {
                                var op = document.createElement("option");
@@ -540,7 +540,7 @@ HTMLArea.prototype.createSelect = function(txt,tb_line,first_cell_on_line,labelO
                                newObj["el"].appendChild(op);
                        }
                }
-               
+
                newObj["created"] = true;
        }
 
@@ -734,7 +734,7 @@ HTMLArea.toolBarButtonHandler = function(ev) {
                                HTMLArea._removeClass(target.parentNode, "buttonHover");
                                HTMLArea._removeClass(target, "buttonActive");
                                HTMLArea._removeClass(target.parentNode, "buttonActive");
-                               if (obj.active) { 
+                               if (obj.active) {
                                        HTMLArea._addClass(target, "buttonPressed");
                                        HTMLArea._addClass(target.parentNode, "buttonPressed");
                                }
@@ -870,7 +870,7 @@ HTMLArea.prototype.sizeIframe = function(diff) {
        var dimensions = this.accessParentElements(parentElements, 'this.getDimensions()');
 
        if(height.indexOf("%") == -1) {
-               height = parseInt(height) - diff;               
+               height = parseInt(height) - diff;
                if (this.config.sizeIncludesToolbar) {
                        this._initialToolbarOffsetHeight = dimensions.toolbar.height;
                        height -= dimensions.toolbar.height;
@@ -943,7 +943,7 @@ HTMLArea.prototype.accessParentElements = function(parentElements, callbackFunc)
                }
 
        } else {
-               result = eval(callbackFunc);            
+               result = eval(callbackFunc);
 
        }
 
@@ -1086,9 +1086,9 @@ HTMLArea.prototype.stylesLoaded = function() {
        if (!this.config.fullPage) {
                doc.body.style.borderWidth = "0px";
                doc.body.className = "htmlarea-content-body";
-               try { 
+               try {
                        doc.body.innerHTML = this._textArea.value;
-               } catch(e) { 
+               } catch(e) {
                        HTMLArea._appendToLog("[HTMLArea::initIframe]: The HTML document is not well-formed.");
                        alert(HTMLArea.I18N.msg["HTML-document-not-well-formed"]);
                        docWellFormed = false;
@@ -1240,7 +1240,7 @@ HTMLArea.cleanup = function (editor) {
                editor._textArea.form._editorNumber = null;
        }
        HTMLArea.onload = null;
-       
+
                // cleaning plugin handlers
        for (var plugin in editor.plugins) {
                if (editor.plugins.hasOwnProperty(plugin)) {
@@ -1266,7 +1266,7 @@ HTMLArea.cleanup = function (editor) {
                        editor._toolbarObjects[txt] = null;
                }
        }
-       
+
                // cleaning the statusbar elements
        if (editor._statusBarTree.hasChildNodes()) {
                for (var i = editor._statusBarTree.firstChild; i; i = i.nextSibling) {
@@ -1559,7 +1559,7 @@ HTMLArea.prototype._undoTakeSnapshot = function () {
        }
                // Get the html text
        var txt = this.getInnerHTML();
-       
+
        if (newSnapshot) {
                        // If previous slot contains the same text, a new one should not be used
                if (this._undoPos == 0  || this._undoQueue[this._undoPos - 1].text != txt) {
@@ -1718,7 +1718,7 @@ HTMLArea.prototype.updateToolbar = function(noStatus) {
                                        }
                                }
                        }
-                       
+
                        if (cmd == "CreateLink") {
                                btn.state("enabled", (!text || btn.text) && (inContext || selection));
                        } else {
@@ -1773,7 +1773,7 @@ HTMLArea.prototype.updateToolbar = function(noStatus) {
                        }
                }
        }
-       
+
        if (this._customUndo) {
                this._undoTakeSnapshot();
        }
@@ -1882,7 +1882,7 @@ HTMLArea.prototype.getEndBlocks = function(selection) {
 HTMLArea.prototype._getFirstAncestor = function(sel,types) {
        var prnt = this._activeElement(sel);
        if (prnt == null) {
-               try { 
+               try {
                        prnt = (HTMLArea.is_ie ? this._createRange(sel).parentElement() : this._createRange(sel).commonAncestorContainer);
                } catch(e) {
                        return null;
@@ -1893,7 +1893,7 @@ HTMLArea.prototype._getFirstAncestor = function(sel,types) {
        while (prnt) {
                if (prnt.nodeType == 1) {
                        if (types == null) return prnt;
-                       for (var i = 0; i < types.length; i++) { 
+                       for (var i = 0; i < types.length; i++) {
                                if(prnt.tagName.toLowerCase() == types[i]) return prnt;
                        }
                        if(prnt.tagName.toLowerCase() == 'body') break;
@@ -2043,7 +2043,7 @@ HTMLArea._editorEvent = function(ev) {
                        if (HTMLArea.is_gecko) editor._detectURL(ev);
                        switch (ev.keyCode) {
                                case 13 : // KEY enter
-                                       if (HTMLArea.is_gecko) { 
+                                       if (HTMLArea.is_gecko) {
                                                if (!ev.shiftKey && !editor.config.disableEnterParagraphs) {
                                                        if (editor._checkInsertP()) {
                                                                HTMLArea._stopEvent(ev);
@@ -2363,7 +2363,7 @@ HTMLArea.htmlEncode = function(str) {
  */
 HTMLArea.getHTML = function(root, outputRoot, editor){
        try {
-               return HTMLArea.getHTMLWrapper(root,outputRoot,editor); 
+               return HTMLArea.getHTMLWrapper(root,outputRoot,editor);
        } catch(e) {
                HTMLArea._appendToLog("The HTML document is not well-formed.");
                if(!HTMLArea._debugMode) alert(HTMLArea.I18N.msg["HTML-document-not-well-formed"]);
@@ -2564,7 +2564,7 @@ HTMLArea._postback = function(url, data, handler, addParams, charset) {
                content += (content.length ? '&' : '') + 'charset=' + charset;
                if (typeof(addParams) != "undefined") content += addParams;
                if (url.substring(0,1) == '/') {
-                       var postUrl = _typo3_host_url + url; 
+                       var postUrl = _typo3_host_url + url;
                } else {
                        var postUrl = _typo3_host_url + _editor_url + url;
                }
@@ -2611,10 +2611,10 @@ HTMLArea.getElementById = function(tag, id) {
  * Set the size of textarea with the RTE. It's called, if we are in fullscreen-mode.
  */
 var setRTEsizeByJS = function(divId, height, width) {
-       if (HTMLArea.is_gecko) height = height - 25; 
+       if (HTMLArea.is_gecko) height = height - 25;
                else height = height - 60;
        if (height > 0) document.getElementById(divId).style.height =  height + "px";
-       if (HTMLArea.is_gecko) width = "99%"; 
+       if (HTMLArea.is_gecko) width = "99%";
                else width = "97%";
        document.getElementById(divId).style.width = width;
 };
@@ -2652,7 +2652,7 @@ HTMLArea.initEditor = function(editorNumber) {
                        HTMLArea.initTimer[editorNumber] = window.setTimeout( "HTMLArea.initEditor(" + editorNumber + ");", 150);
                } else {
                        var RTE = RTEarea[editorNumber];
-                       
+
                                // Get the configuration properties
                        var config = new HTMLArea.Config();
                        for (var property in RTE) {
@@ -2663,29 +2663,29 @@ HTMLArea.initEditor = function(editorNumber) {
                                // Create an editor for the textarea
                        var editor = new HTMLArea(RTE.id, config);
                        RTE.editor = editor;
-                       
+
                                // Save the editornumber in the object
                        editor._typo3EditerNumber = editorNumber;
                        editor._editorNumber = editorNumber;
-                       
+
                                // Override these settings if they were ever modified
                        editor.config.width = "auto";
                        editor.config.height = "auto";
                        editor.config.sizeIncludesToolbar = true;
                        editor.config.fullPage = false;
-                       
+
                                // Register the plugins included in the configuration
                        for (var plugin in editor.config.plugin) {
                                if (editor.config.plugin.hasOwnProperty(plugin) && editor.config.plugin[plugin]) {
                                        editor.registerPlugin(plugin);
                                }
                        }
-                       
+
                        editor.onGenerate = HTMLArea.onGenerateHandler(editorNumber);
-                       
+
                        editor.generate();
                        return false;
-               } 
+               }
        } else {
                document.getElementById('pleasewait' + editorNumber).style.display = 'none';
                document.getElementById('editorWrap' + editorNumber).style.visibility = 'visible';
@@ -2815,7 +2815,7 @@ HTMLArea.Base.implement = function(_interface) {
  *
  */
 HTMLArea.Plugin = HTMLArea.Base.extend({
-       
+
        /**
         * HTMLArea.plugin constructor
         *
@@ -2837,7 +2837,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                }
                return this.configurePlugin(editor);
        },
-       
+
        /**
         * Configures the plugin
         * This function is invoked by the class constructor.
@@ -2853,7 +2853,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
        configurePlugin : function(editor) {
                return false;
        },
-       
+
        /**
         * Registers the plugin "About" information
         *
@@ -2882,7 +2882,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                        return true;
                }
        },
-       
+
        /**
         * Returns the plugin information
         *
@@ -2891,7 +2891,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
        getPluginInformation : function() {
                return this.pluginInformation;
        },
-       
+
        /**
         * Returns true if the button is enabled in the toolbar configuration
         *
@@ -2910,7 +2910,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                }
                return false;
        },
-       
+
        /**
         * Registors a button for inclusion in the toolbar
         *
@@ -2957,7 +2957,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                }
                return false;
        },
-       
+
        /**
         * Registors a drop-down list for inclusion in the toolbar
         *
@@ -2995,7 +2995,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                }
                return false;
        },
-       
+
        /**
         * Returns the drop-down configuration
         *
@@ -3006,7 +3006,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
        getDropDownConfiguration : function(dropDownId) {
                return this.editorConfiguration.customSelects[dropDownId];
        },
-       
+
        /**
         * Registors a hotkey
         *
@@ -3026,7 +3026,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                        return false;
                }
        },
-       
+
        /**
         * Returns the buttonId corresponding to the hotkey, if any
         *
@@ -3045,7 +3045,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                }
                return "";
        },
-       
+
        /**
         * Returns the hotkey configuration
         *
@@ -3060,7 +3060,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                        return null;
                }
        },
-       
+
        /**
         * The toolbar refresh handler of the plugin
         * This function may be defined by the plugin subclass.
@@ -3069,7 +3069,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         * @return      boolean
         */
        onUpdateToolbar : null,
-       
+
        /**
         * The keyPress event handler
         * This function may be defined by the plugin subclass.
@@ -3080,7 +3080,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         * @return      boolean
         */
        onKeyPress : null,
-       
+
        /**
         * The hotKey event handler
         * This function may be defined by the plugin subclass.
@@ -3091,7 +3091,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         * @return      boolean
         */
        onHotKey : null,
-       
+
        /**
         * The onMode event handler
         * This function may be redefined by the plugin subclass.
@@ -3106,7 +3106,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                        this.dialog.close();
                }
        },
-       
+
        /**
         * The onGenerate event handler
         * This function may be defined by the plugin subclass.
@@ -3115,7 +3115,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         * @return      boolean
         */
        onGenerate : null,
-       
+
        /**
         * Make function reference in order to avoid memory leakage in IE
         *
@@ -3128,7 +3128,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                return (function(arg1, arg2) {
                        self[functionName](arg1, arg2);});
        },
-       
+
        /**
         * Localize a string
         *
@@ -3139,7 +3139,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
        localize : function (label) {
                return this.I18N[label] || HTMLArea.I18N.dialogs[label] || HTMLArea.I18N.tooltips[label];
        },
-       
+
        /**
         * Load a Javascript file synchronously
         *
@@ -3165,7 +3165,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                        return false;
                }
        },
-       
+
        /**
         * Post data to the server
         *
@@ -3178,7 +3178,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
         postData : function (url, data, handler) {
                 HTMLArea._postback(url, data, handler, this.editorConfiguration.RTEtsConfigParams, (this.editorConfiguration.typo3ContentCharset ? this.editorConfiguration.typo3ContentCharset : "utf-8"));
         },
-       
+
        /**
         * Open a dialog window or bring focus to it if is already opened
         *
@@ -3217,7 +3217,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
                                );
                }
        },
-       
+
        /**
         * Make url from the name of a popup of the plugin
         *
@@ -3228,7 +3228,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
        makeUrlFromPopupName : function(popupName) {
                return this.editor.popupURL("plugin://" + this.name + "/" + popupName);
        },
-       
+
        /**
         * Make url from module path
         *
@@ -3240,7 +3240,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
        makeUrlFromModulePath : function(modulePath, parameters) {
                return this.editor.popupURL(modulePath + "?" + this.editorConfiguration.RTEtsConfigParams + "&editorNo=" + this.editorNumber + "&sys_language_content=" + this.editorConfiguration.sys_language_content + "&contentTypo3Language=" + this.editorConfiguration.typo3ContentLanguage + "&contentTypo3Charset=" + encodeURIComponent(this.editorConfiguration.typo3ContentCharset) + (parameters?parameters:''));
        },
-       
+
        /**
         * Append an entry at the end of the troubleshooting log
         *
@@ -3261,7 +3261,7 @@ HTMLArea.Plugin = HTMLArea.Base.extend({
  *
  */
 HTMLArea.Dialog = HTMLArea.Base.extend({
-       
+
        /**
         * HTMLArea.Dialog constructor
         *
@@ -3285,18 +3285,18 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        this.arguments = arguments;
                }
                this.plugin.dialog = this;
-               
+
                if (HTMLArea.Dialog[this.plugin.name] && HTMLArea.Dialog[this.plugin.name].hasOpenedWindow() && HTMLArea.Dialog[this.plugin.name].plugin != this.plugin) {
                        HTMLArea.Dialog[this.plugin.name].close();
                }
                HTMLArea.Dialog[this.plugin.name] = this;
                this.dialogWindow = window.open(url, this.plugin.name + "Dialog", "toolbar=no,location=no,directories=no,menubar=no,resizable=yes,top=100,left=100,dependent=yes,dialog=yes,chrome=no,width=" + dimensions.width + ",height=" + dimensions.height + ",scrollbars=" + showScrollbars);
-               
+
                if (!this.dialogWindow) {
                        this.plugin.appendToLog("openDialog", "Dialog window could not be opened with url " + url);
                        return false;
                }
-               
+
                if (typeof(dialogOpener) !== "undefined") {
                        this.dialogWindow.opener = dialogOpener;
                        this.dialogWindow.opener.openedDialog = this;
@@ -3304,21 +3304,21 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                if (!this.dialogWindow.opener) {
                        this.dialogWindow.opener = this.window;
                }
-               
+
                if (!url) this.createForm();
                return true;
        },
-       
+
        /**
         * Creates the document and the dialogue form of the dialogue window
         *
         * @return      void
         */
        createForm : function () {
-               
+
                this.document = this.dialogWindow.document;
                this.editor = this.plugin.editor;
-               
+
                if (HTMLArea.is_ie) {
                        this.document.open();
                        var html = "<html><head></head><body></body></html>\n";
@@ -3368,7 +3368,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        this.focus();
                }
        },
-       
+
        /**
         * Adds OK and Cancel buttons to the dialogue window
         *
@@ -3403,7 +3403,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        }
                }
        },
-       
+
        /**
         * Call the form input handler
         *
@@ -3429,7 +3429,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                this.action(this, params);
                return false;
        },
-       
+
        /**
         * Cheks if the dialogue has an open dialogue window
         *
@@ -3438,7 +3438,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
        hasOpenedWindow : function () {
                return this.dialogWindow && !this.dialogWindow.closed;
        },
-       
+
        /**
         * Initialize the dialog window: load the stylesheets, localize labels, resize if required, etc.
         * This function MUST be invoked from the dialog window in the onLoad event handler
@@ -3459,7 +3459,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        // Resize the dialog window to its contents
                if (!noResize) this.resize(noResize);
        },
-       
+
        /**
         * Load the stylesheets in the dialog window
         *
@@ -3474,7 +3474,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                if (link.href.indexOf("http") == -1 && HTMLArea.is_gecko) link.href = _typo3_host_url + link.href;
                head.appendChild(link);
        },
-       
+
        /**
         * Localize the labels contained in the dialog window
         *
@@ -3505,7 +3505,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                label = this.plugin.localize(this.dialogWindow.document.title);
                if (label) this.dialogWindow.document.title = label;
        },
-       
+
        /**
         * Resize the dialog window to its contents
         *
@@ -3551,14 +3551,14 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                                innerX = body.clientWidth;
                                innerY = body.clientHeight;
                        }
-                       
+
                        var pageY = Math.max(body.scrollHeight, body.offsetHeight);
                        if (innerY == pageY) {
                                dialogWindow.resizeTo(body.scrollWidth, body.scrollHeight+75);
                        } else {
                                dialogWindow.resizeBy(Math.max(body.scrollWidth, body.offsetWidth) - innerX, pageY - innerY);
                        }
-                       
+
                                // center on parent if allowed
                        var W = body.offsetWidth;
                        var H = body.offsetHeight;
@@ -3567,7 +3567,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        dialogWindow.moveTo(x, y);
                }
        },
-       
+
        /**
         * Resize the Opera dialog window to its contents, based on size of content div
         *
@@ -3581,11 +3581,11 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                var docElement = doc.documentElement;
                var body = doc.body;
                var width = 0, height = 0;
-       
+
                var contentWidth = content.offsetWidth;
                var contentHeight = content.offsetHeight;
                dialogWindow.resizeTo( contentWidth + 200, contentHeight + 200 );
-               
+
                if (dialogWindow.innerWidth) {
                        width = dialogWindow.innerWidth;
                        height = dialogWindow.innerHeight;
@@ -3598,7 +3598,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                }
                dialogWindow.resizeTo( contentWidth + ( ( contentWidth + 200 ) - width ), contentHeight + ( (contentHeight + 200 ) - (height - 16) ) );
        },
-       
+
        /**
         * Perform the action function when the dialog end
         *
@@ -3609,7 +3609,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        this.action(val);
                }
        },
-       
+
        /**
         * Bring the focus on the dialog window
         *
@@ -3618,7 +3618,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
        focus : function () {
                this.dialogWindow.focus();
        },
-       
+
        /**
         * Recover focus from the parent window
         *
@@ -3632,7 +3632,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                }
                return false;
        },
-       
+
        /**
         * Close the dialog window
         *
@@ -3658,7 +3658,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                }
                return false;
        },
-       
+
        /**
         * Make function reference in order to avoid memory leakage in IE
         *
@@ -3671,7 +3671,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                return (function(arg1, arg2) {
                        self[functionName](arg1, arg2);});
        },
-       
+
        /**
         * Escape event handler
         *
@@ -3694,7 +3694,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                }
                return true;
        },
-       
+
        /**
         * Capture unload, escape and focus events
         *
@@ -3717,7 +3717,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        this.captureFocus(this.dialogWindow.opener);
                }
         },
-        
+
        /**
         * Capture focus events
         *
@@ -3733,7 +3733,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        this.captureFocus(w.frames[i]);
                }
        },
-       
+
        /**
         * Release all event handlers that were set when the dialogue window was opened
         *
@@ -3760,7 +3760,7 @@ HTMLArea.Dialog = HTMLArea.Base.extend({
                        HTMLArea._removeEvent(this.plugin.editor._iframe.contentWindow, "unload", this.unloadFunctionReference);
                }
        },
-       
+
        /**
         * Release focus capturing events that were set when the dialogue window was opened
         *
index 4650065..639acad 100644 (file)
@@ -33,7 +33,7 @@
 /*
  * About window for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
  -->
 <head>
                <!--
                var HTMLArea = window.opener.HTMLArea;
                var dialog = HTMLArea.Dialog.AboutEditor;
-               
+
                function Init() {
                        initDocument();
                        dialog.initialize();
                }
-               
+
                var TABS = [];
                var CURRENT_TAB = 0;
                var CONTENT_HEIGHT_DIFF = 0;
                var CONTENT_WIDTH_DIFF = 0;
-               
+
                function selectTab(idx) {
                        var ct = TABS[CURRENT_TAB];
                        HTMLArea._removeClass(ct, "tab-current");
@@ -70,7 +70,7 @@
                        document.body.style.visibility = "visible";
                        document.cookie = "HTMLAREA-ABOUT-TAB=" + idx;
                }
-               
+
                function initDocument() {
                        var editor = dialog.plugin.editor;
                        var version = document.getElementById("version");
@@ -85,7 +85,7 @@
                                "</tr></thead><tbody>";
                        for (i in editor.plugins) {
                                info = editor.plugins[i];
-                               html += "<tr><td>" + info.name + " v" + info.version + "</td>" + 
+                               html += "<tr><td>" + info.name + " v" + info.version + "</td>" +
                                        "<td><a href='" + info.developer_url + "' target='_blank' >" +
                                        info.developer + "</a></td>" +
                                        "<td><a href='" + info.sponsor_url + "' target='_blank' >" +
                                        "</tr>";
                                ++j;
                        }
-                       
+
                        if (j) {
                                html += "</tbody></table>";
                                plugins.innerHTML = "<p><span>The following plugins have been loaded.</span></p>" + html;
                        } else {
                                plugins.innerHTML = "<p><span>No plugins have been loaded.</span></p>";
                        }
-                       
+
                        plugins.innerHTML += "<p><span>User agent reports:</span><br/>" + navigator.userAgent + "</p>";
-                       
+
                        var content = document.getElementById("tab-areas-content");
                        if (window.innerHeight) {
                                CONTENT_HEIGHT_DIFF = window.innerHeight - 250;
                                CONTENT_WIDTH_DIFF = document.body.offsetWidth - 400;
                        }
                        window.onresize();
-                       
+
                        var bar = document.getElementById("tabbar");
                        j = 0;
                        for (i = bar.firstChild; i; i = i.nextSibling) {
                        dialog.close();
                        return false;
                }
-               
+
                window.onresize = function() {
                        var content = document.getElementById("tab-areas-content");
                        if (window.innerHeight) {
index 25e5b9a..7dbfd2e 100644 (file)
@@ -33,7 +33,7 @@
 /*
  * Character Map Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 -->
 <head>
@@ -49,7 +49,7 @@
                        View(null, character);
                        return false;
                };
-               
+
                var oldView = null;
                function View(td, character) {
                        if (oldView) {
                                oldView.className += " character-hilite";
                        }
                };
-               
+
                function Set(string) {
                        var character = string;
                        dialog.performAction(character);
                        return false;
                };
-               
+
                function onCancel() {
                        dialog.close();
                        return false;
index 75114d2..3d9e6a4 100644 (file)
@@ -30,7 +30,7 @@
 /*
  * Context Menu Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 ContextMenu = function(editor) {
@@ -212,7 +212,7 @@ ContextMenu.prototype.getContextMenu = function(target) {
        var menu = [], opcode;
        var tbo = this.editor.plugins["TableOperations"];
        if (tbo) tbo = "TableOperations";
-       
+
        var selection = editor.hasSelectedText();
        if(selection) {
                if (toolbarObjects['Cut'] && toolbarObjects['Cut'].enabled)  {
@@ -228,11 +228,11 @@ ContextMenu.prototype.getContextMenu = function(target) {
                opcode = "Paste";
                menu.push([i18n[opcode], ContextMenu.execCommandHandler(editor, opcode), null, btnList[opcode][1], opcode]);
        }
-       
+
        var currentTarget = target,
                tmp, tag, link = false,
                table = null, tr = null, td = null, img = null, list = null, div = null;
-       
+
        for(; target; target = target.parentNode) {
                tag = target.nodeName;
                if(!tag) continue;
@@ -306,7 +306,7 @@ ContextMenu.prototype.getContextMenu = function(target) {
                        break;
                }
        }
-       
+
        if (selection && !link) {
                if (menu.length) menu.push(null);
                menu.push([i18n["Make link"],
@@ -314,7 +314,7 @@ ContextMenu.prototype.getContextMenu = function(target) {
                        i18n["Create a link"],
                        btnList["CreateLink"][1],"CreateLink"]);
        }
-       
+
        if (!/^(html|body)$/i.test(currentTarget.nodeName)) {
                if (/^(table|thead|tbody|tr|td|th|tfoot)$/i.test(currentTarget.nodeName)) {
                        tmp = table;
@@ -392,7 +392,7 @@ ContextMenu.documentClickHandler = function(instance) {
                }
                var el = (ev.target) ? ev.target : ev.srcElement;
                for (; el != null && el != instance.currentMenu; el = el.parentNode);
-               if (el == null) { 
+               if (el == null) {
                        instance.closeMenu();
                        instance.editor.updateToolbar();
                }
@@ -489,7 +489,7 @@ ContextMenu.prototype.popupMenu = function(ev,target) {
        list = doc.createElement("ul");
        list.className = "htmlarea-context-menu";
        doc.body.appendChild(list);
-       
+
        var options = this.getContextMenu(target);
        var n = options.length;
        for (var i=0; i < n; ++i) {
index 7e237ae..ba94f83 100644 (file)
@@ -32,7 +32,7 @@
 /*
  * Insert Image window for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id:$
+ * TYPO3 SVN ID: $Id$
  */
 -->
 <html class="popupwin">
@@ -80,7 +80,7 @@
                        document.getElementById("f_url").focus();
                        return false;
                };
-               
+
                function onOK() {
                        var required = { "f_url": "image_url_required" };
                        for (var i in required) {
                        dialog.performAction(param);
                        return false;
                };
-               
+
                function onCancel() {
                        dialog.close();
                        return false;
                };
-               
+
                function onPreview() {
                        var f_url = document.getElementById("f_url");
                        var url = f_url.value;
                                <input type="text" name="border" id="f_border" size="5" title="Leave empty for no border" />
                        </li>
                        <li id="float">
-                               <label for="f_float" class="fl">Float:</label>   
-                               <select class="float" size="1" name="style" id="f_float" title="Where the image should float">   
+                               <label for="f_float" class="fl">Float:</label>
+                               <select class="float" size="1" name="style" id="f_float" title="Where the image should float">
                                        <option value="none">Non-floating</option>
                                        <option value="left">Left</option>
                                        <option value="right">Right</option>
index 1a9e808..d546c0f 100644 (file)
@@ -4,7 +4,7 @@
 # Defines a few class selectors that can be simply taken as examples by anyone who needs to configure the RTE.
 # This css file is referenced by property RTE.default.contentCSS in the default configuration of htmlArea RTE
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************/
 
 /* Left, center and right alignment of text in paragraphs and cells.*/
index 2f640f2..bdebdef 100644 (file)
 /*
  * Dynamic CSS Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 DynamicCSS = HTMLArea.Plugin.extend({
-               
+
        constructor : function(editor, pluginName) {
                this.base(editor, pluginName);
        },
-       
+
                /*
         * This function gets called by the class constructor
         */
        configurePlugin : function(editor) {
                var editorNumber = editor._editorNumber;
-               
+
                        /* Registering plugin "About" information */
                var pluginInformation = {
                        version         : "1.9",
@@ -55,7 +55,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        license         : "GPL"
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                        /* Registering the dropdown list */
                var buttonId = "DynamicCSS-class";
                var dropDownConfiguration = {
@@ -76,16 +76,16 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        classesTag              : RTEarea[editorNumber]["classesTag"]
                };
                this.registerDropDown(dropDownConfiguration);
-               
+
                return true;
        },
-       
+
        onSelect : function(editor, buttonId) {
                var obj = this.editorConfiguration.customSelects[buttonId];
                var tbobj = editor._toolbarObjects[buttonId];
                var index = document.getElementById(tbobj.elementId).selectedIndex;
                var className = document.getElementById(tbobj.elementId).value;
-               
+
                editor.focusEditor();
                var blocks = this.getSelectedBlocks(editor);
                for (var k = 0; k < blocks.length; ++k) {
@@ -102,7 +102,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        }
                }
        },
-       
+
        getSelectedBlocks : function(editor) {
                var block, range, i = 0, blocks = [];
                if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
@@ -120,18 +120,18 @@ DynamicCSS = HTMLArea.Plugin.extend({
                }
                return blocks;
        },
-       
+
        onGenerate : function() {
                var editor = this.editor;
                var obj = editor.config.customSelects["DynamicCSS-class"];
                if(HTMLArea.is_gecko) this.generate(editor);
        },
-       
+
        onUpdateToolbar : function() {
                var editor = this.editor;
                var obj = editor.config.customSelects["DynamicCSS-class"];
                if (HTMLArea.is_gecko && editor.getMode() === "wysiwyg" && editor.isEditable()) {
-                       if(obj.loaded) { 
+                       if(obj.loaded) {
                                this.updateValue(editor,obj);
                        } else {
                                if(obj.timeout) {
@@ -146,7 +146,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        select.className = "buttonDisabled";
                }
        },
-       
+
        generate : function(editor) {
                var obj = editor.config.customSelects["DynamicCSS-class"];
                var classesUrl = obj["classesUrl"];
@@ -158,7 +158,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                if(obj.loaded) this.updateValue(editor,obj);
                        else this.getCSSArray(editor);
        },
-       
+
        getCSSArray : function(editor) {
                var obj = editor.config.customSelects["DynamicCSS-class"];
                obj.cssArray = this.parseStyleSheet(editor);
@@ -172,12 +172,12 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        this.updateValue(editor,obj);
                }
        },
-       
+
        onMode : function(mode) {
                var editor = this.editor;
                if (mode == 'wysiwyg' && editor.isEditable()) {
                        var obj = editor.config.customSelects["DynamicCSS-class"];
-                       if (obj.loaded) { 
+                       if (obj.loaded) {
                                this.updateValue(editor,obj);
                        } else {
                                if(obj.timeout) {
@@ -189,7 +189,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        }
                }
        },
-       
+
        updateValue : function(editor,obj) {
                var cssClass, i;
                if(!obj.loaded) {
@@ -268,7 +268,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        if (select.disabled) HTMLArea._addClass(select, "buttonDisabled");
                }
        },
-       
+
        parseStyleSheet : function(editor) {
                var obj = editor.config.customSelects["DynamicCSS-class"];
                var iframe = editor._iframe.contentWindow ? editor._iframe.contentWindow.document : editor._iframe.contentDocument;
@@ -289,7 +289,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                }
                return newCssArray;
        },
-       
+
        applyCSSRule : function(editor, cssRules, cssArray){
                var cssElements = new Array(),
                        cssElement = new Array(),
@@ -298,7 +298,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                        tagName, className, rule, k,
                        obj = editor.config.customSelects["DynamicCSS-class"];
                newCssArray = cssArray;
-               
+
                for (rule = 0; rule < cssRules.length; rule++) {
                                // StyleRule
                        if (cssRules[rule].selectorText) {
@@ -342,7 +342,7 @@ DynamicCSS = HTMLArea.Plugin.extend({
                }
                return newCssArray;
        },
-       
+
        applyCSSIEImport : function(editor,cssIEImport,cssArray){
                var newCssArray = new Object();
                newCssArray = cssArray;
index 34883c6..7a3460b 100644 (file)
 /*
  * Find and Replace Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 FindReplace = HTMLArea.Plugin.extend({
-               
+
        constructor : function(editor, pluginName) {
                this.base(editor, pluginName);
        },
-       
+
        /*
         * This function gets called by the class constructor
         */
        configurePlugin : function(editor) {
-               
+
                /*
                 * Registering plugin "About" information
                 */
@@ -56,7 +56,7 @@ FindReplace = HTMLArea.Plugin.extend({
                        license         : "GPL"
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                /*
                 * Registering the button
                 */
@@ -68,13 +68,13 @@ FindReplace = HTMLArea.Plugin.extend({
                        dialog          : true
                };
                this.registerButton(buttonConfiguration);
-               
+
                this.popupWidth = 300;
                this.popupHeight = 400;
-               
+
                return true;
        },
-       
+
        /*
         * This function gets called when the button was pressed.
         *
@@ -87,7 +87,7 @@ FindReplace = HTMLArea.Plugin.extend({
                        // Could be a button or its hotkey
                var buttonId = this.translateHotKey(id);
                buttonId = buttonId ? buttonId : id;
-               
+
                var sel = this.editor.getSelectedHTML(), param = null;
                if (/\w/.test(sel)) {
                        sel = sel.replace(/<[^>]*>/g,"");
@@ -96,7 +96,7 @@ FindReplace = HTMLArea.Plugin.extend({
                if (/\w/.test(sel)) {
                        param = { fr_pattern: sel };
                }
-               
+
                this.dialog = this.openDialog("FindReplace", this.makeUrlFromPopupName("find_replace"), null, param, {width:this.popupWidth, height:this.popupHeight});
                return false;
        }
index d8a3f5b..eed5627 100644 (file)
@@ -32,7 +32,7 @@
 /*
  * Find and Replace Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 -->
 <head>
                        'fr_matchcase'     : true,
                        'fr_replaceall'    : true
                };
-               
+
                function Init() {
                        editor = dialog.plugin.editor;
                        disable("fr_undo,fr_clear,fr_hiliteall", true);
-                       
+
                        var params = dialog.arguments;
                        if (params) {
                                document.getElementById('fr_pattern').value = params.fr_pattern;
@@ -87,7 +87,7 @@
                                        return false;
                                }
                        }
-                       
+
                        var param = {};
                        for (var i in accepted) {
                                var el = document.getElementById(i);
                                <input id="fr_replaceall" type="checkbox" onClick="requestReplacement();">
                                <label for="fr_replaceall" class="long-label">Substitute all occurrences</label>
                        </li>
-               </ul>   
+               </ul>
        </fieldset>
        <fieldset>
                <legend>Actions</legend>
index b6ef788..e9965d9 100644 (file)
@@ -1,5 +1,5 @@
 <html class="popupwin">
-<!-- 
+<!--
 /***************************************************************
 *  Copyright notice
 *
@@ -32,7 +32,7 @@
 /*
  * Insert Smiley Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 -->
 <head>
                <!--
                var dialog = window.opener.HTMLArea.Dialog.InsertSmiley;
                var param;
-               
+
                function Init() {
                        var totalsmileys = 20;
                        dialog.initialize();
-                       
+
                        param = dialog.arguments;
                        var tbody = document.getElementById("smileytable");
                        var inum;
@@ -74,7 +74,7 @@
                                trow.insertCell((i - 1) % 4).innerHTML = "<a href=\"javascript:onOK('" + inum + "')\"><img style=\"border: 0px;\" alt=\"Smiley " + + i + "\" src=\""+ param.editor_url +"plugins/InsertSmiley/smileys/" + inum + ".gif\" />";
                        }
                };
-               
+
                function onOK(smileynum) {
                        var params = {};
                        params.imgURL = param.editor_url +"plugins/InsertSmiley/smileys/" + smileynum + ".gif";
@@ -82,7 +82,7 @@
                        dialog.close();
                        return false;
                };
-               
+
                function onCancel() {
                        dialog.close();
                        return false;
index 3f1f1c2..cfe51a6 100644 (file)
 /*
  * Quick Tag Editor Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 QuickTag = HTMLArea.Plugin.extend({
-               
+
        constructor : function(editor, pluginName) {
                this.base(editor, pluginName);
        },
-       
+
        /*
         * This function gets called by the class constructor
         */
        configurePlugin : function(editor) {
-               
+
                this.pageTSConfiguration = this.editorConfiguration.buttons.inserttag;
                this.tags = (this.pageTSConfiguration && this.pageTSConfiguration.tags) ? this.pageTSConfiguration.tags : null;
                this.denyTags = (this.pageTSConfiguration && this.pageTSConfiguration.denyTags) ? this.pageTSConfiguration.denyTags : null;
                this.allowedAttribs =  (this.pageTSConfiguration && this.pageTSConfiguration.allowedAttribs) ? this.pageTSConfiguration.allowedAttribs : null;
-               
+
                /*
                 * Registering plugin "About" information
                 */
@@ -61,7 +61,7 @@ QuickTag = HTMLArea.Plugin.extend({
                        license         : "GPL"
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                /*
                 * Registering the button
                 */
@@ -74,10 +74,10 @@ QuickTag = HTMLArea.Plugin.extend({
                        dialog          : true
                };
                this.registerButton(buttonConfiguration);
-               
+
                return true;
         },
-       
+
        /*
         * This function gets called when the button was pressed.
         *
@@ -90,7 +90,7 @@ QuickTag = HTMLArea.Plugin.extend({
        onButtonPress : function(editor, id, target) {
                this.dialog = this.openDialog("InsertTag", this.makeUrlFromPopupName("quicktag"), "setTag", null, {width:450, height:108});
        },
-       
+
        /*
         * Insert the tag
         *
index c9c2048..276a88e 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Remove Format Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 -->
 <head>
                /*<![CDATA[*/
                <!--
                var dialog = window.opener.HTMLArea.Dialog.RemoveFormat;
-               
+
                function Init() {
                        dialog.initialize();
                        var editor = dialog.plugin.editor;
                        if (!editor._selectionEmpty(editor._getSelection())) document.getElementById('clean_selection').checked = true;
                }
-               
+
                function onOK() {
                        var param = {};
                        if (document.getElementById('clean_selection').checked) {
@@ -53,7 +53,7 @@
                        } else {
                                param["cleaning_area"] = "all";
                        }
-                       
+
                        var fields = ["formatting", "ms_formatting", "images", "html_all"];
                        oneChecked = false;
                        for (var i=0; i<fields.length; i++) {
index f170eaa..46032bc 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * Color Select Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 SelectColor = function(editor) {
@@ -41,7 +41,7 @@ SelectColor = function(editor) {
                var id = "CO-" + btn[0];
                this.editor.eventHandlers[id] = SelectColor.actionHandler(this);
                cfg.registerButton(
-                       id, 
+                       id,
                        SelectColor_langArray[id],
                        editor.imgURL(id + ".gif", "SelectColor"),
                        false,
index 0078843..2124090 100644 (file)
@@ -33,7 +33,7 @@
 /*
  * Spell Checker Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 -->
 <head>
         </td>
       </tr>
     </table>
-</div> 
+</div>
 </body>
 </html>
index fb5941d..7b4d30f 100644 (file)
@@ -26,7 +26,7 @@
 /**
  * TYPO3 Image & Link Browsers Plugin for TYPO3 htmlArea RTE
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 TYPO3Browsers = function(editor,args) {
@@ -109,9 +109,9 @@ HTMLArea.prototype.renderPopup_addLink = function(theLink,cur_target,cur_class,c
                range = this._createRange(sel);
                this.cleanAllLinks(node, range, true);
        }
-       
+
        this._doc.execCommand("CreateLink", false, theLink);
-       
+
        sel = this._getSelection();
        range = this._createRange(sel);
        node = this.getParentElement();
@@ -132,7 +132,7 @@ HTMLArea.prototype.renderPopup_addLink = function(theLink,cur_target,cur_class,c
                        // We may have created multiple links in as many blocks
                this.setLinkAttributes(node, range, cur_target, cur_class, cur_title, imageNode);
        }
-       
+
        Dialog._modal.close();
        this.updateToolbar();
 };
@@ -161,7 +161,7 @@ HTMLArea.prototype.setLinkAttributes = function(node,range,cur_target,cur_class,
                                else node.removeAttribute("target");
                        if (cur_class.trim()) {
                                node.className = cur_class.trim();
-                       } else { 
+                       } else {
                                if (HTMLArea.is_gecko) node.removeAttribute('class');
                                        else node.removeAttribute('className');
                        }
@@ -254,7 +254,7 @@ HTMLArea.prototype.renderPopup_unLink = function() {
                        this.cleanAllLinks(node, range, true);
                        this._doc.execCommand("Unlink", false, "");
                }
-                       
+
        } else {
                this._doc.execCommand("Unlink", false, "");
        }
index 6a6dcae..934adee 100644 (file)
 /*
  * TYPO3Image plugin for htmlArea RTE
  *
- * TYPO3 CVS ID: $Id:$
+ * TYPO3 SVN ID: $Id:$
  */
 TYPO3Image = HTMLArea.Plugin.extend({
-       
+
        constructor : function(editor, pluginName) {
                this.base(editor, pluginName);
        },
-       
+
        /*
         * This function gets called by the class constructor
         */
        configurePlugin : function(editor) {
-               
+
                this.pageTSConfiguration = this.editorConfiguration.buttons.image;
                this.imageModulePath = this.pageTSConfiguration.pathImageModule;
-               
+
                /*
                 * Registering plugin "About" information
                 */
@@ -56,7 +56,7 @@ TYPO3Image = HTMLArea.Plugin.extend({
                        license         : "GPL"
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                /*
                 * Registering the button
                 */
@@ -69,10 +69,10 @@ TYPO3Image = HTMLArea.Plugin.extend({
                        dialog          : true
                };
                this.registerButton(buttonConfiguration);
-               
+
                return true;
         },
-        
+
        /*
         * This function gets called when the button was pressed
         *
@@ -86,7 +86,7 @@ TYPO3Image = HTMLArea.Plugin.extend({
                        // Could be a button or its hotkey
                var buttonId = this.translateHotKey(id);
                buttonId = buttonId ? buttonId : id;
-               
+
                var additionalParameter;
                if (typeof(target) !== "undefined") {
                        this.image = target;
@@ -99,11 +99,11 @@ TYPO3Image = HTMLArea.Plugin.extend({
                if (this.image) {
                        additionalParameter = "&act=image";
                }
-               
+
                this.dialog = this.openDialog("InsertImage", this.makeUrlFromModulePath(this.imageModulePath, additionalParameter), null, null, {width:550, height:350}, "yes");
                return false;
        },
-       
+
        /*
         * Insert the image
         * This function is called from the typo3-image-popup
index 5d331da..0ba48fa 100644 (file)
@@ -26,7 +26,7 @@
  *
  * @author Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  *
  */
 require_once(PATH_tslib.'class.tslib_pibase.php');
@@ -66,7 +66,7 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
        var $userUid;
        var $personalDictsArg = '';
        var $xmlCharacterData = '';
-       
+
        /**
         * Main class of Spell Checker plugin for Typo3 CMS
         *
@@ -96,7 +96,7 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
                        if( doubleval($AspellVersion) < doubleval('0.5') && (!$this->pspell_is_available || $this->forceCommandMode)) echo('Configuration problem: Aspell version ' . $AspellVersion . ' too old. Spell checking cannot be performed in command mode');
                        $this->defaultAspellEncoding = trim(shell_exec($this->AspellDirectory.' config encoding'));
                }
-               
+
                        // Setting the list of dictionaries
                if(!$safe_mode_is_enabled && (!$this->pspell_is_available || $this->forceCommandMode)) {
                        $dictionaryList = shell_exec( $this->AspellDirectory.' dump dicts');
@@ -147,7 +147,7 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
                        $this->dictionary = $defaultDictionary;
                }
                $dictionaries = substr_replace($dictionaryList, '@'.$this->dictionary, strpos($dictionaryList, $this->dictionary), strlen($this->dictionary));
-               
+
                        // Setting the pspell suggestion mode
                $this->pspellMode = t3lib_div::_POST('pspell_mode')?t3lib_div::_POST('pspell_mode'): $this->pspellMode;
                        // Now sanitize $this->pspellMode
@@ -165,7 +165,7 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
                                $pspellModeFlag = PSPELL_NORMAL;
                                break;
                }
-               
+
                        // Setting the charset
                if (t3lib_div::_POST('pspell_charset')) {
                        $this->charset = trim(t3lib_div::_POST('pspell_charset'));
@@ -175,13 +175,13 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
                }
                $internal_encoding = mb_internal_encoding(strtoupper($this->parserCharset));
                //$regex_encoding = mb_regex_encoding(strtoupper($this->parserCharset));
-               
+
                        // In some configurations, Aspell uses 'iso8859-1' instead of 'iso-8859-1'
                $this->aspellEncoding = $this->parserCharset;
                if ($this->parserCharset == 'iso-8859-1' && strstr($this->defaultAspellEncoding, '8859-1')) {
                        $this->aspellEncoding = $this->defaultAspellEncoding;
                }
-               
+
                        // However, we are going to work only in the parser charset
                if($this->pspell_is_available && !$this->forceCommandMode) {
                        $this->pspell_link = pspell_new($this->dictionary, '', '', $this->parserCharset, $pspellModeFlag);
@@ -311,7 +311,7 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
                        $this->spellCheckHandler($xml_parser, $this->xmlCharacterData);
                        $this->xmlCharacterData = '';
                }
-               
+
                switch($tag) {
                        case 'spellchecker':
                                break;
@@ -440,7 +440,7 @@ class tx_rtehtmlarea_pi1 extends tslib_pibase {
                unset($incurrent);
                return;
        }
-       
+
        function collectDataHandler($xml_parser, $string) {
                $this->xmlCharacterData .= $string;
        }
index 8176769..a724a89 100644 (file)
@@ -2,7 +2,7 @@
 # Default Page TSconfig for enabling the use of accessibility icons on links
 #
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Anchor classes configuration for use by the anchor accessibility feature (htmlArea RTE only)
index 23dfab0..7515423 100644 (file)
@@ -5,15 +5,15 @@
 #
 # @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
 RTE.default {
-       
+
                ## Toolbar options applicable to all RTE's
                ## The TCA configuration may add buttons to the toolbar
        showButtons =  bold,italic,undo,redo,about
-       
+
 }
 
        ## front end RTE configuration for the general public (htmlArea RTE only)
index cd580c2..c0388a7 100644 (file)
@@ -5,7 +5,7 @@
 #
 # @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Enable the RTE by default for all users
index 8809ebe..b183885 100644 (file)
@@ -4,7 +4,7 @@
 # Defines a few class selectors that can be simply taken as examples by anyone who needs to configure the RTE.
 # This css file is referenced by property RTE.default.contentCSS in the default configuration of htmlArea RTE
 #
-# TYPO3 CVS ID: $Id: dynamiccss.css 2663 2007-11-05 09:22:23Z ingmars $
+# TYPO3 SVN ID: $Id: dynamiccss.css 2663 2007-11-05 09:22:23Z ingmars $
 # ***************************************************************************************/
 
 /* Left, center, right and justify alignment of text in block elements*/
index ab878bf..c1eae25 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Sets default Page TSConfig with maximal features for users who want to explore the features of the RTE.
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Define labels and styles to be applied to class selectors in the interface of the RTE
@@ -114,25 +114,25 @@ RTE.default {
        removeComments = 1
        removeTags = center, o:p, sdfield
        removeTagsAndContents = style,script
-               
+
                ## Allow img tags
        proc.entryHTMLparser_db.tags.img >
-       
+
                ## Allow style attribute
        proc.entryHTMLparser_db.tags {
                p.allowedAttribs := addToList(style)
                span.fixAttrib.style.unset >
        }
-       
+
                ## Toolbar options
        showButtons = *
-       
+
                ## More toolbar options (htmlArea RTE only)
        keepButtonGroupTogether = 1
-       
+
                ## Enable status bar (htmlArea RTE only)
        showStatusBar =  1
-       
+
                ## Add default example styles
                ## Left, center and right alignment of text in paragraphs and cells.
        inlineStyle.text-alignment (
@@ -161,13 +161,13 @@ RTE.default {
                span.name-of-person { color: #10007B; }
                span.detail { color: #186900; }
        )
-       
+
                ## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
        ignoreMainStyleOverride = 1
-       
+
                ## For this demo, do not remove font, strike and u tags
        proc.entryHTMLparser_db.removeTags := removeFromList(font,strike,u)
-       
+
                ## List all class selectors that are allowed on the way to the database
        proc.allowedClasses (
                external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
@@ -178,19 +178,19 @@ RTE.default {
                important, name-of-person, detail,
                indent
        )
-       
+
                ## classesParagraph, classesTable, classesTD, classesLinks, classesCharacter
                ## Classic RTE: Specify the list of class selectors that should be presented in the RTE interface:
                ## htmlArea RTE: Restrict the list of class selectors presented by the RTE to the following:
        classesParagraph (
-               align-left, align-center, align-right, 
+               align-left, align-center, align-right,
                csc-frame-frame1, csc-frame-frame2
        )
        classesTable = csc-frame-frame1, csc-frame-frame2
        classesTD = align-left, align-center, align-right
        classesLinks = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
        classesCharacter = important, name-of-person, detail
-       
+
                ## Configuration of the anchor accessibility feature (htmlArea RTE only)
                ## These classes should also be in the list of allowedClasses.
        classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
@@ -200,26 +200,26 @@ RTE.default {
                file = download
                mail = mail
        }
-       
+
                ## Show all applicable class selectors available in the style sheet file (htmlArea RTE only)
        showTagFreeClasses = 1
-       
+
                ## Configuration specific to the table button or TableOperations feature (htmlArea RTE only)
                ## Use the context menu instead of the toolbar for table operations, but keep toggleborders button in toolbar
        hideTableOperationsInToolbar = 1
        buttons.toggleborders.keepInToolbar = 1
-       
+
                ## Configuration specific to the inserttag button or QuickTag feature (htmlArea RTE only)
                ## Do not allow insertion of the following tags
        buttons.inserttag.denyTags = font, underline, strike, table
-       
+
                ## Configuration specific to the bold and italic buttons (htmlArea RTE only)
                ## Add hotkeys associated with bold, italic, strikethrough and underline buttons
        buttons.bold.hotKey = b
        buttons.italic.hotKey = i
        buttons.strikethrough.hotKey = s
        buttons.underline.hotkey = u
-       
+
                ## Configuration specific to the spellcheck button or SpellCheck feature (htmlArea RTE only)
                ## Enable the use of personal dictionaries
        enablePersonalDicts = 1
index de089a1..5a2bebc 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Sets default User TSConfig with maximal features for users who want to explore the features of the RTE.
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Enable the RTE by default for all users
index b9493b0..ef42051 100644 (file)
@@ -5,19 +5,19 @@
 # Note that all these settings are already included in the "Demo" default configuration
 # However, this will update the "Minimal" and "Typical" default configurations
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Default RTE configuration
 RTE.default {
-       
+
                ## Enable the image button
        showButtons := addToList(image)
-       
+
                ## Tags allowed outside p & div
                ## Adding img tag to the default list
        proc.allowTagsOutside := addToList(img)
-       
+
                ## Do not remove img tags
        proc.entryHTMLparser_db.tags.img >
 }
index e9c2775..707466b 100644 (file)
 #
 # @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Default RTE processing rules
 RTE.default.proc {
-       
+
                ## TRANSFORMATION METHOD
                ## We assume that CSS Styled Content is used.
        overruleMode = ts_css
-       
+
                ## DO NOT CONVERT BR TAGS INTO LINEBREAKS
                ## br tags in the content are assumed to be intentional.
        dontConvBRtoParagraph = 1
-       
+
                ## PRESERVE DIV SECTIONS - DO NOT REMAP TO P
        preserveDIVSections = 1
-       
+
                ## TAGS ALLOWED OUTSIDE P & DIV
        allowTagsOutside = hr, address
-       
+
                ## TAGS ALLOWED
                ## Added to the default internal list: b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span
                ## But, for the sake of clarity, we use a complete list in alphabetic order.
@@ -44,45 +44,45 @@ RTE.default.proc {
                h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, link, ol, p, pre, q, samp, sdfield, small,
                span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul, var
                )
-       
+
                ## TAGS DENIED
                ## Make sure we can set rules on any tag listed in allowTags.
        denyTags >
-       
+
                ## ALLOWED P & DIV ATTRIBUTES
                ## Attributes class and align are always preserved
                ## Align attribute will be unset on entry (see below)
                ## This is a list of additional attributes to keep
        keepPDIVattribs = id, title, dir, lang, xml:lang
-       
+
                ## REMAP BOLD AND ITALIC TO STRONG AND EMPHASIS AND VICE VERSA
        transformBoldAndItalicTags = 1
-       
+
                ## ALLOW TO WRITE ABOUT HTML
        dontUndoHSC_db = 1
        dontHSC_rte = 1
-       
+
                ## CONTENT TO DATABASE
        entryHTMLparser_db = 1
        entryHTMLparser_db {
-       
+
                        ## TAGS ALLOWED
                        ## Always use the same list of allowed tags.
                allowTags < RTE.default.proc.allowTags
-               
+
                        ## TAGS DENIED
                        ## Make sure we can set rules on any tag listed in allowTags.
                denyTags >
-               
+
                        ## AVOID CONTENT BEING HSC'ed TWICE
                htmlSpecialChars = 0
-               
+
                tags {
-                       
+
                                ## REMOVE IMG TAGS
                        img.allowedAttribs = 0
                        img.rmTagIfNoAttrib = 1
-                       
+
                                ## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
                        span.fixAttrib.style.unset = 1
                        p {
@@ -115,33 +115,33 @@ RTE.default.proc {
                        u.allowedAttribs = id, title, dir, lang, xml:lang, class
                        var.allowedAttribs = id, title, dir, lang, xml:lang, class
                }
-               
+
                        ## REMOVE OPEN OFFICE META DATA TAGS, WORD 2003 TAGS AND DEPRECATED HTML TAGS
                        ## We use this rule instead of the denyTags rule so that we can protect custom tags without protecting these unwanted tags.
                removeTags = center, font, o:p, sdfield, strike, u
-               
+
                        ## PROTECT CUSTOM TAGS
                keepNonMatchedTags = protect
        }
-       
+
        HTMLparser_db {
                        ## STRIP ALL ATTRIBUTES FROM THESE TAGS
                        ## If this list of tags is not set, it will default to: b,i,u,br,center,hr,sub,sup,strong,em,li,ul,ol,blockquote,strike.
                        ## However, we want to keep xml:lang attribute on most tags and tags from the default list where cleaned on entry.
                noAttrib = br
-       
+
                        ## XHTML COMPLIANCE
                        ## Note that applying xhtml_cleaning on exit would break non-standard attributes of typolink tags
                xhtml_cleaning = 1
        }
-       
+
        exitHTMLparser_db = 1
        exitHTMLparser_db {
                        ## KEEP ALL TAGS
                        ## Unwanted tags were removed on entry.
                        ## Without this rule, the parser will remove all tags! Presumably, this rule will be more efficient than repeating the allowTags rule
                keepNonMatchedTags = 1
-               
+
                        ## AVOID CONTENT BEING HSC'ed TWICE
                htmlSpecialChars = 0
        }
index 6d137d1..b3b4772 100644 (file)
@@ -5,7 +5,7 @@
 #
 # @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 
        ## Define labels and styles to be applied to class selectors in the interface of the RTE
@@ -104,16 +104,16 @@ RTE.default {
        removeComments = 1
        removeTags = center, font, o:p, sdfield, strike,u
        removeTagsAndContents = style,script
-       
+
                ## Toolbar options
                ## The TCA configuration may add buttons to the toolbar
                ## The following buttons are specific to Classic RTE: class
-               ## The following buttons are specific to htmlArea RTE: blockstylelabel, blockstyle, textstylelabel, textstyle, 
-               ##              insertcharacter, findreplace, removeformat, toggleborders, tableproperties, 
-               ##              rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, 
-               ##              columninsertbefore, columninsertafter, columndelete, columnsplit, 
+               ## The following buttons are specific to htmlArea RTE: blockstylelabel, blockstyle, textstylelabel, textstyle,
+               ##              insertcharacter, findreplace, removeformat, toggleborders, tableproperties,
+               ##              rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
+               ##              columninsertbefore, columninsertafter, columndelete, columnsplit,
                ##              cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
-       showButtons ( 
+       showButtons (
                class, blockstylelabel, blockstyle, textstylelabel, textstyle,
                formatblock, bold, italic, subscript, superscript,
                orderedlist, unorderedlist, outdent, indent, textindicator,
@@ -123,16 +123,16 @@ RTE.default {
                columninsertbefore, columninsertafter, columndelete, columnsplit,
                cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
        )
-       
+
                ## More toolbar options (htmlArea RTE only)
        keepButtonGroupTogether = 1
-       
+
                ## Enable status bar (htmlArea RTE only)
        showStatusBar =  1
-       
+
                ## Hide infrequently used paragraph types in the paragraph type selector (formatblock button)
        hidePStyleItems = pre,address
-       
+
                ## Add default example styles
                ## The example styles included here make partial re-use of color scheme and frame scheme from CSS Styled Content extension
                ## Left, center and right alignment of text in paragraphs and cells.
@@ -162,10 +162,10 @@ RTE.default {
                span.name-of-person { color: #10007B; }
                span.detail { color: #186900; }
        )
-       
+
                ## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
        ignoreMainStyleOverride = 1
-       
+
                ## List all class selectors that are allowed on the way to the database
        proc.allowedClasses (
                external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
@@ -176,19 +176,19 @@ RTE.default {
                important, name-of-person, detail,
                indent
        )
-       
+
                ## classesParagraph, classesTable, classesTD, classesLinks, classesCharacter
                ## Classic RTE: Specify the list of class selectors that should be presented in the RTE interface:
                ## htmlArea RTE: Restrict the list of class selectors presented by the RTE to the following:
        classesParagraph (
-               align-left, align-center, align-right, 
+               align-left, align-center, align-right,
                csc-frame-frame1, csc-frame-frame2
        )
        classesTable = csc-frame-frame1, csc-frame-frame2
        classesTD = align-left, align-center, align-right
        classesLinks = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
        classesCharacter = important, name-of-person, detail
-       
+
                ## Configuration of the anchor accessibility feature (htmlArea RTE only)
                ## These classes should also be in the list of allowedClasses.
        classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
@@ -198,7 +198,7 @@ RTE.default {
                file = download
                mail = mail
        }
-       
+
                ## Configuration specific to the TableOperations feature (htmlArea RTE only)
                ## Remove the following fieldsets from the table operations dialogs
        disableAlignmentFieldsetInTableOperations = 1
@@ -206,7 +206,7 @@ RTE.default {
        disableColorFieldsetInTableOperations = 1
        disableLayoutFieldsetInTableOperations = 1
        disableBordersFieldsetInTableOperations = 1
-       
+
                ## Configuration specific to the bold and italic buttons (htmlArea RTE only)
                ## Add hotkeys associated with bold and italic buttons
        buttons.bold.hotKey = b
index 098586c..94bfbb6 100644 (file)
@@ -5,7 +5,7 @@
 #
 # @author      Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
 #
-# TYPO3 CVS ID: $Id$
+# TYPO3 SVN ID: $Id$
 # ***************************************************************************************
 ## Default User TSConfig for the Usual default RTE configuration
 
index 514ab1a..85ef80b 100644 (file)
@@ -9,7 +9,7 @@
  *
  * License: GNU General Public License
  *
- * TYPO3 CVS ID: $Id$
+ * TYPO3 SVN ID: $Id$
  */
 
 function checkBrowser()        {