* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. */ use Studip\Button, Studip\LinkButton; ?>
$pluginlist) { $visibility = ""; if ($_SESSION['plus']['displaystyle'] != 'category' && $category != 'Funktionen von A-Z') { $visibility = "invisible"; } if (isset($_SESSION['plus']) && !$_SESSION['plus']['Kategorie'][$category] && $category != 'Funktionen von A-Z') { $visibility = "invisible"; } ?> $val) { if ($val['type'] == 'plugin') { $plugin = $val['object']; $plugin_activated = $plugin->isActivated(); $info = $plugin->getMetadata(); //Checkbox $anchor = 'p_' . $plugin->getPluginId(); $cb_name = 'plugin_' . $plugin->getPluginId(); $cb_disabled = ''; $cb_checked = $plugin_activated ? "checked" : ""; $pluginname = $val['displayname']; $URL = $plugin->isCorePlugin() ? $GLOBALS['ABSOLUTE_URI_STUDIP'] : $plugin->getPluginURL(); $pluginvisibility = $val['visibility']; } ?>
onClick="STUDIP.Plus.setModule.call(this);">
"> asImg(['class' => 'plugin_icon text-bottom', 'alt' => '']) ?>
addLink( $controller->url_for('/edittool/' . $key), _('Optionen bearbeiten'), Icon::create('edit', Icon::ROLE_CLICKABLE, ['size' => 20]), ['data-dialog' => 'size=auto'] ); if (method_exists($plugin, 'deleteContent')) { $actionMenu->addLink( $controller->url_for('/index', ['deleteContent' => 1, 'name' => $key]), _('Inhalte löschen'), Icon::create('trash', Icon::ROLE_CLICKABLE, ['size' => 20]) ); } ?>
render() ?>