aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/sem_classes/content_plugin.php
blob: 5cbe039a0566f25c8d04173a1ff0fd1003b5283e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 *  Copyright (c) 2012  Rasmus Fuhse <fuhse@data-quest.de>
 * 
 *  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.
 * @var array $plugin
 * @var string $sticky
 * @var string $plugin_id
 * @var string $activated
 */
?>
<div class="plugin<?= ($plugin['enabled'] ? "" : " deactivated").(is_numeric($plugin['id']) ? "" : " core").($sticky ? " sticky" : "") ?>" id="plugin_<?= $plugin_id ?>" <?= $plugin['enabled'] ? "" : ' title="'._("Plugin ist momentan global deaktiviert.").'"' ?>>
    <h2><?= $plugin['name'] ?></h2>
    <div>
        <label><input type="checkbox" value="1" name="nonsticky"<?= !$sticky ? " checked" : "" ?>><?= _("Wählbar") ?></label>
        <br>
        <label><input type="checkbox" value="1" name="active"<?= $activated ? " checked" : "" ?>><?= _("Standard Aktiv") ?></label>
    </div>
</div>