mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-10 16:25:47 +00: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
28 lines
609 B
PHP
28 lines
609 B
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
use Config\Services;
|
|
|
|
/**
|
|
* Renders the breadcrumb navigation through the Breadcrumb service
|
|
*
|
|
* @param string $class to be added to the breadcrumb nav
|
|
* @return string html breadcrumb
|
|
*/
|
|
function render_breadcrumb($class = null)
|
|
{
|
|
$breadcrumb = Services::breadcrumb();
|
|
return $breadcrumb->render($class);
|
|
}
|
|
|
|
function replace_breadcrumb_params($newParams)
|
|
{
|
|
$breadcrumb = Services::breadcrumb();
|
|
$breadcrumb->replaceParams($newParams);
|
|
}
|