mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Gallery language files
This commit is contained in:
@@ -62,6 +62,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
||||
|
||||
public function init()
|
||||
{
|
||||
e107::plugLan('gallery', 'front');
|
||||
$this->catList = e107::getMedia()->getCategories('gallery');
|
||||
}
|
||||
|
||||
@@ -89,7 +90,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
||||
$text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE);
|
||||
}
|
||||
$text = $template['CAT_START'].$text.$template['CAT_END'];
|
||||
$this->addTitle('Gallery')
|
||||
$this->addTitle(GALLERY_LAN_TITLE)
|
||||
->addBody($text);
|
||||
}
|
||||
|
||||
@@ -149,7 +150,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
||||
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
||||
|
||||
$this->addTitle($catname)
|
||||
->addTitle('Gallery')
|
||||
->addTitle(GALLERY_LAN_TITLE)
|
||||
->addBody($text);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user