nextcloud/admin/templates/appsinst.php

27 lines
864 B
PHP
Raw Normal View History

2011-06-20 20:16:24 +04:00
<?php
/*
* Template for Installed Apps
*/
?>
<h1><?php echo $l->t( 'Installed Applications' ); ?></h1>
<table>
<thead>
<tr>
<th><?php echo $l->t( 'Name' ); ?></th>
<th><?php echo $l->t( 'Version' ); ?></th>
<th><?php echo $l->t( 'Author' ); ?></th>
<th><?php echo $l->t( 'Status' ); ?></th>
</tr>
</thead>
<tbody>
<?php foreach($_["apps"] as $app): ?>
<tr x-uid="<?php echo($app['id']); ?>">
2011-06-20 20:16:24 +04:00
<td class="name" width="200"><?php echo($app['name']); ?></td>
<td class="version"><?php echo($app['version']); ?></td>
<td><?php echo($app['author']); ?></td>
2011-06-22 00:35:36 +04:00
<td><input x-use="appenablebutton" type='button' value='<?php echo $l->t( $app['enabled'] ? 'enabled' : 'disabled' ); ?>' class='appbutton prettybutton <?php echo( $app['enabled'] ? 'enabled' : 'disabled' ); ?>'/></td>
2011-06-20 20:16:24 +04:00
</tr>
<?php endforeach; ?>
</tbody>
</table>