retrogeekreloaded/footer.php

84 lines
3.6 KiB
PHP
Raw Normal View History

2024-01-28 20:56:21 +01:00
<?php
/**
****************************************************************************
** RETROGEEK RELOADED SOURCE FILE **
** Copyright (c) 2021-2022 Tuxlog **
** Copyright (c) 2024 JeremyStarTM & Contributors **
** Licensed under the GNU General Public License v3 **
****************************************************************************
** This program is free software: you can redistribute it and/or modify **
** it under the terms of the GNU General Public License as published by **
** the Free Software Foundation, either version 3 of the License, or **
** (at your option) any later version. **
** **
** This program is distributed in the hope that it will be useful, **
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
** GNU General Public License for more details. **
** **
** You should have received a copy of the GNU General Public License **
** along with this program. If not, see <https://www.gnu.org/licenses/>. **
****************************************************************************
** footer.php (Footer) **
** **
** This source file is responsible for displaying the wigetized footer. **
****************************************************************************
*/
?>
</div><!-- .site-content -->
<footer id="colophon" class="site-footer" >
<div class="row">
<div class="two columns">&nbsp;</div>
<div class="eight columns">
<div class="footer-widgets">
<?php if(is_active_sidebar('rg_footer_left')) : ?>
<div id="footer-widgets_left" class="widget-area" role="complementary">
<?php dynamic_sidebar('rg_footer_left'); ?>
</div><!-- #primary-sidebar -->
<?php endif; ?>
<?php if(is_active_sidebar('rg_footer_middle')) : ?>
<div id="footer-widgets_middle" class="widget-area" role="complementary">
<?php dynamic_sidebar('rg_footer_middle'); ?>
</div><!-- #primary-sidebar -->
<?php endif; ?>
<?php if(is_active_sidebar('rg_footer_right')) : ?>
<div id="footer-widgets_right" class="widget-area" role="complementary">
<?php dynamic_sidebar('rg_footer_right'); ?>
</div><!-- #primary-sidebar -->
<?php endif; ?>
<div class="u-cf">&nbsp;</div>
</div>
<div class="site-info">
<?php
if(function_exists('the_privacy_policy_link')) {
the_privacy_policy_link('', '<span role="separator" aria-hidden="true"></span>&nbsp;|&nbsp;');
}
?>
<a href="<?php echo esc_url(__('https://git.staropensource.de/JeremyStarTM/RetroGeekReloaded', 'retrogeek')); ?>" class="imprint">
<?php
printf(('RetroGeek Reloaded');
?>
</a>
<?php
if(current_user_can('administrator') || current_user_can('editor')) {
printf(ecs_attr__('&nbsp;|&nbsp;<a href="%s">Zum Adminpanel</a>', get_admin_url());
}
?>
</div><!-- .site-info -->
</div><!-- eight columns -->
</div><!-- row -->
</footer><!-- .site-footer -->
</div><!-- .site -->
<?php wp_footer(); ?>
</body>
</html>