]> source.dussan.org Git - nextcloud-server.git/commitdiff
cleaned up settings a bit
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Wed, 3 Aug 2011 03:09:42 +0000 (05:09 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Wed, 3 Aug 2011 03:09:42 +0000 (05:09 +0200)
admin/templates/app.php
admin/templates/apps.php
admin/templates/appsinst.php
core/css/styles.css
help/templates/index.php

index c8989e323ce2d09ad57f09153b6fdd7760175acb..06896121d0927719c83d0895e99bcfe90fd5f974 100644 (file)
@@ -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>
 
index 50dd497c333f64a01ab11da86214e3926d06ff57..732326f659aae231654d307b6014543796683361 100644 (file)
@@ -1,11 +1,3 @@
-<?php
-/*
- * Template for Apps
- */
-?>
-<h1><?php echo $l->t( 'Apps Repository' ); ?></h1>
-
-
 <table cellspacing="0">
        <thead>
                <tr>
index 0e97df6add811b51c086dc663dbb289a1d16ff00..d1adb5f45a12ae475b1a590878ab8e6a4ba35979 100644 (file)
@@ -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>
index fa7421e094816550ef53b1b3096cc1f9e36d91c9..eb3c8b7654b815ab39a2ce8219276a0ab23ca5eb 100644 (file)
@@ -93,6 +93,7 @@ input[type="search"] { font-size:1em; padding-left:2em; background:#eee url('../
 
 /* CONTENT ------------------------------------------------------------------ */
 #content { margin:3.5em 0 0 12.5em; }
+#body-settings #content { padding:1em; }
 
 /* USER SETTINGS ------------------------------------------------------------ */
 #quota_indicator { margin:0 4em 1em 0; padding:0; border:1px solid #ddd; border-radius:10px; -webkit-border-radius:10px; -moz-border-radius:10px; }
index f239de217d0d9880ee43641efc04f698ffa50da5..82ab224d49e69136237b801578d952f48d451f0c 100644 (file)
@@ -1,6 +1,3 @@
-
-<h1><?php echo $l->t( 'Questions and Answers' ); ?></h1>
-
 <?php if(is_null($_["kbe"])):?>
        Can't connect to Q&amp;A database
 <?php else:?>
@@ -21,7 +18,7 @@
                $pageNavi=OC_Util::getPageNavi($_['pagecount'],$_['page'],$url);
                $pageNavi->printPage();
        ?>
-       <a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new"><?php echo $l->t( 'ASK A QUESTION' ); ?></a>
+       <a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new"><?php echo $l->t( 'Ask a question' ); ?></a>
 <?php endif;?>