cleaned up settings a bit

This commit is contained in:
Jan-Christoph Borchardt 2011-08-03 05:09:42 +02:00
parent 9b4d19a13f
commit d8c86a2ad6
5 changed files with 6 additions and 28 deletions

View 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>

View File

@ -1,11 +1,3 @@
<?php
/*
* Template for Apps
*/
?>
<h1><?php echo $l->t( 'Apps Repository' ); ?></h1>
<table cellspacing="0">
<thead>
<tr>

View 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>
</table>

View 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; }

View 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;?>