mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +02:00
bootstrap4 theme folder removed (for now) in favor if separate repo: https://github.com/e107inc/bootstrap4
This commit is contained in:
parent
3101635a2a
commit
43350f5c5c
e107_themes/bootstrap4
@ -1,8 +0,0 @@
|
||||
|
||||
|
||||
/* CUSTOM Responsive Styles */
|
||||
|
||||
body {
|
||||
padding-top: 56px;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,30 +0,0 @@
|
||||
<?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" version="5" scope="all"/>
|
||||
</libraries>
|
||||
<stylesheets>
|
||||
<css file="style.css" name="Default"/>
|
||||
<css file="*" name="*"/>
|
||||
</stylesheets>
|
||||
<layouts>
|
||||
<layout name='default' title='Default' default='true' />
|
||||
<layout name='home' title='Home' />
|
||||
<layout name='full' title='Full' />
|
||||
<layout name='test' title='Test' />
|
||||
<layout name='glyphs' title='Glyphs (test)' />
|
||||
</layouts>
|
||||
</e107Theme>
|
@ -1,37 +0,0 @@
|
||||
<?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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
@ -1,59 +0,0 @@
|
||||
<?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
|
||||
{
|
||||
function sc_theme_bs4_glyphs()
|
||||
{
|
||||
|
||||
$tp = e107::getParser();
|
||||
$ns = e107::getRender();
|
||||
$mes = e107::getMessage();
|
||||
|
||||
$mes->addSuccess("Message");
|
||||
|
||||
$text = "<h4>Hardcoded</h4>";
|
||||
|
||||
$text .= '<i class="fab fa-3x fa-teamspeak"></i>
|
||||
<i class="fas fa-3x fa-air-freshener"></i>
|
||||
<i class="fas fa-igloo"></i>
|
||||
';
|
||||
|
||||
$text .= "<h4>toGlyph()</h4>";
|
||||
|
||||
$arr = array(
|
||||
'fa-edit',
|
||||
'fa-check',
|
||||
'fa-cog',
|
||||
'fa-mailchimp'
|
||||
);
|
||||
|
||||
foreach($arr as $f)
|
||||
{
|
||||
$text .= $tp->toGlyph($f, array('size'=>'3x'));
|
||||
$text .= " ";
|
||||
}
|
||||
|
||||
return $ns->tablerender("Glyphs", $mes->render(). $text);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user