* FIX Bug #3017: Page browser is not localised
authorjocrau <jocrau@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 28 May 2009 09:01:26 +0000 (09:01 +0000)
committerBastian Bringenberg <spam@bastian-bringenberg.de>
Thu, 4 Dec 2014 23:56:06 +0000 (00:56 +0100)
* IMP Cache handling (useCacheHash = 1 default for all links)

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/contagged/trunk@20795 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
class.tx_contagged.php
ext_emconf.php
pi1/class.tx_contagged_pi1.php
pi1/locallang.xml
static/constants.txt

index 2fb7b73..b6ef769 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+v1.0.3 2009-05-28 Jochen Rau <jochen.rau@typoplanet.de>
+
+       * FIX Bug #3017: Page browser is not localised
+       * IMP Cache handling (useCacheHash = 1 default for all links)
+
 v1.0.2 2009-05-28 Jochen Rau <jochen.rau@typoplanet.de>
 
        * FIX plugin.tx_contagged.index.showOnlyMatchedIndexChars() = 1 had no effect (plugin.tx_contagged.showOnlyMatchedIndexChars() = 1 was evaluated)
index 1f3ab9d..0c12c6e 100644 (file)
@@ -59,6 +59,7 @@ class tx_contagged extends tslib_pibase {
                        $this->typolinkConf['additionalParams'] = $this->cObj->stdWrap($typolinkConf['additionalParams'], $typolinkConf['additionalParams.']);
                        unset($this->typolinkConf['additionalParams.']);
                }
+               $this->typolinkConf['useCacheHash'] = 1;
 
                // exit if the content should be skipped
                if ($this->isContentToSkip()) return $content;          
index 33f2891..18761c6 100644 (file)
@@ -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' => '1.0.2',
+       'version' => '1.0.3',
        'dependencies' => '',
        'conflicts' => '',
        'priority' => '',
index 96efa80..0f5714e 100644 (file)
@@ -66,6 +66,7 @@ class tx_contagged_pi1 extends tslib_pibase {
                        $this->typolinkConf['additionalParams'] = $this->cObj->stdWrap($typolinkConf['additionalParams'], $typolinkConf['additionalParams.']);
                        unset($this->typolinkConf['additionalParams.']);
                }
+               $this->typolinkConf['useCacheHash'] = 1;
                $this->backPid = $this->piVars['backPid'] ? intval($this->piVars['backPid']) : NULL;
                $this->pointer = $this->piVars['pointer'] ? intval($this->piVars['pointer']) : NULL;
                $this->indexChar = $this->piVars['index'] ? urldecode($this->piVars['index']) : NULL; // TODO The length should be configurable
@@ -272,7 +273,6 @@ class tx_contagged_pi1 extends tslib_pibase {
                if (!empty($typeConfigArray['typolink.'])) {
                        $typolinkConf = t3lib_div::array_merge_recursive_overrule($typolinkConf, $typeConfigArray['typolink.']);
                }
-               $typolinkConf['useCacheHash'] = 1;
                $typolinkConf['additionalParams'] .= '&' . $this->prefixId . '[termSource]=' . $termArray['sourceName'] . '&' . $this->prefixId . '[termUid]=' . $termArray['uid'];
                $typolinkConf['parameter'] = $termArray['listPages'][0];
                $this->typolinkConf['parameter.']['current'] = 0;
@@ -400,7 +400,6 @@ class tx_contagged_pi1 extends tslib_pibase {
                                $sortField = $this->model->getSortField($termArray);
                                foreach ($reverseIndexArray as $subChar => $indexChar) {
                                        if ( preg_match('/^'.preg_quote($subChar).'/' . $this->conf['modifier'],$termArray[$sortField])>0 ) {
-                                               $typolinkConf['useCacheHash'] = 1;
                                                $typolinkConf['additionalParams'] = '&' . $this->prefixId . '[index]=' . $indexChar;
                                                $indexArray[$indexChar] = $this->local_cObj->typolink($indexChar, $typolinkConf);
                                                $this->termsArray[$termKey]['indexChar'] = $indexChar;
index 2f3f263..87d3a5f 100644 (file)
                        <label index="lang.it">it.</label>
                        <label index="lang.es">span.</label>
                        <label index="pi_list_searchBox_search">Search</label>
+                       <label index="pi_list_browseresults_first">&lt;&lt; first</label>
+                       <label index="pi_list_browseresults_prev">&lt; prev.</label>
+                       <label index="pi_list_browseresults_page">Page</label>
+                       <label index="pi_list_browseresults_next">next &gt;</label>
+                       <label index="pi_list_browseresults_last">last &gt;&gt;</label>
+                       <label index="no_matches">No matches.</label>
                        <label index="no_matches">No matches.</label>
                </languageKey>
                <languageKey index="de" type="array">
                        <label index="lang.it">ital.</label>
                        <label index="lang.es">span.</label>
                        <label index="pi_list_searchBox_search">Suche</label>
+                       <label index="pi_list_browseresults_first">&lt;&lt; erste</label>
+                       <label index="pi_list_browseresults_prev">&lt; zurück</label>
+                       <label index="pi_list_browseresults_page">Seite</label>
+                       <label index="pi_list_browseresults_next">weiter &gt;</label>
+                       <label index="pi_list_browseresults_last">letzte &gt;&gt;</label>
                        <label index="no_matches">No matches.</label>
                </languageKey>
                <languageKey index="fr" type="array">
index 9c95c88..e242039 100644 (file)
@@ -66,7 +66,7 @@ contagged {
        # cat=contagged (list)/index/30; type=boolean; label=Add index chars: Supplement missing index chars automatically.
        autoAddIndexChars = 1
        # cat=contagged (list)//10; type=int; label=Results at a time: Number of results to be displayed on a single page.
-       results_at_a_time = 20  
+       results_at_a_time = 20
        # cat=contagged (list)//20; type=int; label=Number of pages: Number of pages to be displayed in the page browser at once.
        maxPages = 3            
        # cat=contagged (list)//30; type=boolean; label=Don't link active page