mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Added missing Voux theme config.
This commit is contained in:
@@ -77,7 +77,7 @@ if(ADMIN && e_AJAX_REQUEST && varset($_GET['mode']) == 'core' && ($_GET['type']
|
||||
|
||||
|
||||
|
||||
if(ADMIN && (e_AJAX_REQUEST || e_DEBUG_FEEDS===true) && varset($_GET['mode']) == 'addons' )
|
||||
if(ADMIN && (e_AJAX_REQUEST || deftrue('e_DEBUG_FEEDS')) && varset($_GET['mode']) == 'addons' )
|
||||
{
|
||||
$type = ($_GET['type'] == 'plugin') ? 'plugin' : 'theme';
|
||||
$tag = 'Infopanel_'.$type;
|
||||
|
32
e107_themes/voux/theme_config.php
Normal file
32
e107_themes/voux/theme_config.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
// Theme Configuration File.
|
||||
class theme_config implements e_theme_config
|
||||
{
|
||||
|
||||
function config()
|
||||
{
|
||||
|
||||
$brandingOpts = array('sitename'=>'Site Name', 'logo' => 'Logo', 'sitenamelogo'=>'Logo & Site Name');
|
||||
|
||||
|
||||
$fields = array(
|
||||
'branding' => array('title'=> "Branding", 'type'=>'dropdown', 'writeParms'=>array('optArray'=> $brandingOpts)),
|
||||
'nav_alignment' => array('title'=> "Navbar Alignment", 'type'=>'dropdown', 'writeParms'=>array('optArray'=> array('left'=> "Left",'right'=> "Right"))),
|
||||
'usernav_placement' => array('title'=> "Signup/Login Placement", 'type'=>'dropdown', 'writeParms'=>array('optArray'=> array('top'=> "Top", 'bottom'=> "Bottom"))),
|
||||
);
|
||||
|
||||
return $fields;
|
||||
|
||||
}
|
||||
|
||||
function help()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user