Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

LatteMacros: added {/ifCurrent}

  • Loading branch information...
commit d47dff07b9d45b00ef70216daa142037ce098ebb 1 parent 8f1bebb
@dg dg authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Nette/Templates/Filters/LatteMacros.php
View
1  Nette/Templates/Filters/LatteMacros.php
@@ -97,6 +97,7 @@ class LatteMacros extends Nette\Object
'plink' => '<?php echo %:escape%(%:macroPlink%) ?>',
'link' => '<?php echo %:escape%(%:macroLink%) ?>',
'ifCurrent' => '<?php %:macroIfCurrent% ?>',
+ '/ifCurrent' => '<?php endif ?>',
'widget' => '<?php %:macroControl% ?>',
'control' => '<?php %:macroControl% ?>',
Please sign in to comment.
Something went wrong with that request. Please try again.