Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-04 19:35:46 +0400
committerMorris Jobke <morris.jobke@gmail.com>2013-10-05 13:23:49 +0400
commit2b521327c03974a7a45ebef2ce377346bdf9484d (patch)
treedde215939efad71bdd4889af2a7cc4c6ceea9879 /settings
parentcc1e69c1902a9cf6c6c68cdaa3f1eead09ca7a5c (diff)
more elegant style for Personal and Admin settings
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php20
-rw-r--r--settings/templates/personal.php18
2 files changed, 19 insertions, 19 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 72e93e78dac..6450cd62d95 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -12,7 +12,7 @@ $levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal');
if (!$_['htaccessworking']) {
?>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Security Warning'));?></strong></legend>
+ <h2><?php p($l->t('Security Warning'));?></h2>
<span class="securitywarning">
<?php p($l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.')); ?>
@@ -26,7 +26,7 @@ if (!$_['htaccessworking']) {
if (!$_['isWebDavWorking']) {
?>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Setup Warning'));?></strong></legend>
+ <h2><?php p($l->t('Setup Warning'));?></h2>
<span class="securitywarning">
<?php p($l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.')); ?>
@@ -41,7 +41,7 @@ if (!$_['isWebDavWorking']) {
if (!$_['has_fileinfo']) {
?>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Module \'fileinfo\' missing'));?></strong></legend>
+ <h2><?php p($l->t('Module \'fileinfo\' missing'));?></h2>
<span class="connectionwarning">
<?php p($l->t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.')); ?>
@@ -55,7 +55,7 @@ if (!$_['has_fileinfo']) {
if (!$_['islocaleworking']) {
?>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Locale not working'));?></strong></legend>
+ <h2><?php p($l->t('Locale not working'));?></h2>
<span class="connectionwarning">
<?php
@@ -72,7 +72,7 @@ if (!$_['islocaleworking']) {
if (!$_['internetconnectionworking']) {
?>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Internet connection not working'));?></strong></legend>
+ <h2><?php p($l->t('Internet connection not working'));?></h2>
<span class="connectionwarning">
<?php p($l->t('This server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps donĀ“t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features.')); ?>
@@ -89,7 +89,7 @@ if (!$_['internetconnectionworking']) {
;?>
<fieldset class="personalblock" id="backgroundjobs">
- <legend><strong><?php p($l->t('Cron'));?></strong></legend>
+ <h2><?php p($l->t('Cron'));?></h2>
<p>
<input type="radio" name="mode" value="ajax"
id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") {
@@ -117,7 +117,7 @@ if (!$_['internetconnectionworking']) {
</fieldset>
<fieldset class="personalblock" id="shareAPI">
- <legend><strong><?php p($l->t('Sharing'));?></strong></legend>
+ <h2><?php p($l->t('Sharing'));?></h2>
<table class="shareAPI nostyle">
<tr>
<td id="enable">
@@ -175,7 +175,7 @@ if (!$_['internetconnectionworking']) {
</fieldset>
<fieldset class="personalblock" id="security">
- <legend><strong><?php p($l->t('Security'));?></strong></legend>
+ <h2><?php p($l->t('Security'));?></h2>
<table class="nostyle">
<tr>
<td id="enable">
@@ -208,7 +208,7 @@ if (!$_['internetconnectionworking']) {
</fieldset>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Log'));?></strong></legend>
+ <h2><?php p($l->t('Log'));?></h2>
<?php p($l->t('Log level'));?> <select name='loglevel' id='loglevel'>
<option value='<?php p($_['loglevel'])?>'><?php p($levels[$_['loglevel']])?></option>
<?php for ($i = 0; $i < 5; $i++):
@@ -247,7 +247,7 @@ endfor;?>
</fieldset>
<fieldset class="personalblock">
- <legend><strong><?php p($l->t('Version'));?></strong></legend>
+ <h2><?php p($l->t('Version'));?></h2>
<strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getVersionString()); ?>
<?php if (OC_Util::getEditionString() === ''): ?>
<p>
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>.')); ?>