summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-08-15 17:38:33 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-08-15 17:38:33 -0400
commit801e4f86116c0ef9af4ad93a39b955deaa2f6ce8 (patch)
tree47c959a7f880c5d5c34d2b3170d7d742858139bb /core/templates
parent5b09aef1661c67e6d253041f78bf98c086ca0879 (diff)
parent2cb231d0a409ae21141be19dddbbc2efc4aac19e (diff)
downloadnextcloud-server-801e4f86116c0ef9af4ad93a39b955deaa2f6ce8.tar.gz
nextcloud-server-801e4f86116c0ef9af4ad93a39b955deaa2f6ce8.zip
Merge branch 'sharing' of git://anongit.kde.org/owncloud into sharing
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/installation.php8
-rw-r--r--core/templates/layout.guest.php2
-rw-r--r--core/templates/layout.user.php16
3 files changed, 7 insertions, 19 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 4371c4b17b1..ebd726b4fb9 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -29,18 +29,18 @@
<?php if($_['hasSQLite']): ?>
<input type='hidden' id='hasSQLite' value='true' />
<?php if(!$hasOtherDB): ?>
- <p><?php echo $l->t( 'SQLite will be used.' ); ?></p>
+ <p>SQLite <?php echo $l->t( 'will be used' ); ?>.</p>
<input type="hidden" id="dbtype" name="dbtype" value="sqlite" />
<?php else: ?>
<input type="radio" name="dbtype" value='sqlite' id="sqlite" <?php OC_Helper::init_radio('dbtype', 'sqlite', 'sqlite'); ?>/>
- <label class="sqlite" for="sqlite"><?php echo $l->t( 'SQLite' ); ?></label>
+ <label class="sqlite" for="sqlite">SQLite</label>
<?php endif; ?>
<?php endif; ?>
<?php if($_['hasMySQL']): ?>
<input type='hidden' id='hasMySQL' value='true'/>
<?php if(!$_['hasSQLite'] and !$_['hasPostgreSQL']): ?>
- <p><?php echo $l->t( 'MySQL will be used.' ); ?></p>
+ <p>MySQL <?php echo $l->t( 'will be used' ); ?>.</p>
<input type="hidden" id="dbtype" name="dbtype" value="mysql" />
<?php else: ?>
<input type="radio" name="dbtype" value='mysql' id="mysql" <?php OC_Helper::init_radio('dbtype','pgsql', 'mysql', 'sqlite'); ?>/>
@@ -50,7 +50,7 @@
<?php if($_['hasPostgreSQL']): ?>
<?php if(!$_['hasSQLite'] and !$_['hasMySQL']): ?>
- <p><?php echo $l->t( 'PostgreSQL will be used.' ); ?></p>
+ <p>PostgreSQL <?php echo $l->t( 'will be used' ); ?>.</p>
<input type="hidden" id="dbtype" name="dbtype" value="pgsql" />
<?php else: ?>
<label class="pgsql" for="pgsql">PostgreSQL</label>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 21388509f35..42c2539af13 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -35,6 +35,6 @@
</div></header>
<?php echo $_['content']; ?>
</div>
- <footer><p class="info"><?php echo $l->t( '<a href="http://owncloud.org/">ownCloud</a> is a personal cloud which runs on your own server.</p>' ); ?></p></footer>
+ <footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> <?php echo $l->t( 'is a personal cloud which runs on your own server' ); ?>.</p></footer>
</body>
</html>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 81c0e73ea46..2e70fa29389 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -31,22 +31,15 @@
<header><div id="header">
<a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img class="svg" src="<?php echo image_path('', 'logo-wide.svg'); ?>" alt="ownCloud" /></a>
<form class="searchbox" action="#" method="post">
- <input id="searchbox" class="svg" type="search" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" class="prettybutton" autocomplete="off" />
+ <input id="searchbox" class="svg" type="search" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" autocomplete="off" />
</form>
- <a id="logout" href="<?php echo link_to('', 'index.php'); ?>?logout=true" title="<?php echo $l->t('Log out');?>"><img class="svg" src="<?php echo image_path('', 'actions/logout.svg'); ?>" /></a>
+ <a id="logout" href="<?php echo link_to('', 'index.php'); ?>?logout=true"><img class="svg" src="<?php echo image_path('', 'actions/logout.svg'); ?>" /></a>
</div></header>
<nav><div id="navigation">
<ul id="apps" class="svg">
<?php foreach($_['navigation'] as $entry): ?>
<li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>><?php echo $entry['name']; ?></a>
- <?php if( sizeof( $entry["subnavigation"] )): ?>
- <ul>
- <?php foreach($entry["subnavigation"] as $subentry):?>
- <li class="subentry"><a style="background-image:url(<?php echo $subentry['icon']; ?>)" href="<?php echo $subentry['href']; ?>" title="" class="subentry<?php if( $subentry['active'] ): ?> active<?php endif; ?>"><?php echo $subentry['name'] ?></a></li>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
@@ -57,11 +50,6 @@
<div id="expanddiv">
<?php foreach($_['settingsnavigation'] as $entry):?>
<li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>><?php echo $entry['name'] ?></a></li>
- <?php if( sizeof( $entry["subnavigation"] )): ?>
- <?php foreach($entry["subnavigation"] as $subentry):?>
- <li><a href="<?php echo $subentry['href']; ?>" title="" <?php if( $subentry['active'] ): ?>class="active"<?php endif; ?>><?php echo $subentry['name'] ?></a></li>
- <?php endforeach; ?>
- <?php endif; ?>
<?php endforeach; ?>
</div>
</ul>