[Pkg-owncloud-commits] [owncloud] 93/223: migrate table layout to paragraph layout for HTTPS setting
David Prévot
taffit at moszumanska.debian.org
Sun Jun 22 01:54:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit dc2212cd46d94be5af7011343be68a595a6bdcbf
Author: Morris Jobke <hey at morrisjobke.de>
Date: Fri Jun 13 16:54:47 2014 +0200
migrate table layout to paragraph layout for HTTPS setting
---
settings/templates/admin.php | 54 ++++++++++++++++++++------------------------
1 file changed, 25 insertions(+), 29 deletions(-)
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index ce33a80..2edb458 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -313,35 +313,31 @@ if (!$_['internetconnectionworking']) {
<div class="section" id="security">
<h2><?php p($l->t('Security'));?></h2>
- <table>
- <tr>
- <td id="enable">
- <input type="checkbox" name="forcessl" id="forcessl"
- <?php if ($_['enforceHTTPSEnabled']) {
- print_unescaped('checked="checked" ');
- print_unescaped('value="false"');
- } else {
- print_unescaped('value="true"');
- }
- ?>
- <?php if (!$_['isConnectedViaHTTPS']) p('disabled'); ?> />
- <label for="forcessl"><?php p($l->t('Enforce HTTPS'));?></label><br/>
- <em><?php p($l->t(
- 'Forces the clients to connect to %s via an encrypted connection.',
- $theme->getName()
- )); ?></em>
- <?php if (!$_['isConnectedViaHTTPS']) {
- print_unescaped("<br/><em>");
- p($l->t(
- 'Please connect to your %s via HTTPS to enable or disable the SSL enforcement.',
- $theme->getName()
- ));
- print_unescaped("</em>");
- }
- ?>
- </td>
- </tr>
- </table>
+ <p>
+ <input type="checkbox" name="forcessl" id="forcessl"
+ <?php if ($_['enforceHTTPSEnabled']) {
+ print_unescaped('checked="checked" ');
+ print_unescaped('value="false"');
+ } else {
+ print_unescaped('value="true"');
+ }
+ ?>
+ <?php if (!$_['isConnectedViaHTTPS']) p('disabled'); ?> />
+ <label for="forcessl"><?php p($l->t('Enforce HTTPS'));?></label><br/>
+ <em><?php p($l->t(
+ 'Forces the clients to connect to %s via an encrypted connection.',
+ $theme->getName()
+ )); ?></em>
+ <?php if (!$_['isConnectedViaHTTPS']) {
+ print_unescaped("<br/><em>");
+ p($l->t(
+ 'Please connect to your %s via HTTPS to enable or disable the SSL enforcement.',
+ $theme->getName()
+ ));
+ print_unescaped("</em>");
+ }
+ ?>
+ </p>
</div>
<div id="mail_settings" class="section">
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list