Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Added the "link_name" insert tag (see #7218)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Sep 5, 2014
1 parent 47a50bb commit 5c3f0b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contao/library/Contao/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ protected function replaceInsertTags($strBuffer, $blnCache=true)
case 'link_open':
case 'link_url':
case 'link_title':
case 'link_name':
$strTarget = null;

// Back link
Expand Down Expand Up @@ -1023,6 +1024,10 @@ protected function replaceInsertTags($strBuffer, $blnCache=true)
case 'link_target':
$arrCache[$strTag] = $strTarget;
break;

case 'link_name':
$arrCache[$strTag] = specialchars($strName);
break;
}
break;

Expand Down

0 comments on commit 5c3f0b0

Please sign in to comment.