mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Gallery language files
This commit is contained in:
@@ -62,6 +62,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
|||||||
|
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
e107::plugLan('gallery', 'front');
|
||||||
$this->catList = e107::getMedia()->getCategories('gallery');
|
$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 .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE);
|
||||||
}
|
}
|
||||||
$text = $template['CAT_START'].$text.$template['CAT_END'];
|
$text = $template['CAT_START'].$text.$template['CAT_END'];
|
||||||
$this->addTitle('Gallery')
|
$this->addTitle(GALLERY_LAN_TITLE)
|
||||||
->addBody($text);
|
->addBody($text);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -149,7 +150,7 @@ class plugin_gallery_index_controller extends eControllerFront
|
|||||||
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
||||||
|
|
||||||
$this->addTitle($catname)
|
$this->addTitle($catname)
|
||||||
->addTitle('Gallery')
|
->addTitle(GALLERY_LAN_TITLE)
|
||||||
->addBody($text);
|
->addBody($text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
8
e107_plugins/gallery/languages/English/admin.php
Normal file
8
e107_plugins/gallery/languages/English/admin.php
Normal 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', '');
|
9
e107_plugins/gallery/languages/English/front.php
Normal file
9
e107_plugins/gallery/languages/English/front.php
Normal 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', '');
|
Reference in New Issue
Block a user