1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 18:30:53 +02:00

Issue #2297 Loading of landing-zero config language file.

This commit is contained in:
Cameron
2017-01-18 17:24:11 -08:00
parent 4b443bc2c8
commit 500ec0c477
2 changed files with 10 additions and 4 deletions

View File

@@ -371,7 +371,7 @@ class page_chapters_form_ui extends e_admin_form_ui
$text .= "</tbody></table>";
$text .= print_a($value,true);
// $text .= print_a($value,true);
return $text;

View File

@@ -8,6 +8,12 @@ e107::lan('theme', 'admin',true);
class theme_config implements e_theme_config
{
function __construct()
{
e107::themeLan('admin','landingzero',true);
}
function config()
{
// v2.1.4 format.
@@ -18,7 +24,7 @@ class theme_config implements e_theme_config
'videoposter' => array('title' => LAN_LZ_THEMEPREF_02, 'type'=>'image', 'help'=>''),
'videourl' => array('title' => LAN_LZ_THEMEPREF_03, 'type'=>'text', 'writeParms'=>array('size'=>'xxlarge'),'help'=>''),
'usernav_placement' => array('title' => LAN_LZ_THEMEPREF_04, 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array(LAN_LZ_THEMEPREF_05, LAN_LZ_THEMEPREF_06), 'useValues'=>1)),
'cdn' => array('title' => 'CDN', 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array( 'cdnjs' => 'CDNJS (Cloudflare)', 'jsdelivr' => 'jsDelivr')))
'cdn' => array('title' => 'CDN', 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array( 'cdnjs' => 'CDNJS (Cloudflare)', 'jsdelivr' => 'jsDelivr')))
);
return $fields;
@@ -27,12 +33,12 @@ class theme_config implements e_theme_config
function help()
{
return '';
return null;
}
function process()
{
return '';
return null;
}
}