├── themes ├── Admin │ ├── Components │ │ ├── page-head.php │ │ ├── button-container.php │ │ ├── module-title.php │ │ ├── admin-box.php │ │ ├── filter-list.php │ │ ├── filter-link.php │ │ ├── button.php │ │ └── SidebarComponent.php │ ├── img │ │ └── color_scheme │ │ │ ├── Reds.png │ │ │ ├── Blues.png │ │ │ ├── Greens.png │ │ │ ├── Greys.png │ │ │ ├── Oranges.png │ │ │ └── Purples.png │ ├── Search │ │ ├── users.php │ │ └── index.php │ ├── _table_head.php │ ├── _header.php │ └── js │ │ └── admin.js ├── Auth │ ├── Components │ │ ├── auth-card.php │ │ └── unsplash.php │ ├── master.php │ └── js │ │ └── passStrength.js └── App │ ├── _tmp_bonfire_links_include.php │ └── master.php ├── docs ├── assets │ ├── js │ │ └── hljs.js │ └── css │ │ ├── github-dark-dimmed.css │ │ └── tomorrow-night-eighties.css ├── building_sites │ ├── common_functions.md │ ├── alerts.md │ ├── meta_info.md │ ├── assets.md │ ├── settings.md │ └── metadata.md ├── intro │ └── philosophy.md ├── building_admin_modules │ ├── dashboard_cells.md │ ├── view_components.md │ └── resource_tabs.md ├── modules │ └── index.md └── index.md ├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── phpcsfixer.yml │ ├── phpunit.yml │ ├── rector.yml │ ├── docs.yml │ └── deduplicate.yml ├── src ├── Core │ ├── AdminController.php │ ├── Models │ │ └── MetaModel.php │ ├── Traits │ │ ├── Factory.php │ │ ├── Filterable.php │ │ └── SearchInMeta.php │ ├── BaseModule.php │ ├── Cells │ │ └── Filters.php │ ├── BaseController.php │ └── Filters │ │ └── OnlineCheck.php ├── Settings │ ├── Views │ │ └── _timezones.php │ ├── Config │ │ └── Routes.php │ └── Module.php ├── Dashboard │ ├── Views │ │ ├── dashboard.php │ │ └── quick_links.php │ ├── Config │ │ ├── Routes.php │ │ └── Dashboard.php │ ├── DashboardCells.php │ ├── CellManager.php │ └── Controllers │ │ └── DashboardController.php ├── Views │ ├── Auth │ │ ├── magic_link_email.php │ │ ├── magic_link_message.php │ │ ├── magic_link_form.php │ │ ├── email_2fa_verify.php │ │ ├── email_activate_show.php │ │ └── email_2fa_show.php │ ├── email.php │ ├── _avatar.php │ ├── _resource_tabs.php │ ├── _pager_head.php │ ├── _pager_simple.php │ ├── _pager_simple_htmx.php │ ├── _alerts.php │ ├── site_offline.php │ ├── _filter_list.php │ └── _pager_full.php ├── Search │ ├── Config │ │ └── Routes.php │ ├── Controllers │ │ └── SearchController.php │ ├── Interfaces │ │ └── SearchProviderInterface.php │ └── SearchEngine.php ├── Email │ ├── Language │ │ ├── en │ │ │ └── Email.php │ │ ├── it │ │ │ └── Email.php │ │ ├── ru │ │ │ └── Email.php │ │ └── lt │ │ │ └── Email.php │ ├── Config │ │ └── Routes.php │ └── Module.php ├── Groups │ ├── Language │ │ ├── it │ │ │ └── Groups.php │ │ ├── en │ │ │ └── Groups.php │ │ ├── lt │ │ │ └── Groups.php │ │ └── ru │ │ │ └── Groups.php │ ├── Config │ │ └── Routes.php │ └── Views │ │ ├── _tabs.php │ │ ├── list.php │ │ ├── permissions.php │ │ └── form.php ├── Consent │ ├── Language │ │ ├── en │ │ │ └── Consent.php │ │ ├── it │ │ │ └── Consent.php │ │ ├── ru │ │ │ └── Consent.php │ │ └── lt │ │ │ └── Consent.php │ ├── Config │ │ └── Routes.php │ ├── Module.php │ ├── Helpers │ │ └── consent_helper.php │ └── Views │ │ └── consent_form.php ├── Widgets │ ├── Language │ │ ├── ru │ │ │ └── Widgets.php │ │ ├── en │ │ │ └── Widgets.php │ │ ├── it │ │ │ └── Widgets.php │ │ └── lt │ │ │ └── Widgets.php │ ├── Interfaces │ │ ├── Item.php │ │ └── Widgets.php │ ├── Views │ │ ├── Cells │ │ │ ├── scripts.php │ │ │ ├── charts.php │ │ │ └── stats.php │ │ ├── _stats.php │ │ ├── _tabs.php │ │ └── settings.php │ ├── Config │ │ ├── Stats.php │ │ ├── Routes.php │ │ ├── LineChart.php │ │ ├── BarChart.php │ │ └── PieChart.php │ ├── BaseWidget.php │ ├── Module.php │ ├── Types │ │ ├── Stats │ │ │ └── Stats.php │ │ └── Charts │ │ │ └── Charts.php │ └── Cells │ │ └── WidgetCells.php ├── Config │ ├── Events.php │ ├── Routes.php │ ├── Constants.php │ ├── Alerts.php │ ├── Themes.php │ └── Site.php ├── Assets │ └── Config │ │ └── Routes.php ├── Recycler │ ├── Language │ │ ├── it │ │ │ └── Recycler.php │ │ ├── lt │ │ │ └── Recycler.php │ │ ├── en │ │ │ └── Recycler.php │ │ └── ru │ │ │ └── Recycler.php │ ├── Config │ │ ├── Routes.php │ │ └── Recycler.php │ └── Module.php ├── Users │ ├── Views │ │ ├── _avatar.php │ │ ├── list.php │ │ ├── _tabs.php │ │ ├── _row_info.php │ │ └── _table.php │ ├── Libraries │ │ └── UserCells.php │ ├── Validation │ │ └── UserRules.php │ ├── Database │ │ └── Migrations │ │ │ ├── 2021-09-04-044800_AdditionalUserFields.php │ │ │ └── 2021-10-05-040656_CreateMetaTable.php │ └── Config │ │ └── Routes.php ├── View │ ├── Decorator.php │ ├── Themeable.php │ └── Component.php ├── Auth │ ├── Controllers │ │ ├── LoginController.php │ │ ├── MagicLinkController.php │ │ └── RegisterController.php │ ├── Config │ │ └── Routes.php │ └── Filters │ │ └── Admin.php ├── Tools │ ├── Config │ │ └── Routes.php │ ├── Views │ │ └── _pager.php │ ├── Controllers │ │ └── SystemInfoController.php │ ├── Module.php │ └── Language │ │ ├── en │ │ └── Tools.php │ │ ├── ru │ │ └── Tools.php │ │ ├── lt │ │ └── Tools.php │ │ └── it │ │ └── Tools.php ├── Resources │ └── ResourceTabs.php ├── Menus │ └── Manager.php └── Commands │ └── Generators │ └── CrudGenerator.php ├── tests ├── _support │ ├── Models │ │ └── ExampleModel.php │ ├── Database │ │ └── Seeds │ │ │ └── ExampleSeeder.php │ ├── DatabaseTestCase.php │ └── Libraries │ │ └── ConfigReader.php ├── Dashboard │ └── DashboardTest.php ├── SiteOnlineTest.php ├── Resources │ └── ResourceTabTest.php ├── CommonTest.php ├── Widgets │ ├── ChartsItemTest.php │ └── StatsItemTest.php ├── Settings │ ├── GeneralSettingsTest.php │ └── SiteOfflineTest.php ├── Consent │ └── ConsentHelperTest.php ├── View │ └── MetadataTest.php ├── Recycler │ └── RecyclerTest.php ├── Users │ └── AdminSettingsTest.php └── Tools │ └── LogsTest.php ├── .php-cs-fixer.dist.php ├── admin └── how_to_build_docs.md ├── LICENSE └── SECURITY.md /themes/Admin/Components/page-head.php: -------------------------------------------------------------------------------- 1 |
2 | = $slot ?? '' ?> 3 |
4 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [lonnieezell] 4 | patreon: lonnieezell 5 | -------------------------------------------------------------------------------- /themes/Admin/img/color_scheme/Reds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonnieezell/Bonfire2/HEAD/themes/Admin/img/color_scheme/Reds.png -------------------------------------------------------------------------------- /themes/Admin/img/color_scheme/Blues.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonnieezell/Bonfire2/HEAD/themes/Admin/img/color_scheme/Blues.png -------------------------------------------------------------------------------- /themes/Admin/img/color_scheme/Greens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonnieezell/Bonfire2/HEAD/themes/Admin/img/color_scheme/Greens.png -------------------------------------------------------------------------------- /themes/Admin/img/color_scheme/Greys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonnieezell/Bonfire2/HEAD/themes/Admin/img/color_scheme/Greys.png -------------------------------------------------------------------------------- /themes/Admin/img/color_scheme/Oranges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonnieezell/Bonfire2/HEAD/themes/Admin/img/color_scheme/Oranges.png -------------------------------------------------------------------------------- /themes/Admin/img/color_scheme/Purples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonnieezell/Bonfire2/HEAD/themes/Admin/img/color_scheme/Purples.png -------------------------------------------------------------------------------- /themes/Admin/Components/admin-box.php: -------------------------------------------------------------------------------- 1 |6 | 7 | = lang('Auth.login') ?> 8 | 9 |
10 | 11 | = $this->endSection() ?> 12 | -------------------------------------------------------------------------------- /src/Dashboard/Config/Routes.php: -------------------------------------------------------------------------------- 1 | group(ADMIN_AREA, ['namespace' => '\Bonfire\Dashboard\Controllers'], static function ($routes) { 10 | $routes->get('/', 'DashboardController::index'); 11 | }); 12 | -------------------------------------------------------------------------------- /src/Search/Config/Routes.php: -------------------------------------------------------------------------------- 1 | group(ADMIN_AREA . '/search', ['namespace' => '\Bonfire\Search\Controllers'], static function ($routes) { 9 | $routes->post('/', 'SearchController::overview', ['as' => 'search']); 10 | }); 11 | -------------------------------------------------------------------------------- /src/Email/Language/en/Email.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'emailModTitle' => 'Email', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Email/Language/it/Email.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'emailModTitle' => 'Email', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Email/Language/ru/Email.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'emailModTitle' => 'Эл. почта', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Groups/Language/it/Groups.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'groupsModTitle' => 'Ruoli', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Consent/Language/en/Consent.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'consentModTitle' => 'Consent', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Consent/Language/it/Consent.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'consentModTitle' => 'Consenso', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Consent/Language/ru/Consent.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'consentModTitle' => 'Согласие', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Email/Language/lt/Email.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'emailModTitle' => 'El. laiškai', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Groups/Language/en/Groups.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'groupsModTitle' => 'User Groups', 14 | ]; 15 | -------------------------------------------------------------------------------- /themes/Admin/Components/button.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /src/Groups/Language/lt/Groups.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'groupsModTitle' => 'Vartotojų grupės', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Consent/Language/lt/Consent.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'consentModTitle' => 'Sutikimas (BDAR)', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Groups/Language/ru/Groups.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'groupsModTitle' => 'Группы пользователей', 14 | ]; 15 | -------------------------------------------------------------------------------- /src/Widgets/Language/ru/Widgets.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'widgetsModTitle' => 'Виджеты', 14 | 'viewDetail' => 'Детали', 15 | ]; 16 | -------------------------------------------------------------------------------- /src/Dashboard/Config/Dashboard.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'widgetsModTitle' => 'Widgets', 14 | 'viewDetail' => 'View Detail', 15 | ]; 16 | -------------------------------------------------------------------------------- /src/Widgets/Language/it/Widgets.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'widgetsModTitle' => 'Widgets', 14 | 'viewDetail' => 'Visualizza dettaglio', 15 | ]; 16 | -------------------------------------------------------------------------------- /src/Widgets/Language/lt/Widgets.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | return [ 13 | 'widgetsModTitle' => 'Skydelio elementai', 14 | 'viewDetail' => 'Rodyti detaliau', 15 | ]; 16 | -------------------------------------------------------------------------------- /src/Config/Events.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view 9 | * the LICENSE file that was distributed with this source code. 10 | */ 11 | 12 | namespace Bonfire\Widgets\Interfaces; 13 | 14 | interface Item 15 | { 16 | public function setTitle(?string $title): Item; 17 | } 18 | -------------------------------------------------------------------------------- /.github/workflows/phpcsfixer.yml: -------------------------------------------------------------------------------- 1 | name: PHPCSFixer 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - develop 7 | paths: 8 | - "**.php" 9 | - ".github/workflows/phpcsfixer.yml" 10 | push: 11 | branches: 12 | - develop 13 | paths: 14 | - "**.php" 15 | - ".github/workflows/phpcsfixer.yml" 16 | 17 | jobs: 18 | phpcsfixer: 19 | uses: codeigniter4/.github/.github/workflows/phpcsfixer.yml@CI46 -------------------------------------------------------------------------------- /src/Consent/Config/Routes.php: -------------------------------------------------------------------------------- 1 | group(ADMIN_AREA, ['namespace' => '\Bonfire\Consent\Controllers'], static function ($routes) { 9 | $routes->get('settings/consent', 'ConsentSettingsController::index', ['as' => 'consent-settings']); 10 | $routes->post('settings/consent', 'ConsentSettingsController::save'); 11 | }); 12 | -------------------------------------------------------------------------------- /src/Views/email.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | = $this->renderSection('message') ?> 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /themes/Auth/Components/unsplash.php: -------------------------------------------------------------------------------- 1 |5 | Image by Picsum 6 |
7 |This installation contains Bonfire2: Codeigniter4 admin area and application skeleton.
11 |You can visit Admin Area or continue exploring Bonfire2: read documentation or visit Bonfire2 on Github
12 |= lang('Users.deleteImage') ?> 8 | 9 | 10 |
= lang('Auth.checkYourEmail') ?>!
14 | 15 |= lang('Auth.magicLinkDetails', [setting('Auth.magicLinkLifetime') / 60]) ?>
16 | 17 | 18 | 19 | 20 |= lang('Auth.emailConfirmCode') ?>
14 | 15 | 29 | 30 | 31 |= lang('Auth.emailActivateBody') ?>
13 | 14 | 28 | 29 | 30 |