mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 02:00:14 +02:00
Basic Bootstrap 4 library support. Bootstrap4 theme added for testing purposes only.
This commit is contained in:
4
e107_themes/bootstrap4/style.css
Normal file
4
e107_themes/bootstrap4/style.css
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
/* CUSTOM Responsive Styles */
|
||||
|
1545
e107_themes/bootstrap4/theme.php
Normal file
1545
e107_themes/bootstrap4/theme.php
Normal file
File diff suppressed because it is too large
Load Diff
29
e107_themes/bootstrap4/theme.xml
Normal file
29
e107_themes/bootstrap4/theme.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e107Theme name="Bootstrap 4" version="1.0" date="2018-03-08" compatibility="2.0">
|
||||
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
|
||||
<summary>Bootstrap4 generic theme (under development)</summary>
|
||||
<description>For testing only</description>
|
||||
<category>generic</category>
|
||||
<plugins>
|
||||
<plugin name='rss_menu' url='core' />
|
||||
<plugin name='social' url='core' />
|
||||
</plugins>
|
||||
<keywords>
|
||||
<word>bootstrap</word>
|
||||
<word>clean</word>
|
||||
</keywords>
|
||||
<libraries>
|
||||
<library name="bootstrap" version="4" scope="all"/>
|
||||
<library name="fontawesome" scope="all"/>
|
||||
</libraries>
|
||||
<stylesheets>
|
||||
<css file="style.css" name="Default"/>
|
||||
<css file="*" name="*"/>
|
||||
</stylesheets>
|
||||
<layouts>
|
||||
<layout name='test' title='Test' default='true' />
|
||||
<layout name='default' title='Default' />
|
||||
<layout name='home' title='Home' />
|
||||
<layout name='full' title='Full' />
|
||||
</layouts>
|
||||
</e107Theme>
|
37
e107_themes/bootstrap4/theme_config.php
Normal file
37
e107_themes/bootstrap4/theme_config.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
//e107::lan('theme', 'admin',true);
|
||||
|
||||
// Theme Configuration File.
|
||||
class theme_config implements e_theme_config
|
||||
{
|
||||
|
||||
function config($type='front')
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function help()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// Custom Methods
|
||||
class theme_config_form extends e_form
|
||||
{
|
||||
|
||||
function custom_method($value,$mode,$parms) // named the same as $fields key.(eg. 'branding') Used when type = 'method'
|
||||
{
|
||||
|
||||
return $this->text('custom_method', $value);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
26
e107_themes/bootstrap4/theme_shortcodes.php
Normal file
26
e107_themes/bootstrap4/theme_shortcodes.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2013 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* e107 Bootstrap Theme Shortcodes.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
class theme_shortcodes extends e_shortcode
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user