Added feature #11229: stdwrap to override image of imageLinkWrap
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 26 Jun 2009 16:21:06 +0000 (16:21 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 26 Jun 2009 16:21:06 +0000 (16:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5636 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 9747a99..63255ab 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-26  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Added feature #11229: stdwrap to override image of imageLinkWrap
+
 2009-06-26  Oliver Hader  <oliver@typo3.org>
 
        * Added feature #11373: Template-module "ts" uses hardcoded texts (thanks to Christopher Stelmaszyk)
index 74fd89a..75d39e2 100644 (file)
@@ -2758,6 +2758,8 @@ class tslib_cObj {
                $content=$string;
                if ($this->stdWrap($conf['enable'],$conf['enable.']))   {
                        $content=$this->typolink($string, $conf['typolink.']);
+                       $imageFile = $this->stdWrap($imageFile, $conf['file.']);
+
                                // imageFileLink:
                        if ($content==$string && @is_file($imageFile)) {
                                $params = '';