22
33namespace Bonfire \Config ;
44
5- use Config \Filters ;
6- use CodeIgniter \Autoloader \Autoloader ;
75use Bonfire \Auth \Filters \Admin ;
86use Bonfire \Consent \Filters \ConsentFilter ;
97use Bonfire \Core \Filters \OnlineCheck ;
108use Bonfire \Users \Validation \UserRules ;
119use Bonfire \View \Decorator ;
10+ use CodeIgniter \Autoloader \Autoloader ;
1211use CodeIgniter \Shield \Authentication \Passwords \ValidationRules as PasswordRules ;
1312use CodeIgniter \Shield \Filters \ChainAuth ;
1413use CodeIgniter \Shield \Filters \SessionAuth ;
1514use CodeIgniter \Shield \Filters \TokenAuth ;
15+ use Config \Filters ;
1616use ReflectionClass ;
1717use ReflectionProperty ;
1818
@@ -29,9 +29,11 @@ public static function Pager(): array
2929 {
3030 return [
3131 'templates ' => [
32- 'bonfire_full ' => 'Bonfire\Views\_pager_full ' ,
33- 'bonfire_simple ' => 'Bonfire\Views\_pager_simple ' ,
34- 'bonfire_head ' => 'Bonfire\Views\_pager_head ' ,
32+ 'bonfire_full ' => 'Bonfire\Views\_pager_full ' ,
33+ 'bonfire_full_hx ' => 'Bonfire\Views\_pager_full_htmx ' ,
34+ 'bonfire_simple ' => 'Bonfire\Views\_pager_simple ' ,
35+ 'bonfire_simple_hx ' => 'Bonfire\Views\_pager_simple_htmx ' ,
36+ 'bonfire_head ' => 'Bonfire\Views\_pager_head ' ,
3537 ],
3638 ];
3739 }
@@ -132,8 +134,8 @@ public static function registerNamespaces(): void
132134 }
133135
134136 $ map = directory_map ($ path , 1 );
135- foreach ($ map as $ row ) {
136137
138+ foreach ($ map as $ row ) {
137139 $ name = trim ($ row , DIRECTORY_SEPARATOR );
138140
139141 $ namespaces [$ baseName . "\\{ {$ name }} " ] = [realpath ($ path . "/ {$ name }" )];
0 commit comments