blob: 8d0b3db41c08395923fa36622f5c9fbcb9874045 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<?php
/**
* @var Admin_PluginController $controller
* @var array $unknown_plugins
*/
?>
<table class="default">
<caption>
<?= _('Im Pluginverzeichnis vorhandene Plugins registrieren') ?>
</caption>
<thead>
<tr>
<th><?= _('Name') ?></th>
<th><?= _('Pluginklasse') ?></th>
<th><?= _('Version') ?></th>
<th><?= _('Ursprung') ?></th>
<th><?= _('Registrieren') ?></th>
</tr>
</thead>
<tbody>
<? if (!$unknown_plugins): ?>
<tr>
<td colspan="5">
<?= _('Es sind keine nicht registrierten Plugins vorhanden') ?>
</td>
</tr>
<? endif; ?>
<? foreach ($unknown_plugins as $n => $plugin): ?>
<tr>
<td><?= htmlReady($plugin['pluginname']) ?></td>
<td><?= htmlReady($plugin['pluginclassname']) ?></td>
<td><?= htmlReady($plugin['version']) ?></td>
<td><?= htmlReady($plugin['origin']) ?></td>
<td class="actions">
<form action="<?= $controller->link_for('admin/plugin/register/' . $n) ?>" method="post">
<?= CSRFProtection::tokenTag() ?>
<?= Icon::create('install')->asInput([
'title' => _('Plugin registrieren'),
'class' => 'middle',
'name' => 'install',
]) ?>
</form>
</td>
</tr>
<? endforeach ?>
</tbody>
</table>
|