FIX Fixed typo in TS Setup
authorjocrau <jocrau@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 23 Sep 2008 17:38:31 +0000 (17:38 +0000)
committerBastian Bringenberg <spam@bastian-bringenberg.de>
Thu, 4 Dec 2014 23:56:05 +0000 (00:56 +0100)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/contagged/trunk@12251 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
class.tx_contagged.php
ext_emconf.php

index baff0fb..4114a1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+v0.1.4 2008-09-23 Jochen Rau <j.rau@web.de>
+
+       * FIX Fixed typo in TS Setup
+
 v0.1.3 2008-09-22 Jochen Rau <j.rau@web.de>
 
        * ADD The maximum number of recurrences of a term (for a cObj) can be set by maxRecurrences in the TS Setup
index 1e17bdd..5838fe8 100644 (file)
@@ -146,9 +146,9 @@ class tx_contagged extends tslib_pibase {
                preg_match_all($regEx,$content,$matchesArray,PREG_OFFSET_CAPTURE);
                $matchesArray = $matchesArray[0]; // only take the full pattern matches of the regEx
                
-               // determine the maximum of recurrencies of the same term to be tagged
-               $maxRecurrencies = $this->conf['maxRecurrencies'] ? min($this->conf['maxRecurrencies'], count($matchesArray)) : count($matchesArray);
-               for ($i=0; $i < $maxRecurrencies; $i++) {
+               // determine the maximum of recurrences of the same term to be tagged
+               $maxRecurrences = $this->conf['maxRecurrences'] ? min($this->conf['maxRecurrences'], count($matchesArray)) : count($matchesArray);
+               for ($i=0; $i < $maxRecurrences; $i++) {
                        $preContent = substr($content,0,$matchesArray[$i][1]);
                        $postContent = substr($content,strlen($matchesArray[$i][0])+$matchesArray[$i][1]);
 
index ff1f1cf..010c65e 100644 (file)
@@ -3,7 +3,7 @@
 ########################################################################
 # Extension Manager/Repository config file for ext: "contagged"
 #
-# Auto generated 23-09-2008 10:42
+# Auto generated 23-09-2008 19:37
 #
 # Manual updates:
 # Only the data in the array - anything else is removed by next write.
@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
        'description' => 'This extension parses your content to tag, replace and link specific terms. It is useful to auto-generate a glossary - but not only. See \'ChangeLog\' and WiKi (\'http://wiki.typo3.org/index.php/Contagged\').',
        'category' => 'fe',
        'shy' => 0,
-       'version' => '0.1.3',
+       'version' => '0.1.4',
        'dependencies' => '',
        'conflicts' => '',
        'priority' => '',
@@ -40,7 +40,7 @@ $EM_CONF[$_EXTKEY] = array(
                'suggests' => array(
                ),
        ),
-       '_md5_values_when_last_written' => 'a:23:{s:9:"ChangeLog";s:4:"a31d";s:10:"README.txt";s:4:"72b7";s:22:"class.tx_contagged.php";s:4:"8994";s:21:"ext_conf_template.txt";s:4:"0086";s:12:"ext_icon.gif";s:4:"50a3";s:17:"ext_localconf.php";s:4:"d45d";s:14:"ext_tables.php";s:4:"022c";s:14:"ext_tables.sql";s:4:"3600";s:27:"icon_tx_contagged_terms.gif";s:4:"50a3";s:16:"locallang_db.xml";s:4:"750b";s:7:"tca.php";s:4:"b9b2";s:14:"doc/manual.sxw";s:4:"0774";s:23:"doc/realurl_example.php";s:4:"7ef3";s:16:"js/selecttext.js";s:4:"1179";s:41:"model/class.tx_contagged_model_mapper.php";s:4:"8ead";s:40:"model/class.tx_contagged_model_terms.php";s:4:"a8ed";s:30:"pi1/class.tx_contagged_pi1.php";s:4:"6370";s:18:"pi1/contagged.tmpl";s:4:"4d1f";s:17:"pi1/locallang.xml";s:4:"1a34";s:20:"static/constants.txt";s:4:"973c";s:16:"static/setup.txt";s:4:"97ff";s:20:"static/css/setup.txt";s:4:"fd93";s:25:"static/examples/setup.txt";s:4:"b39c";}',
+       '_md5_values_when_last_written' => 'a:23:{s:9:"ChangeLog";s:4:"e047";s:10:"README.txt";s:4:"72b7";s:22:"class.tx_contagged.php";s:4:"f4cd";s:21:"ext_conf_template.txt";s:4:"0086";s:12:"ext_icon.gif";s:4:"50a3";s:17:"ext_localconf.php";s:4:"d45d";s:14:"ext_tables.php";s:4:"022c";s:14:"ext_tables.sql";s:4:"3600";s:27:"icon_tx_contagged_terms.gif";s:4:"50a3";s:16:"locallang_db.xml";s:4:"750b";s:7:"tca.php";s:4:"b9b2";s:14:"doc/manual.sxw";s:4:"0774";s:23:"doc/realurl_example.php";s:4:"7ef3";s:16:"js/selecttext.js";s:4:"1179";s:41:"model/class.tx_contagged_model_mapper.php";s:4:"8ead";s:40:"model/class.tx_contagged_model_terms.php";s:4:"a8ed";s:30:"pi1/class.tx_contagged_pi1.php";s:4:"6370";s:18:"pi1/contagged.tmpl";s:4:"4d1f";s:17:"pi1/locallang.xml";s:4:"1a34";s:20:"static/constants.txt";s:4:"973c";s:16:"static/setup.txt";s:4:"97ff";s:20:"static/css/setup.txt";s:4:"fd93";s:25:"static/examples/setup.txt";s:4:"b39c";}',
        'suggests' => array(
        ),
 );