2024-05-02 15:32:27 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
2024-05-15 18:30:56 +00:00
|
|
|
<?= lang('Plugins.settingsTitle', [
|
2024-06-08 18:30:36 +00:00
|
|
|
'pluginTitle' => $plugin->getTitle(),
|
|
|
|
'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') ?>
|
2024-05-15 18:30:56 +00:00
|
|
|
<?= view('plugins/_settings_form', [
|
2024-05-02 15:32:27 +00:00
|
|
|
'plugin' => $plugin,
|
2024-05-13 16:17:18 +00:00
|
|
|
'action' => route_to(sprintf('plugins-settings-%s-action', $type), ...$params),
|
2024-05-15 18:30:56 +00:00
|
|
|
'fields' => $fields,
|
2024-06-03 14:32:42 +00:00
|
|
|
'type' => $type,
|
2024-05-13 16:17:18 +00:00
|
|
|
'context' => $context,
|
2024-05-02 15:32:27 +00:00
|
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|