summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-04 18:35:46 +0300
committerMorris Jobke <morris.jobke@gmail.com>2013-10-05 11:23:49 +0200
commit2b521327c03974a7a45ebef2ce377346bdf9484d (patch)
treedde215939efad71bdd4889af2a7cc4c6ceea9879 /settings/templates/personal.php
parentcc1e69c1902a9cf6c6c68cdaa3f1eead09ca7a5c (diff)
downloadnextcloud-server-2b521327c03974a7a45ebef2ce377346bdf9484d.tar.gz
nextcloud-server-2b521327c03974a7a45ebef2ce377346bdf9484d.zip
more elegant style for Personal and Admin settings
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index d2ca8154f16..47227d6ea0f 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -36,7 +36,7 @@ if($_['passwordChangeSupported']) {
?>
<form id="passwordform">
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Password'));?></strong></legend>
+ <h2><?php p($l->t('Password'));?></h2>
<div id="passwordchanged"><?php echo $l->t('Your password was changed');?></div>
<div id="passworderror"><?php echo $l->t('Unable to change your password');?></div>
<input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t('Current password');?>" />
@@ -55,7 +55,7 @@ if($_['displayNameChangeSupported']) {
?>
<form id="displaynameform">
<fieldset class="personalblock">
- <legend><strong><?php echo $l->t('Display Name');?></strong></legend>
+ <h2><?php echo $l->t('Display Name');?></h2>
<input type="text" id="displayName" name="displayName" value="<?php p($_['displayName'])?>" />
<span class="msg"></span>
<input type="hidden" id="oldDisplayName" name="oldDisplayName" value="<?php p($_['displayName'])?>" />
@@ -70,7 +70,7 @@ if($_['passwordChangeSupported']) {
?>
<form id="lostpassword">
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Email'));?></strong></legend>
+ <h2><?php p($l->t('Email'));?></h2>
<input type="text" name="email" id="email" value="<?php p($_['email']); ?>"
placeholder="<?php p($l->t('Your email address'));?>" /><span class="msg"></span><br />
<em><?php p($l->t('Fill in an email address to enable password recovery'));?></em>
@@ -83,7 +83,7 @@ if($_['passwordChangeSupported']) {
<?php if ($_['enableAvatars']): ?>
<form id="avatar" method="post" action="<?php p(\OC_Helper::linkToRoute('core_avatar_post')); ?>">
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Profile picture')); ?></strong></legend>
+ <h2><?php p($l->t('Profile picture')); ?></h2>
<div id="displayavatar">
<div class="avatardiv"></div><br>
<div class="warning hidden"></div>
@@ -103,7 +103,7 @@ if($_['passwordChangeSupported']) {
<form>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Language'));?></strong></legend>
+ <h2><?php p($l->t('Language'));?></h2>
<select id="languageinput" class="chzen-select" name="lang" data-placeholder="<?php p($l->t('Language'));?>">
<option value="<?php p($_['activelanguage']['code']);?>"><?php p($_['activelanguage']['name']);?></option>
<?php foreach($_['commonlanguages'] as $language):?>
@@ -122,7 +122,7 @@ if($_['passwordChangeSupported']) {
</form>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('WebDAV'));?></strong></legend>
+ <h2><?php p($l->t('WebDAV'));?></h2>
<code><?php print_unescaped(OC_Helper::linkToRemote('webdav')); ?></code><br />
<em><?php print_unescaped($l->t('Use this address to <a href="%s/server/5.0/user_manual/files/files.html" target="_blank">access your Files via WebDAV</a>', array($theme->getDocBaseUrl())));?></em>
</fieldset>
@@ -134,9 +134,9 @@ if($_['passwordChangeSupported']) {
<?php if($_['enableDecryptAll']): ?>
<form id="decryptAll">
<fieldset class="personalblock">
- <legend>
+ <h2>
<?php p( $l->t( 'Encryption' ) ); ?>
- </legend>
+ </h2>
<?php p($l->t( "The encryption app is no longer enabled, decrypt all your file" )); ?>
<p>
<input
@@ -158,7 +158,7 @@ if($_['passwordChangeSupported']) {
<?php endif; ?>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Version'));?></strong></legend>
+ <h2><?php p($l->t('Version'));?></h2>
<strong><?php p($theme->getName()); ?></strong> <?php p(OC_Util::getVersionString()); ?><br/>
<?php if (OC_Util::getEditionString() === ''): ?>
<?php print_unescaped($l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.')); ?>