mirror of
https://github.com/GetSimpleCMS-CE/GetSimpleCMS-CE.git
synced 2026-01-14 03:20:01 +00:00
Theme Cleanup
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) {
|
||||
die('you cannot load this page directly.');
|
||||
}
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); }
|
||||
/****************************************************
|
||||
*
|
||||
* @File: footer.inc.php
|
||||
@ -9,8 +7,6 @@
|
||||
*
|
||||
*****************************************************/
|
||||
?>
|
||||
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<hr>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
/*
|
||||
Logo Config
|
||||
url logo or leave '' if you want show title on header screen
|
||||
@ -17,7 +16,6 @@ $mode = '' - auto
|
||||
|
||||
$mode = 'light';
|
||||
|
||||
|
||||
/*
|
||||
you want use bootstrap grid cdn on your theme?
|
||||
$bootstrap = 'yes' - use cdn
|
||||
@ -26,7 +24,6 @@ $bootstrap = 'no' or '' - default css
|
||||
|
||||
$bootstrap = 'no';
|
||||
|
||||
|
||||
/*
|
||||
What you want default grid on template?
|
||||
$defaultGrid = 'default' - sidebar right
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) {
|
||||
die('you cannot load this page directly.');
|
||||
}
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); }
|
||||
/****************************************************
|
||||
*
|
||||
* @File: header.inc.php
|
||||
@ -9,8 +7,6 @@
|
||||
*
|
||||
*****************************************************/
|
||||
?>
|
||||
|
||||
|
||||
<!DOCTYPE html data->
|
||||
<html <?php echo ($mode !== '' ? 'data-theme="' . $mode . '"' : ''); ?>>
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); } ?>
|
||||
<?php include('header.inc.php'); ?>
|
||||
|
||||
<section class="content">
|
||||
@ -18,7 +19,6 @@
|
||||
</nav>
|
||||
</hgroup>
|
||||
|
||||
|
||||
<?php get_page_content(); ?>
|
||||
</main>
|
||||
<aside class="content-sidebar">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); } ?>
|
||||
<?php include('header.inc.php'); ?>
|
||||
|
||||
<section class="content">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); } ?>
|
||||
<?php include('header.inc.php'); ?>
|
||||
|
||||
<section class="content">
|
||||
@ -23,7 +24,6 @@
|
||||
|
||||
</nav>
|
||||
</hgroup>
|
||||
|
||||
|
||||
<?php get_page_content(); ?>
|
||||
</main>
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) {
|
||||
die('you cannot load this page directly.');
|
||||
}
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); }
|
||||
/****************************************************
|
||||
*
|
||||
* @File: footer.inc.php
|
||||
@ -9,7 +7,6 @@
|
||||
*
|
||||
*****************************************************/
|
||||
?>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="w3-center w3-black w3-padding-64">
|
||||
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
<?php
|
||||
|
||||
|
||||
function get_custom_navigation($currentpage = "",$classPrefix = "") {
|
||||
|
||||
$menu = '';
|
||||
@ -25,4 +23,4 @@ function get_custom_navigation($currentpage = "",$classPrefix = "") {
|
||||
}
|
||||
}
|
||||
echo exec_filter('menuitems',$menu);
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) {
|
||||
die('you cannot load this page directly.');
|
||||
}
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); }
|
||||
/****************************************************
|
||||
*
|
||||
* @File: header.inc.php
|
||||
@ -9,8 +7,6 @@
|
||||
*
|
||||
*****************************************************/
|
||||
?>
|
||||
|
||||
|
||||
<head>
|
||||
<title><?php get_page_title(); ?></title>
|
||||
<meta charset="UTF-8">
|
||||
@ -88,4 +84,4 @@
|
||||
<header class="w3-display-container w3-light-grey w3-center" id="home" style="padding:60px 48px 20px">
|
||||
<h1><?php get_page_clean_title(); ?></h1>
|
||||
</header>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
@ -1,3 +1,4 @@
|
||||
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); } ?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user