1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Gallery language files

This commit is contained in:
secretr
2012-08-30 13:06:51 +00:00
parent ac4b28baf3
commit f39f7fe936
3 changed files with 20 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -0,0 +1,8 @@
<?php
/*
* Copyright (c) e107 Inc 2008-2012 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* Gallery back-end laguage defines
*/
//define('GALLERY_ALAN_1', '');

View File

@@ -0,0 +1,9 @@
<?php
/*
* Copyright (c) e107 Inc 2008-2012 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* Gallery front-end laguage defines
*/
define('GALLERY_LAN_TITLE', 'Gallery');
//define('GALLERY_LAN_1', '');