[BUGFIX] Wrong comment in ActionMenuViewHelper 33/29733/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Thu, 24 Apr 2014 22:30:46 +0000 (00:30 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 29 Apr 2014 21:59:10 +0000 (23:59 +0200)
ActionMenuViewHelper contains a wrong example for the usage
of the viewhelper. It uses a '=' where a ':' would be correct.

Resolves: #58166
Releases: 6.2, 6.1
Change-Id: I135310be0ac2e8df59f81dfbf694a0febbcde99a
Reviewed-on: https://review.typo3.org/29733
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php

index 2c09203..6b6ab59 100644 (file)
@@ -40,8 +40,8 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Be\Menus;
  *
  * <code title="Localized">
  * <f:be.menus.actionMenu>
- * <f:be.menus.actionMenuItem label="{f:translate(key='overview')}" controller="Blog" action="index" />
- * <f:be.menus.actionMenuItem label="{f:translate(key='create_blog')}" controller="Blog" action="new" />
+ * <f:be.menus.actionMenuItem label="{f:translate(key:'overview')}" controller="Blog" action="index" />
+ * <f:be.menus.actionMenuItem label="{f:translate(key:'create_blog')}" controller="Blog" action="new" />
  * </f:be.menus.actionMenu>
  * </code>
  * <output>
@@ -92,4 +92,4 @@ class ActionMenuViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagB
        }
 }
 
-?>
\ No newline at end of file
+?>