1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 21:21:54 +02:00

Blank theme corrections

This commit is contained in:
Cameron 2013-03-26 20:04:06 -07:00
parent 9e2c92197d
commit 3858df46c7
2 changed files with 39 additions and 33 deletions
e107_themes/_blank

@ -3,11 +3,17 @@
if ( ! defined('e107_INIT')) { exit(); }
e107::lan('theme','English');
e107::meta('viewport', 'width=device-width, initial-scale=1.0');
//e107::meta('apple-mobile-web-app-capable','yes');
e107::js('core','bootstrap/js/bootstrap.min.js');
e107::css('core','bootstrap/css/bootstrap-responsive.min.css');
//e107::js('theme', 'js/theme.js');
e107::css('core','bootstrap/css/bootstrap-responsive.min.css');
//e107::css('theme','assets/css/style.css');
//e107::css('url', 'external url ');
//define("VIEWPORT","width=device-width, initial-scale=1.0");
// Custom Shortcodes.
//$register_sc[]='BLANK';
@ -48,49 +54,58 @@ function tablestyle($caption, $text, $mode='')
}
// IMPORTANT: make sure there are no characters after <<<TMPL or TMPL;
// DEFAULT
$HEADER['default'] = '
$HEADER['default'] = <<<TMPL
{SETSTYLE=default}
{SETIMAGE: w=0}
';
TMPL;
$FOOTER['default'] = <<<TMPL
$FOOTER['default'] = '
{SETSTYLE=menu}
{MENU=1}
';
TMPL;
// HOME page
$HEADER['home'] = '
{SETSTYLE=hero}
$HEADER['home'] = <<<TMPL
{SETSTYLE=home}
{SETIMAGE: w=0}
';
$FOOTER['home'] = '
TMPL;
';
$FOOTER['home'] = <<<TMPL
TMPL;
// FULL PAGE (no menus) - eg. Forum
$HEADER['full'] = '
$HEADER['full'] = <<<TMPL
{SETSTYLE=full}
{SETIMAGE: w=0}
';
TMPL;
$FOOTER['full'] = '
$FOOTER['full'] = <<<TMPL
';
TMPL;

@ -11,21 +11,12 @@
<image></image>
</screenshots>
<layouts>
<layout name='default' title='3 Columns' default='true' >
<menuPresets>
<area id='1' >
<menu name='login' />
<menu name='compliance' />
</area>
<area id='2'>
<menu name='online' perm='admin' />
<menu name='powered_by' />
<menu name='sitebutton' />
</area>
</menuPresets>
<layout name='default' title='Default' default='true' />
<layout name='home' title='Home'>
<custompages>FRONTPAGE</custompages>
</layout>
<layout name='alternate' title='2 Columns'>
<custompages>usersettings.php</custompages>
<layout name='full' title='Full'>
<custompages>/forum</custompages>
</layout>
</layouts>
</e107Theme>