Release of tipafriend_plus 0.1.6 tipafriend_plus_0-1-6
authorNicole Cordes <cordes@cps-it.de>
Mon, 13 May 2013 20:14:49 +0000 (22:14 +0200)
committerNicole Cordes <cordes@cps-it.de>
Mon, 13 May 2013 20:14:49 +0000 (22:14 +0200)
ext_emconf.php
pi1/class.tx_tipafriendplus_pi1.php

index 2215414..878642b 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************
  * Extension Manager/Repository config file for ext "tipafriend_plus".
  *
- * Auto generated 13-05-2013 20:22
+ * Auto generated 13-05-2013 22:14
  *
  * Manual updates:
  * Only the data in the array - everything else is removed by next
@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
        'description' => 'Send a tip (link to typo3-page) to somebody. Based on Tip-A-Friend.',
        'category' => 'plugin',
        'shy' => 0,
-       'version' => '0.1.5',
+       'version' => '0.1.6',
        'dependencies' => '',
        'conflicts' => '',
        'priority' => '',
@@ -41,7 +41,7 @@ $EM_CONF[$_EXTKEY] = array(
                'suggests' => array(
                ),
        ),
-       '_md5_values_when_last_written' => 'a:21:{s:9:"ChangeLog";s:4:"7f67";s:12:"ext_icon.gif";s:4:"3b63";s:17:"ext_localconf.php";s:4:"92c0";s:14:"ext_tables.php";s:4:"7d2b";s:28:"ext_typoscript_constants.txt";s:4:"6d7b";s:24:"ext_typoscript_setup.txt";s:4:"3fd8";s:15:"flexform_ds.xml";s:4:"38e5";s:13:"locallang.xml";s:4:"6037";s:16:"locallang_db.xml";s:4:"67b5";s:17:"locallang_tca.xml";s:4:"0f54";s:10:"README.txt";s:4:"9fa9";s:14:"doc/manual.sxw";s:4:"eb20";s:19:"doc/wizard_form.dat";s:4:"9960";s:20:"doc/wizard_form.html";s:4:"b82d";s:14:"pi1/ce_wiz.gif";s:4:"02b6";s:35:"pi1/class.tx_tipafriendplus_pi1.php";s:4:"fe7b";s:43:"pi1/class.tx_tipafriendplus_pi1_wizicon.php";s:4:"c8fe";s:13:"pi1/clear.gif";s:4:"cc11";s:17:"pi1/locallang.xml";s:4:"faf1";s:28:"pi1/tipafriend_plus_css.tmpl";s:4:"9aa6";s:23:"res/tipafriend_plus.css";s:4:"9608";}',
+       '_md5_values_when_last_written' => 'a:21:{s:9:"ChangeLog";s:4:"7f67";s:12:"ext_icon.gif";s:4:"3b63";s:17:"ext_localconf.php";s:4:"92c0";s:14:"ext_tables.php";s:4:"7d2b";s:28:"ext_typoscript_constants.txt";s:4:"6d7b";s:24:"ext_typoscript_setup.txt";s:4:"3fd8";s:15:"flexform_ds.xml";s:4:"38e5";s:13:"locallang.xml";s:4:"6037";s:16:"locallang_db.xml";s:4:"67b5";s:17:"locallang_tca.xml";s:4:"0f54";s:10:"README.txt";s:4:"9fa9";s:14:"doc/manual.sxw";s:4:"eb20";s:19:"doc/wizard_form.dat";s:4:"9960";s:20:"doc/wizard_form.html";s:4:"b82d";s:14:"pi1/ce_wiz.gif";s:4:"02b6";s:35:"pi1/class.tx_tipafriendplus_pi1.php";s:4:"d1af";s:43:"pi1/class.tx_tipafriendplus_pi1_wizicon.php";s:4:"c8fe";s:13:"pi1/clear.gif";s:4:"cc11";s:17:"pi1/locallang.xml";s:4:"faf1";s:28:"pi1/tipafriend_plus_css.tmpl";s:4:"9aa6";s:23:"res/tipafriend_plus.css";s:4:"9608";}',
 );
 
 ?>
\ No newline at end of file
index 78f7a18..23c65f2 100644 (file)
@@ -67,10 +67,6 @@ class tx_tipafriendplus_pi1 extends tslib_pibase {
     $this->templateCode = $this->cObj->fileResource($this->conf['templateFile']);
                        // globally substituted markers, fonts and colors.
                $splitMark = md5(microtime());
-               $globalMarkerArray=array();
-               
-     // Substitute Global Marker Array
-    $this->templateCode= $this->cObj->substituteMarkerArray($this->templateCode, $globalMarkerArray);
 
        
                        // TYpoLink
@@ -165,10 +161,6 @@ class tx_tipafriendplus_pi1 extends tslib_pibase {
 
                $wrappedSubpartArray['###LINK###']=array('<a href="'.htmlspecialchars($url).'">','</a>');
 
-
-               // Substitute Global Marker Array
-               
-               $this->templateCode= $this->cObj->substituteMarkerArray($this->templateCode, $globalMarkerArray);
                
                
                // code inserted to use free Captcha
@@ -318,6 +310,8 @@ class tx_tipafriendplus_pi1 extends tslib_pibase {
                        // Get template
                $subpart = $this->cObj->getSubpart($this->templateCode,'###TEMPLATE_EMAIL###');
 
+    $markerArray=array();
+
                        // Set markers
                $markerArray['###MESSAGE###']=htmlspecialchars($tipData['message']);
                $markerArray['###RECIPIENT###']=htmlspecialchars($tipData['recipient']);