mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Update theme_config.php
This commit is contained in:
@@ -11,13 +11,12 @@ class theme_config implements e_theme_config
|
||||
// v2.1.4 format.
|
||||
|
||||
$fields = array(
|
||||
'videobackground' => array('title' => 'Image background for video [1920x1080px]', 'type'=>'image', 'help'=>''),
|
||||
'videomobilebackground' => array('title' => 'Image background for mobile devices', 'type'=>'image', 'help'=>''),
|
||||
'videoposter' => array('title' => 'First frame of video [1920x1080px]', 'type'=>'image', 'help'=>''),
|
||||
'videourl' => array('title' => 'URL path to header video in mp4 format', 'type'=>'text', 'writeParms'=>array('size'=>'xxlarge'),'help'=>''),
|
||||
'usernav_placement' => array('title' => 'Signup/Login Placement', 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array('top', 'bottom'), 'useValues'=>1)),
|
||||
'cdn' => array('title' => 'CDN', 'type'=>'dropdown',
|
||||
'writeParms'=>array('optArray'=>array( 'cdnjs' => 'CDNJS (Cloudflare)', 'jsdelivr' => 'jsDelivr' /*, 'local' => 'Local folder'*/)))
|
||||
'videobackground' => array('title' => LAN_LZ_THEMEPREF_00, 'type'=>'image', 'help'=>''),
|
||||
'videomobilebackground' => array('title' => LAN_LZ_THEMEPREF_01, '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'=>''),
|
||||
'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')))
|
||||
);
|
||||
|
||||
return $fields;
|
||||
@@ -36,4 +35,4 @@ class theme_config implements e_theme_config
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user