Skip to content

Commit

Permalink
T3Layout: Add load language for current template layout
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Mar 22, 2013
1 parent dfa0338 commit ad3daf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/plg_system_t3/includes/admin/layout.php
Expand Up @@ -32,6 +32,9 @@ public static function error($msg = ''){

public static function display(){

//load language for template
JFactory::getLanguage()->load('tpl_' . T3_TEMPLATE, JPATH_SITE);

$japp = JFactory::getApplication();
if(!$japp->isAdmin()){
$tpl = $japp->getTemplate(true);
Expand Down

0 comments on commit ad3daf6

Please sign in to comment.