1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Added missing Voux theme config.

This commit is contained in:
Cameron
2017-02-09 13:18:51 -08:00
parent 90a5077fe2
commit 573d204cc0
2 changed files with 33 additions and 1 deletions

View File

@@ -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;

View 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 &amp; 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 '';
}
}
?>