Init Repo
This commit is contained in:
26
public_html/templates/settings/plugins.tpl.php
Normal file
26
public_html/templates/settings/plugins.tpl.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php if (!defined('PICONTROL')) exit(); ?>
|
||||
<div>
|
||||
<div class="box">
|
||||
<div class="inner-header">
|
||||
<span><?php _e('Einstellungen zu Plugins'); ?></span>
|
||||
<?php showGoBackIcon('?s=plugins'); ?>
|
||||
</div>
|
||||
<?php $i = 0; foreach ($data['plugins'] as $plugin) { $i++; ?>
|
||||
<div class="inner-table settings-plugins-table-list<?php echo ($i != count($data['plugins'])) ? ' padding-0' : ''; ?>">
|
||||
<table class="table table-borderless<?php echo ($i%2 != 0) ? ' table-reverse' : ''; ?>">
|
||||
<tr>
|
||||
<td><strong><?php _e($plugin['name']); ?></strong><span><?php _e('Version %s', $plugin['version']['name']); ?></span></td>
|
||||
<td><a href="?s=plugins&id=<?php echo $plugin['id']; ?>&settings" class="text-decoration-none"<?php if ($plugin['settings'] == false) echo ' style="visibility: hidden"'; ?>><span class="button button-small"><?php _e('Einstellungen'); ?></span></a>
|
||||
<a href="?s=settings&do=plugins&status=<?php echo $plugin['id']; ?>" class="text-decoration-none"><span class="button button-small"><?php echo ($plugin['disabled'] == true) ? _t('Aktivieren') : _t('Deaktivieren'); ?></span></a>
|
||||
<a href="?s=settings&do=plugins&delete=<?php echo $plugin['id']; ?>" class="text-decoration-none"><span class="button button-small"><?php _e('Löschen'); ?></span></a></td>
|
||||
<td><?php _e($plugin['description']); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php } if (empty($data['plugins'])) { ?>
|
||||
<div class="inner-info">
|
||||
<div><?php _e('Es sind momentan noch keine Plugins installiert.'); ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user