aboutsummaryrefslogtreecommitdiffstats
path: root/admin/templates
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2011-06-20 18:16:24 +0200
committerKamil Domanski <kdomanski@kdemail.net>2011-06-20 18:17:41 +0200
commit7ac7a6801ce867a20c4b36950d5929e577915871 (patch)
treeb6ad8e4db1b653ada23d71cc56cdbcd3c0eb1346 /admin/templates
parent317b18bef8fbaa412b20e29b1fde8ddc6425cda2 (diff)
downloadnextcloud-server-7ac7a6801ce867a20c4b36950d5929e577915871.tar.gz
nextcloud-server-7ac7a6801ce867a20c4b36950d5929e577915871.zip
added basic "installed apps" page
Diffstat (limited to 'admin/templates')
-rw-r--r--admin/templates/appsinst.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/admin/templates/appsinst.php b/admin/templates/appsinst.php
new file mode 100644
index 00000000000..c1acc09d5d3
--- /dev/null
+++ b/admin/templates/appsinst.php
@@ -0,0 +1,27 @@
+<?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>
+ <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 class="<?php echo $app['enabled'] ? 'enabled' : 'disabled' ?>"><?php echo $l->t( $app['enabled'] ? 'enabled' : 'disabled' ); ?></td>
+ </tr>
+ <?php endforeach; ?>
+ </tbody>
+</table> \ No newline at end of file