nextcloud/admin/templates/plugins.php
François KUBLER 1935d85ef1 Fixed some typos in admins templates.
* 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).
2011-03-09 20:13:52 +01:00

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>