mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
feat(plugins): add html field type + CodeEditor component + rework html head generation
update php and js packages to latest
This commit is contained in:
parent
b869acb3a9
commit
8cf9c6dc83
227 changed files with 2991 additions and 2988 deletions
|
|
@ -38,6 +38,7 @@ class PluginController extends BaseController
|
|||
|
||||
$pager_links = $pager->makeLinks($page, $perPage, $total);
|
||||
|
||||
$this->setHtmlHead(lang('Plugins.installed'));
|
||||
return view('plugins/installed', [
|
||||
'total' => $total,
|
||||
'plugins' => $this->plugins->getPlugins($page, $perPage),
|
||||
|
|
@ -47,8 +48,9 @@ class PluginController extends BaseController
|
|||
|
||||
public function vendor(string $vendor): string
|
||||
{
|
||||
|
||||
$vendorPlugins = $this->plugins->getVendorPlugins($vendor);
|
||||
|
||||
$this->setHtmlHead(lang('Plugins.installed'));
|
||||
replace_breadcrumb_params([
|
||||
$vendor => $vendor,
|
||||
]);
|
||||
|
|
@ -68,6 +70,7 @@ class PluginController extends BaseController
|
|||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
$this->setHtmlHead($plugin->getTitle());
|
||||
replace_breadcrumb_params([
|
||||
$vendor => $vendor,
|
||||
$package => $package,
|
||||
|
|
@ -137,6 +140,10 @@ class PluginController extends BaseController
|
|||
$data['fields'] = $fields;
|
||||
|
||||
helper('form');
|
||||
$this->setHtmlHead(lang('Plugins.settingsTitle', [
|
||||
'pluginTitle' => $plugin->getTitle(),
|
||||
'type' => $type,
|
||||
]));
|
||||
replace_breadcrumb_params($breadcrumbReplacements);
|
||||
return view('plugins/settings', $data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue