repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/_pager_full.php | src/Views/_pager_full.php | <?php
use CodeIgniter\Pager\PagerRenderer;
/**
* @var PagerRenderer $pager
*/
$pager->setSurroundCount(2);
?>
<?php if ($pager->getPageCount() > 1) : ?>
<nav aria-label="<?= lang('Pager.pageNavigation') ?>" class="d-flex justify-content-center">
<ul class="pagination">
<?php if ($pager->hasPrevious()) ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/site_offline.php | src/Views/site_offline.php | <!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<title>Whoops!</title>
<style type="text/css">
:root {
--main-bg-color: #fff;
--main-text-color: #555;
--dark-text-color: #222;
--light-text-color: #c7c7c... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/magic_link_message.php | src/Views/Auth/magic_link_message.php | <?php echo $this->extend(config('Auth')->views['layout']) ?>
<?= $this->section('title') ?><?= lang('Auth.useMagicLink') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash>
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/email_2fa_verify.php | src/Views/Auth/email_2fa_verify.php | <?php echo $this->extend(config('Auth')->views['layout']); ?>
<?= $this->section('title') ?><?= lang('Auth.email2FATitle') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash>
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/email_2fa_show.php | src/Views/Auth/email_2fa_show.php | <?php echo $this->extend(config('Auth')->views['layout']); ?>
<?= $this->section('title') ?><?= lang('Auth.email2FATitle') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash >
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/login.php | src/Views/Auth/login.php | <?php echo $this->extend(config('Auth')->views['layout']); ?>
<?= $this->section('title') ?><?= lang('Auth.login') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash>
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/register.php | src/Views/Auth/register.php | <?php $this->extend('master'); ?>
<?= $this->section('title') ?><?= lang('Auth.register') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash>
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body">
<h5 class="card-tit... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/magic_link_form.php | src/Views/Auth/magic_link_form.php | <?php echo $this->extend(config('Auth')->views['layout']); ?>
<?= $this->section('title') ?><?= lang('Auth.useMagicLink') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash>
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/magic_link_email.php | src/Views/Auth/magic_link_email.php | <?php echo $this->extend(setting('Auth.views')['email_layout']); ?>
<?= $this->section('message') ?>
<p>
<a href="<?= site_url(route_to('verify-magic-link')) ?>?token=<?= $token ?>">
<?= lang('Auth.login') ?>
</a>
</p>
<?= $this->endSection() ?>
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Views/Auth/email_activate_show.php | src/Views/Auth/email_activate_show.php | <?php echo $this->extend(config('Auth')->views['layout']); ?>
<?= $this->section('title') ?><?= lang('Auth.emailActivateTitle') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<x-unsplash>
<div class="container d-flex justify-content-center p-5">
<x-auth-card>
<div class="card-body... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Events.php | src/Config/Events.php | <?php
namespace Bonfire\Config;
use Bonfire\Core\Namespaces;
use CodeIgniter\Events\Events;
/**
* Registers all Bonfire Module namespaces and app module namespaces
*/
Events::on('pre_system', static function (): void {
Namespaces::register();
});
Events::on('pre_command', static function (): void {
Namesp... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Registrar.php | src/Config/Registrar.php | <?php
namespace Bonfire\Config;
use Bonfire\Auth\Filters\Admin;
use Bonfire\Consent\Filters\ConsentFilter;
use Bonfire\Core\Filters\OnlineCheck;
use Bonfire\Users\Validation\UserRules;
use Bonfire\View\Decorator;
use CodeIgniter\Shield\Authentication\Passwords\ValidationRules as PasswordRules;
use CodeIgniter\Shield\... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Alerts.php | src/Config/Alerts.php | <?php
namespace Bonfire\Config;
use Tatter\Alerts\Config\Alerts as AlertsConfig;
class Alerts extends AlertsConfig
{
/**
* Template to use for HTML output.
*/
public string $template = 'Bonfire\Views\_alerts.php';
/**
* Mapping of Session keys to their CSS classes.
* Note: Some templ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Themes.php | src/Config/Themes.php | <?php
namespace Bonfire\Config;
class Themes
{
/**
* ---------------------------------------------------------------
* THEME COLLECTIONS
* ---------------------------------------------------------------
*
* Contains the "root" folders that hold our themes. Each theme
* must be a dire... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Site.php | src/Config/Site.php | <?php
namespace Bonfire\Config;
use CodeIgniter\Config\BaseConfig;
class Site extends BaseConfig
{
/**
* --------------------------------------------------------------------------
* Items Per Page
* --------------------------------------------------------------------------
*
* The number... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Constants.php | src/Config/Constants.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
defined('BONFIRE_VERSION') || define('BONFIRE_VERSION', '2.0.0-dev');
defined('BFPATH') |... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Routes.php | src/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->get('site-offline', static function () {
helper('setting');
// If it's not offline, but they've refreshed the page
// take to the site home page.
if (! site_offline()) {
return redirect()->to('/');
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Services.php | src/Config/Services.php | <?php
namespace Bonfire\Config;
use Bonfire\Bonfire;
use Bonfire\Menus\Manager as MenuManager;
use Bonfire\Resources\ResourceTabs;
use Bonfire\View\Metadata;
use Bonfire\Widgets\Manager as WidgetManager;
use CodeIgniter\Config\BaseService;
/**
* Services Configuration file.
*
* Services are simply other classes/l... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Config/Bonfire.php | src/Config/Bonfire.php | <?php
namespace Bonfire\Config;
use CodeIgniter\Config\BaseConfig;
class Bonfire extends BaseConfig
{
public $views = [
'filter_list' => 'Bonfire\Views\_filter_list',
];
/**
* --------------------------------------------------------------------------
* App Module locations
* -----... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Resources/ResourceTab.php | src/Resources/ResourceTab.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Resources;
/**
* Represents a single tab that should be displayed for a resou... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Resources/ResourceTabs.php | src/Resources/ResourceTabs.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Resources;
/**
* Provides ways to manage the tabs that display for a
* resou... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Search/SearchEngine.php | src/Search/SearchEngine.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Search;
/**
* Handles working with the modules to
* return results for the m... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Search/Controllers/SearchController.php | src/Search/Controllers/SearchController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Search\Controllers;
use Bonfire\Core\AdminController;
use Bonfire\Search\Searc... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Search/Interfaces/SearchProviderInterface.php | src/Search/Interfaces/SearchProviderInterface.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Search\Interfaces;
interface SearchProviderInterface
{
/**
* Performs... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Search/Config/Routes.php | src/Search/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA . '/search', ['namespace' => '\Bonfire\Search\Controllers'], static function ($routes) {
$routes->post('/', 'SearchController::overview', ['as' => 'search']);
});
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Language/en/Bonfire.php | src/Language/en/Bonfire.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'resourceNotFound' => 'Unable to find the {0}.',
'resourceSaved' => '... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Language/it/Bonfire.php | src/Language/it/Bonfire.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'resourceNotFound' => '{0} non trovato.',
'resourceSaved' => '{0} sal... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Language/lt/Bonfire.php | src/Language/lt/Bonfire.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'resourceNotFound' => 'Nepavyko rasti {0}.',
'resourceSaved' => '{0} ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Language/ru/Bonfire.php | src/Language/ru/Bonfire.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'resourceNotFound' => 'Не удалось найти {0}.',
'resourceSaved' => '{0... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Language/es/Bonfire.php | src/Language/es/Bonfire.php | <?php
/**
* Este archivo es parte de Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* Para obtener información completa sobre derechos de autor y licencias, consulta
* el archivo LICENSE que fue distribuido con este código fuente.
*/
return [
'resourceNotFound' => 'No se pudo encontrar el {0}.',
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Module.php | src/Consent/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Consent;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
/**
* Cons... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Controllers/ConsentSettingsController.php | src/Consent/Controllers/ConsentSettingsController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Consent\Controllers;
use Bonfire\Core\AdminController;
class ConsentSettingsC... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Helpers/consent_helper.php | src/Consent/Helpers/consent_helper.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
if (! function_exists('has_consent')) {
/**
* Has the visitor given consent to
* a c... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Views/consent_styles.php | src/Consent/Views/consent_styles.php | <!-- Consent -->
<style>
#consent-close:checked + #consent-popup{display:none;}
#consent-popup {
position:fixed;
top:30px;
right:50px;
width:450px;
background-color: cadetblue;
border: 1px solid lightgray;
padding:20px;
z-index:2000;
font-s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Views/settings.php | src/Consent/Views/settings.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="fas fa-handshake"></i> Consent</x-module-title>
<h2>Settings</h2>
</x-page-head>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA . '/settings/consent') ?>" method="post">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Views/consent_scripts.php | src/Consent/Views/consent_scripts.php | <!-- Consent -->
<script>
var ConsentForm = {
cookieName: 'bf_consent',
cookieLength: 180, // days
consentForm: null,
cookie: null,
init: function() {
this.consentForm = document.getElementById('consent-popup');
this.cookie = this.getCookie(this.coo... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Views/consent_form.php | src/Consent/Views/consent_form.php | <div id="consent-popup" data-state="simple">
<h1>Cookies</h1>
<a href="#" id="consent-close">X</a>
<div class="show-simple">
<p><?= esc($message) ?>
<div>
<a href="#" id="consent-reject-all">Reject Non-Essential</a>
<a href="#" id="consent-accept-all">Accept All</a>... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Config/Consent.php | src/Consent/Config/Consent.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Consent\Config;
use CodeIgniter\Config\BaseConfig;
class Consent extends Base... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Config/Routes.php | src/Consent/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA, ['namespace' => '\Bonfire\Consent\Controllers'], static function ($routes) {
$routes->get('settings/consent', 'ConsentSettingsController::index', ['as' => 'consent-settings']);
$routes->post('setti... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Language/en/Consent.php | src/Consent/Language/en/Consent.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'consentModTitle' => 'Consent',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Language/it/Consent.php | src/Consent/Language/it/Consent.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'consentModTitle' => 'Consenso',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Language/lt/Consent.php | src/Consent/Language/lt/Consent.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'consentModTitle' => 'Sutikimas (BDAR)',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Language/ru/Consent.php | src/Consent/Language/ru/Consent.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'consentModTitle' => 'Согласие',
];
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Consent/Filters/ConsentFilter.php | src/Consent/Filters/ConsentFilter.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Consent\Filters;
use CodeIgniter\Filters\FilterInterface;
use CodeIgniter\HTTP... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Commands/Install.php | src/Commands/Install.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Commands;
use Bonfire\Assets\Config\Assets;
use Bonfire\Auth\Config\Auth;
use ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Commands/BreakingChangesNotification.php | src/Commands/BreakingChangesNotification.php | <?php
namespace Bonfire\Commands;
use CodeIgniter\CLI\BaseCommand;
use CodeIgniter\CLI\CLI;
class BreakingChangesNotification extends BaseCommand
{
protected $group = 'Bonfire';
protected $name = 'notify:breaking-changes';
protected $description = 'Notifies about breaking changes after compo... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Commands/Generators/CrudGenerator.php | src/Commands/Generators/CrudGenerator.php | <?php
namespace Bonfire\Commands\Generators;
use CodeIgniter\CLI\BaseCommand;
use CodeIgniter\CLI\GeneratorTrait;
use CodeIgniter\Controller;
/**
* Generates a controller and view files for a CRUD.
*/
class CrudGenerator extends BaseCommand
{
use GeneratorTrait;
/**
* The Command's Group
*
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Commands/Install/Publisher.php | src/Commands/Install/Publisher.php | <?php
namespace Bonfire\Commands\Install;
use Bonfire\Assets\Config\Assets;
use CodeIgniter\Autoloader\FileLocator;
use CodeIgniter\CLI\CLI;
/**
* ContentReplacer
*
* Aids in replacing text within a string.
* Used to update the config files when
* they've been copied.
*/
class Publisher
{
private string $d... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Module.php | src/Tools/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Tools;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
/**
* Email ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Controllers/LogsController.php | src/Tools/Controllers/LogsController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Tools\Controllers;
use Bonfire\Core\AdminController;
use Bonfire\Tools\Librari... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Controllers/SystemInfoController.php | src/Tools/Controllers/SystemInfoController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Tools\Controllers;
use Bonfire\Core\AdminController;
use CodeIgniter\CodeIgnit... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Libraries/Logs.php | src/Tools/Libraries/Logs.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Tools\Libraries;
use DateTime;
/**
* Provides view cells for Users
*/
class... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Views/index.php | src/Tools/Views/index.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<h2>System Info</h2>
</x-page-head>
<x-admin-box>
<fieldset class="first">
<legend>Server Information</legend>
<div class="col-12 col-sm-6">
<table class="table table-st... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Views/view_log.php | src/Tools/Views/view_log.php | <?php
$this->extend('master') ?>
<?php
$this->section('main') ?>
<x-page-head>
<a href="<?= site_url(ADMIN_AREA . '/tools/logs') ?>" class="back">← <?= lang('Tools.logsModTitle')?></a>
<h2><?= lang('Tools.log') ?>: <?= $logFilePretty ?></h2>
</x-page-head>
<x-admin-box>
<div class="d-flex justify-co... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Views/logs.php | src/Tools/Views/logs.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<h2><?= lang('Tools.logsModTitle')?></h2>
</x-page-head>
<x-admin-box>
<?php if (count($logs)) : ?>
<form action="<?= site_url(ADMIN_AREA . '/tools/delete-log'); ?>" method="post">
<?= csrf_fie... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Views/_pager.php | src/Tools/Views/_pager.php | <nav aria-label="Navigation between files">
<ul class="pagination">
<?php if ($prev['link']) : ?>
<li
class="page-item">
<a class="page-link"
href="<?= url_to('view-log', $prev['link']) ?>">
<i class="fas fa-angle-double-left"></i> <span class=... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Config/Routes.php | src/Tools/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA . '/tools', ['namespace' => '\Bonfire\Tools\Controllers'], static function ($routes) {
$routes->get('system-info', '\Bonfire\Tools\Controllers\SystemInfoController::index', ['as' => 'sys-info']);
$r... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Language/en/Tools.php | src/Tools/Language/en/Tools.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'systemInfoModTitle' => 'System Info',
'logsModTitle' => 'Logs',
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Language/it/Tools.php | src/Tools/Language/it/Tools.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'systemInfoModTitle' => 'Informazioni di sistema',
'logsModTitle' =>... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Language/lt/Tools.php | src/Tools/Language/lt/Tools.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'systemInfoModTitle' => 'Sistemos info',
'logsModTitle' => 'Žurnalai... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Tools/Language/ru/Tools.php | src/Tools/Language/ru/Tools.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
return [
'systemInfoModTitle' => 'Системная Информация',
'logsModTitle' => 'Л... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Namespaces.php | src/Core/Namespaces.php | <?php
namespace Bonfire\Core;
use CodeIgniter\Autoloader\Autoloader;
use ReflectionProperty;
class Namespaces
{
private static array $nonModuleFolders = [
'Config', 'Core',
];
public static function register(): void
{
helper('filesystem');
$map = directory_map(__DIR__ . '/../... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/AdminController.php | src/Core/AdminController.php | <?php
namespace Bonfire\Core;
class AdminController extends BaseController
{
/**
* The theme to use.
*
* @var string
*/
protected $theme = 'Admin';
}
| php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/BaseModule.php | src/Core/BaseModule.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core;
/**
* Class BaseModule
*
* Provides a foundation for module configura... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/BaseController.php | src/Core/BaseController.php | <?php
namespace Bonfire\Core;
use Bonfire\View\Themeable;
use CodeIgniter\Controller;
use CodeIgniter\HTTP\CLIRequest;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use Psr\Log\LoggerInterface;
/**
* Class BaseController
*
* BaseController pro... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Cells/Filters.php | src/Core/Cells/Filters.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Cells;
use RuntimeException;
class Filters
{
/**
* A view cell ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Traits/SearchInMeta.php | src/Core/Traits/SearchInMeta.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Traits;
trait SearchInMeta
{
/**
* Custom method to join the met... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Traits/HasMeta.php | src/Core/Traits/HasMeta.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Traits;
use Bonfire\Core\Models\MetaModel;
/**
* Provides "meta-field" ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Traits/Filterable.php | src/Core/Traits/Filterable.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Traits;
/**
* Provides functionality for making resource filters workabl... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Traits/Factory.php | src/Core/Traits/Factory.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Traits;
trait Factory
{
private static $instance;
/**
* Fac... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Models/MetaModel.php | src/Core/Models/MetaModel.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Models;
use CodeIgniter\Model;
class MetaModel extends Model
{
prote... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Core/Filters/OnlineCheck.php | src/Core/Filters/OnlineCheck.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Core\Filters;
use CodeIgniter\Filters\FilterInterface;
use CodeIgniter\HTTP\Re... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/BaseWidget.php | src/Widgets/BaseWidget.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets;
use Bonfire\Widgets\Interfaces\Item;
class BaseWidget
{
/**
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Module.php | src/Widgets/Module.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets;
use Bonfire\Core\BaseModule;
use Bonfire\Menus\MenuItem;
/**
* Cons... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Manager.php | src/Widgets/Manager.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets;
use Bonfire\Widgets\Interfaces\Widgets;
/**
* Class Manager
*
* T... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Stats/StatsItem.php | src/Widgets/Types/Stats/StatsItem.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Stats;
use Bonfire\Widgets\Interfaces\Item;
/**
* Represents a... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Stats/Stats.php | src/Widgets/Types/Stats/Stats.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Stats;
use Bonfire\Widgets\BaseWidget;
use Bonfire\Widgets\Inter... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Stats/StatsCollection.php | src/Widgets/Types/Stats/StatsCollection.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Stats;
/**
* Represents a collection of stats items.
*
* @pro... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Charts/ChartDataset.php | src/Widgets/Types/Charts/ChartDataset.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Charts;
class ChartDataset
{
/**
* The label for the da... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Charts/Charts.php | src/Widgets/Types/Charts/Charts.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Charts;
use Bonfire\Widgets\BaseWidget;
use Bonfire\Widgets\Inte... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Charts/ChartsItem.php | src/Widgets/Types/Charts/ChartsItem.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Charts;
use Bonfire\Widgets\Interfaces\Item;
/**
* Represents ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Types/Charts/ChartsCollection.php | src/Widgets/Types/Charts/ChartsCollection.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Types\Charts;
/**
* Represents a collection of Charts items.
*
* @p... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Controllers/WidgetsSettingsController.php | src/Widgets/Controllers/WidgetsSettingsController.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Controllers;
use Bonfire\Core\AdminController;
use CodeIgniter\HTTP\Re... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Cells/WidgetCells.php | src/Widgets/Cells/WidgetCells.php | <?php
namespace Bonfire\Widgets\Cells;
use Bonfire\View\Metadata;
class WidgetCells
{
/**
* Displays the stat blocks in the admin dashboard.
*/
public function stats()
{
$widgets = service('widgets');
return view('Bonfire\Widgets\Views\Cells\stats', [
'stats' => $... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Interfaces/Widgets.php | src/Widgets/Interfaces/Widgets.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Interfaces;
interface Widgets
{
public function createCollection(s... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Interfaces/Item.php | src/Widgets/Interfaces/Item.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Interfaces;
interface Item
{
public function setTitle(?string $tit... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_linechart.php | src/Widgets/Views/_linechart.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => $tab]) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA .... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_barchart.php | src/Widgets/Views/_barchart.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => $tab]) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA .... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_tabs.php | src/Widgets/Views/_tabs.php | <ul class="nav nav-tabs nav-fill" style="margin-bottom: -2px;">
<li class="nav-item">
<a class="nav-link <?php if ($tab === 'basics') : ?> active <?php endif ?>"
href="<?= site_url(ADMIN_AREA . '/settings/widgets') ?>">
Widgets
</a>
</li>
<li class="nav-item">
... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_stats.php | src/Widgets/Views/_stats.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => $tab]) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA . '/settin... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/settings.php | src/Widgets/Views/settings.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => 'basics']) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AR... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_polarareachart.php | src/Widgets/Views/_polarareachart.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => $tab]) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA .... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_doughnutchart.php | src/Widgets/Views/_doughnutchart.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => $tab]) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA .... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/_piechart.php | src/Widgets/Views/_piechart.php | <?php $this->extend('master') ?>
<?php $this->section('main') ?>
<x-page-head>
<x-module-title><i class="far fa-object-group"></i> Widgets</x-module-title>
<h2>Settings</h2>
</x-page-head>
<?= view('Bonfire\Widgets\Views\_tabs', ['tab' => $tab]) ?>
<x-admin-box>
<form action="<?= site_url(ADMIN_AREA .... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/Cells/stats.php | src/Widgets/Views/Cells/stats.php | <div class="dashboard-cell-container row">
<?php foreach ($stats as $elem) : ?>
<?php foreach ($elem->items() as $index => $widget) : ?>
<?php
$_widgets = array_filter($manager, static fn ($k) => $k['widget'] === 'Stats', ARRAY_FILTER_USE_BOTH);
?>
<?php if (setting('Stats.' . $_widgets[$i... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/Cells/charts.php | src/Widgets/Views/Cells/charts.php | <div class="dashboard-cell-container row">
<?php foreach ($charts as $elem) : ?>
<?php foreach ($elem->items() as $index => $widget) : ?>
<?php
$_widgets = array_values(
array_filter($manager, static fn ($k) => $k['widget'] === 'Charts', ARRAY_FILTER_USE_BOTH)
);
?... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Views/Cells/scripts.php | src/Widgets/Views/Cells/scripts.php | <?php foreach ($charts as $elem) : ?>
<?php foreach ($elem->items() as $index => $widget) : ?>
<?php
$_widgets = array_values(
array_filter($manager, static fn ($k) => $k['widget'] === 'Charts', ARRAY_FILTER_USE_BOTH)
);
?>
<?php if (setting('Stats.' ... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Config/Stats.php | src/Widgets/Config/Stats.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Config;
use CodeIgniter\Config\BaseConfig;
class Stats extends BaseCo... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Config/LineChart.php | src/Widgets/Config/LineChart.php | <?php
/**
* This file is part of Bonfire.
*
* (c) Lonnie Ezell <lonnieje@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bonfire\Widgets\Config;
use CodeIgniter\Config\BaseConfig;
class LineChart extends Ba... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
lonnieezell/Bonfire2 | https://github.com/lonnieezell/Bonfire2/blob/54f85800ce585efae6d13a352b1bdf573d9779ec/src/Widgets/Config/Routes.php | src/Widgets/Config/Routes.php | <?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->group(ADMIN_AREA, ['namespace' => '\Bonfire\Widgets\Controllers'], static function ($routes) {
$routes->get('settings/widgets', 'WidgetsSettingsController::index', ['as' => 'widgets-settings']);
$routes->get('settin... | php | MIT | 54f85800ce585efae6d13a352b1bdf573d9779ec | 2026-01-05T04:14:44.878202Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.