summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-03 05:09:42 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-03 05:09:42 +0200
commitd8c86a2ad60db241bad4d7e43c54ef5157d8fdb8 (patch)
tree559f719655eda8f7905ddea9bd40053eff17d538 /admin
parent9b4d19a13ff45d4da0b9573f8b775ab9943a39be (diff)
downloadnextcloud-server-d8c86a2ad60db241bad4d7e43c54ef5157d8fdb8.tar.gz
nextcloud-server-d8c86a2ad60db241bad4d7e43c54ef5157d8fdb8.zip
cleaned up settings a bit
Diffstat (limited to 'admin')
-rw-r--r--admin/templates/app.php9
-rw-r--r--admin/templates/apps.php8
-rw-r--r--admin/templates/appsinst.php11
3 files changed, 4 insertions, 24 deletions
diff --git a/admin/templates/app.php b/admin/templates/app.php
index c8989e323ce..06896121d09 100644
--- a/admin/templates/app.php
+++ b/admin/templates/app.php
@@ -1,9 +1,4 @@
-<?php
-/*
- * Template for Apps
- */
-$app=$_['app'];
-?>
+<?php $app=$_['app']; ?>
<h1><?php echo $app["name"]; ?></h1>
<?php echo('<span class="type">'.$app['typename'].'</span>'); ?><br />
<span class="date"><?php echo $l->l('datetime', $app["changed"]); ?></span><br />
@@ -21,7 +16,7 @@ $app=$_['app'];
<br />
<?php echo('<a class="description" target="_blank" href="'.$app["detailpage"].'">'.$l->t( 'read more' ).'</a><br />'); ?>
</td>
- <td width="1" valign="top"><a class="prettybutton" href=""><?php echo $l->t( 'INSTALL' ); ?></a></td>
+ <td width="1" valign="top"><a class="prettybutton" href=""><?php echo $l->t( 'Install' ); ?></a></td>
</tr>
</table>
diff --git a/admin/templates/apps.php b/admin/templates/apps.php
index 50dd497c333..732326f659a 100644
--- a/admin/templates/apps.php
+++ b/admin/templates/apps.php
@@ -1,11 +1,3 @@
-<?php
-/*
- * Template for Apps
- */
-?>
-<h1><?php echo $l->t( 'Apps Repository' ); ?></h1>
-
-
<table cellspacing="0">
<thead>
<tr>
diff --git a/admin/templates/appsinst.php b/admin/templates/appsinst.php
index 0e97df6add8..d1adb5f45a1 100644
--- a/admin/templates/appsinst.php
+++ b/admin/templates/appsinst.php
@@ -1,10 +1,3 @@
-<?php
-/*
- * Template for Installed Apps
- */
-?>
-<h1><?php echo $l->t( 'Installed Applications' ); ?></h1>
-
<table>
<thead>
<tr>
@@ -20,8 +13,8 @@
<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>
+ <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> \ No newline at end of file
+</table>