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

Commit

Permalink
Show all themes a template is defined in (see #6071)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Aug 20, 2013
1 parent 61f77f7 commit 6d1e92e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contao/library/Contao/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ public static function getTemplateGroup($strPrefix)
{
$arrTemplates[$strTemplate] = $strTemplate . ' (' . sprintf($GLOBALS['TL_LANG']['MSC']['templatesTheme'], $objTheme->name) . ')';
}
else
{
$arrTemplates[$strTemplate] .= ' (' . sprintf($GLOBALS['TL_LANG']['MSC']['templatesTheme'], $objTheme->name) . ')';
}
}
}
}
Expand Down

0 comments on commit 6d1e92e

Please sign in to comment.