2024-05-02 15:32:27 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= lang('Plugins.settings', [
|
|
|
|
'pluginName' => $plugin->getName(),
|
2024-05-13 16:17:18 +00:00
|
|
|
'type' => $type,
|
2024-05-02 15:32:27 +00:00
|
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= lang('Plugins.settings', [
|
|
|
|
'pluginName' => $plugin->getName(),
|
2024-05-13 16:17:18 +00:00
|
|
|
'type' => $type,
|
2024-05-02 15:32:27 +00:00
|
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2024-05-13 16:17:18 +00:00
|
|
|
<?php
|
|
|
|
$params = [
|
|
|
|
$plugin->getVendor(),
|
|
|
|
$plugin->getPackage(),
|
|
|
|
];
|
|
|
|
|
|
|
|
if (isset($podcast)) {
|
|
|
|
$params[] = $podcast->id;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isset($episode)) {
|
|
|
|
$params[] = $episode->id;
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
2024-05-02 15:32:27 +00:00
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<?= view('plugins/_settings', [
|
|
|
|
'plugin' => $plugin,
|
2024-05-13 16:17:18 +00:00
|
|
|
'action' => route_to(sprintf('plugins-settings-%s-action', $type), ...$params),
|
|
|
|
'type' => $type,
|
|
|
|
'context' => $context,
|
2024-05-02 15:32:27 +00:00
|
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|