21 lines
747 B
PHP
21 lines
747 B
PHP
<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="submit" value="<?php echo $l->t( $app['enabled'] ? 'enabled' : 'disabled' ); ?>" class="appbutton <?php echo( $app['enabled'] ? 'enabled' : 'disabled' ); ?>" /></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|