diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-06-14 13:08:58 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-06-14 13:08:58 +0200 |
commit | 01de7b8b9e9227503390aff0d9eea1b6151c8453 (patch) | |
tree | 617cb1537bd9ea21ac8ec87ec3ff32a7a27684bf /settings | |
parent | db9ac135743ed0a5620a1f3a69249bf96607d91c (diff) | |
parent | dc2212cd46d94be5af7011343be68a595a6bdcbf (diff) | |
download | nextcloud-server-01de7b8b9e9227503390aff0d9eea1b6151c8453.tar.gz nextcloud-server-01de7b8b9e9227503390aff0d9eea1b6151c8453.zip |
Merge pull request #9028 from owncloud/table-to-paragraph-layout-for-https
migrate table layout to paragraph layout for HTTPS setting
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/admin.php | 54 |
1 files changed, 25 insertions, 29 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 1db89eee17e..5a00320313b 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 class="section"><form id="mail_settings"> |