]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #9028 from owncloud/table-to-paragraph-layout-for-https
authorLukas Reschke <lukas@statuscode.ch>
Sat, 14 Jun 2014 11:08:58 +0000 (13:08 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 14 Jun 2014 11:08:58 +0000 (13:08 +0200)
migrate table layout to paragraph layout for HTTPS setting

1  2 
settings/templates/admin.php

index 1db89eee17ec154e086086805c5fea565d56c121,2edb45847e7fbc8823b41ccdc7cdbd10a666f878..5a00320313b2b706f26c9cc7723c378cd3069d88
@@@ -313,38 -313,34 +313,34 @@@ 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">
 +<div class="section"><form id="mail_settings">
        <h2><?php p($l->t('Email Server'));?></h2>
  
        <p><?php p($l->t('This is used for sending out notifications.')); ?> <span id="mail_settings_msg" class="msg"></span></p>