From 5c3f0b06c46558919a12fdd051b541358fe4dacf Mon Sep 17 00:00:00 2001 From: Leo Feyer Date: Fri, 5 Sep 2014 14:50:40 +0200 Subject: [PATCH] Added the "link_name" insert tag (see #7218) --- contao/library/Contao/Controller.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contao/library/Contao/Controller.php b/contao/library/Contao/Controller.php index 4f672f604b..6de990085b 100644 --- a/contao/library/Contao/Controller.php +++ b/contao/library/Contao/Controller.php @@ -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 @@ -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;