1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +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

View File

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

View File

@@ -11,21 +11,12 @@
<image></image> <image></image>
</screenshots> </screenshots>
<layouts> <layouts>
<layout name='default' title='3 Columns' default='true' > <layout name='default' title='Default' default='true' />
<menuPresets> <layout name='home' title='Home'>
<area id='1' > <custompages>FRONTPAGE</custompages>
<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> </layout>
<layout name='alternate' title='2 Columns'> <layout name='full' title='Full'>
<custompages>usersettings.php</custompages> <custompages>/forum</custompages>
</layout> </layout>
</layouts> </layouts>
</e107Theme> </e107Theme>