mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Issue #2297 Loading of landing-zero config language file.
This commit is contained in:
@@ -371,7 +371,7 @@ class page_chapters_form_ui extends e_admin_form_ui
|
|||||||
|
|
||||||
$text .= "</tbody></table>";
|
$text .= "</tbody></table>";
|
||||||
|
|
||||||
$text .= print_a($value,true);
|
// $text .= print_a($value,true);
|
||||||
|
|
||||||
|
|
||||||
return $text;
|
return $text;
|
||||||
|
@@ -8,6 +8,12 @@ e107::lan('theme', 'admin',true);
|
|||||||
class theme_config implements e_theme_config
|
class theme_config implements e_theme_config
|
||||||
{
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
e107::themeLan('admin','landingzero',true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function config()
|
function config()
|
||||||
{
|
{
|
||||||
// v2.1.4 format.
|
// 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'=>''),
|
'videoposter' => array('title' => LAN_LZ_THEMEPREF_02, 'type'=>'image', 'help'=>''),
|
||||||
'videourl' => array('title' => LAN_LZ_THEMEPREF_03, 'type'=>'text', 'writeParms'=>array('size'=>'xxlarge'),'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)),
|
'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;
|
return $fields;
|
||||||
@@ -27,12 +33,12 @@ class theme_config implements e_theme_config
|
|||||||
|
|
||||||
function help()
|
function help()
|
||||||
{
|
{
|
||||||
return '';
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function process()
|
function process()
|
||||||
{
|
{
|
||||||
return '';
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user