mirror of
https://github.com/nextcloud/server.git
synced 2026-03-03 22:11:01 -05:00
* We have to use full tags (<?php) and not short tags (<?) * We have to use the alternative syntax for control structures (see http://www.php.net/manual/en/control-structures.alternative-syntax.php).
28 lines
540 B
PHP
28 lines
540 B
PHP
<?php
|
|
/*
|
|
* Template for admin pages
|
|
*/
|
|
?>
|
|
<h1>Administration</h1>
|
|
<h2>Plugins</h2>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
<th>Version</th>
|
|
<th>Author</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach($_["plugins"] as $plugin): ?>
|
|
<td><?php echo $plugin["info"]["id"] ?></td>
|
|
<td><?php echo $plugin["info"]["version"] ?></td>
|
|
<td><?php echo $plugin["info"]["name"] ?></td>
|
|
<td><?php echo $plugin["info"]["author"] ?></td>
|
|
<td>enable</td>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|