Merge pull request #9028 from owncloud/table-to-paragraph-layout-for-https
migrate table layout to paragraph layout for HTTPS setting
This commit is contained in:
commit
01de7b8b9e
|
@ -313,35 +313,31 @@ if (!$_['internetconnectionworking']) {
|
||||||
|
|
||||||
<div class="section" id="security">
|
<div class="section" id="security">
|
||||||
<h2><?php p($l->t('Security'));?></h2>
|
<h2><?php p($l->t('Security'));?></h2>
|
||||||
<table>
|
<p>
|
||||||
<tr>
|
<input type="checkbox" name="forcessl" id="forcessl"
|
||||||
<td id="enable">
|
<?php if ($_['enforceHTTPSEnabled']) {
|
||||||
<input type="checkbox" name="forcessl" id="forcessl"
|
print_unescaped('checked="checked" ');
|
||||||
<?php if ($_['enforceHTTPSEnabled']) {
|
print_unescaped('value="false"');
|
||||||
print_unescaped('checked="checked" ');
|
} else {
|
||||||
print_unescaped('value="false"');
|
print_unescaped('value="true"');
|
||||||
} else {
|
}
|
||||||
print_unescaped('value="true"');
|
?>
|
||||||
}
|
<?php if (!$_['isConnectedViaHTTPS']) p('disabled'); ?> />
|
||||||
?>
|
<label for="forcessl"><?php p($l->t('Enforce HTTPS'));?></label><br/>
|
||||||
<?php if (!$_['isConnectedViaHTTPS']) p('disabled'); ?> />
|
<em><?php p($l->t(
|
||||||
<label for="forcessl"><?php p($l->t('Enforce HTTPS'));?></label><br/>
|
'Forces the clients to connect to %s via an encrypted connection.',
|
||||||
<em><?php p($l->t(
|
$theme->getName()
|
||||||
'Forces the clients to connect to %s via an encrypted connection.',
|
)); ?></em>
|
||||||
$theme->getName()
|
<?php if (!$_['isConnectedViaHTTPS']) {
|
||||||
)); ?></em>
|
print_unescaped("<br/><em>");
|
||||||
<?php if (!$_['isConnectedViaHTTPS']) {
|
p($l->t(
|
||||||
print_unescaped("<br/><em>");
|
'Please connect to your %s via HTTPS to enable or disable the SSL enforcement.',
|
||||||
p($l->t(
|
$theme->getName()
|
||||||
'Please connect to your %s via HTTPS to enable or disable the SSL enforcement.',
|
));
|
||||||
$theme->getName()
|
print_unescaped("</em>");
|
||||||
));
|
}
|
||||||
print_unescaped("</em>");
|
?>
|
||||||
}
|
</p>
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section"><form id="mail_settings">
|
<div class="section"><form id="mail_settings">
|
||||||
|
|
Loading…
Reference in New Issue