This commit is contained in:
2023-03-28 10:34:44 +02:00
parent f803effbbd
commit f7e0f37528
428 changed files with 9982 additions and 100 deletions

View File

@@ -0,0 +1,23 @@
<?php
if (!defined('PICONTROL')) exit();
$plugin = $gPlugin;
if (isset($_POST['submit']) && $_POST['submit'] != '')
{
if (deletePlugin($plugin['id']) == true)
{
$tpl->msg('success', _t('Plugin gel&ouml;scht'), _t('Das Plugin "%s" wurde erfolgreich gel&ouml;scht.', _t($plugin['name'])));
$showList = true;
}
else
$tpl->msg('error', _t('Fehler'), _t('Das Plugin "%s" konnte nicht gel&ouml;scht werden.', _t($plugin['name'])));
}
if ($showList == false)
{
$tpl->assign('plugin', $plugin);
$tpl->draw('settings/plugin_delete');
}
?>