mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-03 01:17:19 +02:00
- add podcast sidebar navigation - add podcast dashboard with latest episodes - add pagination to podcast episodes - add components helper to reuse ui components (button, data_table, etc.) - enhance podcast and episode forms by splitting them into form sections - add hint tooltips to podcast and episode forms - transform radio inputs as buttons for better ux - replace explicit field by parental_advisory - replace author field by publisher - add podcasts_categories table to set multiple categories - use choices.js to enhance multiselect fields - update Language files - update js dependencies to latest versions closes #31, #9
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Pager extends BaseConfig
|
|
{
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Templates
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Pagination links are rendered out using views to configure their
|
|
| appearance. This array contains aliases and the view names to
|
|
| use when rendering the links.
|
|
|
|
|
| Within each view, the Pager object will be available as $pager,
|
|
| and the desired group as $pagerGroup;
|
|
|
|
|
*/
|
|
public $templates = [
|
|
'default_full' => 'App\Views\pager\default_full',
|
|
'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
|
|
'default_head' => 'CodeIgniter\Pager\Views\default_head',
|
|
];
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Items Per Page
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The default number of results shown in a single page.
|
|
|
|
|
*/
|
|
public $perPage = 20;
|
|
}
|