nextcloud/admin/templates/appsinst.php

27 lines
864 B
PHP

<?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']); ?>">
<td class="name" width="200"><?php echo($app['name']); ?></td>
<td class="version"><?php echo($app['version']); ?></td>
<td><?php echo($app['author']); ?></td>
<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>
</tr>
<?php endforeach; ?>
</tbody>
</table>