Author: Jonathan.Wage
Date: 2010-02-10 17:11:01 +0100 (Wed, 10 Feb 2010)
New Revision: 27823

Modified:
   
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/replacer/sfSympalContentSyntaxLinkReplacer.class.php
Log:
[1.4][sfSympalPlugin][1.0] Removing auto label for links


Modified: 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/replacer/sfSympalContentSyntaxLinkReplacer.class.php
===================================================================
--- 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/replacer/sfSympalContentSyntaxLinkReplacer.class.php
   2010-02-10 16:08:53 UTC (rev 27822)
+++ 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/replacer/sfSympalContentSyntaxLinkReplacer.class.php
   2010-02-10 16:11:01 UTC (rev 27823)
@@ -36,7 +36,7 @@
       }
       else
       {
-        $label = isset($replacement['options']['label']) ? 
$this->_replacer->replace($replacement['options']['label']) : 'Link to content 
'.$slug;
+        $label = isset($replacement['options']['label']) ? 
$this->_replacer->replace($replacement['options']['label']) : null;
         unset($replacement['options']['label']);
         
         $content = str_replace($replacement['replace'], link_to($label, 
$contentObject->getRoute(), $replacement['options']), $content);

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to