Commit 2a3bea4b authored by Franco Fichtner's avatar Franco Fichtner

vpn: unify layout

parent 4df4702d
...@@ -188,10 +188,11 @@ include("head.inc"); ...@@ -188,10 +188,11 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td></td> <td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Mode");?></td>
<td> <td>
<input name="mode" type="radio" value="off" <?=($pconfig['mode'] != 'server') ? 'checked="checked"' : '';?>/> <input name="mode" type="radio" value="off" <?=($pconfig['mode'] != 'server') ? 'checked="checked"' : '';?>/>
<?=gettext("Off"); ?> <br/> <?=gettext("Off"); ?>
&nbsp;
<input type="radio" name="mode" value="server" <?=$pconfig['mode'] == 'server' ? 'checked="checked"' : '';?>/> <input type="radio" name="mode" value="server" <?=$pconfig['mode'] == 'server' ? 'checked="checked"' : '';?>/>
<?=gettext("Enable L2TP server"); ?></td> <?=gettext("Enable L2TP server"); ?></td>
</td> </td>
......
...@@ -279,10 +279,10 @@ legacy_html_escape_form_data($pconfig); ...@@ -279,10 +279,10 @@ legacy_html_escape_form_data($pconfig);
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Mode");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Mode");?></td>
<td> <td>
<input name="mode" type="radio" value="off" <?=$pconfig['mode'] != "server" ? "checked=\"checked\"" : "";?> /> <input name="mode" type="radio" value="off" <?=$pconfig['mode'] != 'server' ? 'checked="checked"' : '';?> />
<?=gettext("Off"); ?> <?=gettext("Off"); ?>
&nbsp; &nbsp;
<input type="radio" name="mode" value="server" <?=$pconfig['mode'] == "server" ? "checked=\"checked\"" : "";?>/> <input type="radio" name="mode" value="server" <?=$pconfig['mode'] == 'server' ? 'checked="checked"' : '';?>/>
<?=gettext("Enable PPPoE server"); ?></td> <?=gettext("Enable PPPoE server"); ?></td>
</td> </td>
</tr> </tr>
......
...@@ -218,10 +218,11 @@ include("head.inc"); ...@@ -218,10 +218,11 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td></td> <td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Mode");?></td>
<td> <td>
<input name="mode" type="radio" value="off" <?=($pconfig['mode'] != 'server') ? 'checked="checked"' : '';?>/> <input name="mode" type="radio" value="off" <?=($pconfig['mode'] != 'server') ? 'checked="checked"' : '';?>/>
<?=gettext("Off"); ?><br/> <?=gettext("Off"); ?>
&nbsp;
<input type="radio" name="mode" value="server" <?=($pconfig['mode'] == 'server') ? 'checked="checked"' : '';?>/> <input type="radio" name="mode" value="server" <?=($pconfig['mode'] == 'server') ? 'checked="checked"' : '';?>/>
<?=gettext("Enable PPTP server"); ?> <?=gettext("Enable PPTP server"); ?>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment