1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-31 10:54:46 +03:00
Files
phpmyadmin/templates/server/plugins/section.phtml
Patric Gustafsson f15ba90c89 Remove odd CSS class logic from JS and template
Odd CSS class is no longer nedded, background coloring
is done with CSS pesudo-class.

Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
2016-08-28 20:18:27 +03:00

31 lines
1.2 KiB
PHTML

<table class="data_full_width"
id="plugins-<?= preg_replace('/[^a-z]/', '', mb_strtolower($plugin_type)); ?>">
<caption class="tblHeaders">
<?= htmlspecialchars($plugin_type); ?>
</caption>
<thead>
<tr>
<th><?= __('Plugin'); ?></th>
<th><?= __('Description'); ?></th>
<th><?= __('Version'); ?></th>
<th><?= __('Author'); ?></th>
<th><?= __('License'); ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($plugin_list as $plugin): ?>
<tr class="noclick">
<th>
<?= htmlspecialchars($plugin['plugin_name']); ?>
<?php if (! $plugin['is_active']): ?>
<small class="attention"><?= __('disabled'); ?></small>
<?php endif; ?>
</th>
<td><?= htmlspecialchars($plugin['plugin_description']); ?></td>
<td><?= htmlspecialchars($plugin['plugin_type_version']); ?></td>
<td><?= htmlspecialchars($plugin['plugin_author']); ?></td>
<td><?= htmlspecialchars($plugin['plugin_license']); ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>