Theme Cleanup

This commit is contained in:
risingisland
2025-05-27 16:27:27 +01:00
parent c466deb590
commit 80dd3b4327
10 changed files with 10 additions and 28 deletions

View File

@ -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>

View File

@ -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

View File

@ -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 . '"' : ''); ?>>

View File

@ -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">

View File

@ -1,3 +1,4 @@
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); } ?>
<?php include('header.inc.php'); ?>
<section class="content">

View File

@ -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>

View File

@ -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>

View File

@ -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);
}
}

View File

@ -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 } ?>

View File

@ -1,3 +1,4 @@
<?php if (!defined('IN_GS')) { die('you cannot load this page directly.'); } ?>
<!DOCTYPE html>
<html>