Commit bcbca368 authored by Fabian Franz's avatar Fabian Franz Committed by Franco Fichtner

whitespace cleanup

(cherry picked from commit 8028daee)
parent 52bc010f
...@@ -508,7 +508,7 @@ include("head.inc"); ...@@ -508,7 +508,7 @@ include("head.inc");
<input name="enableserial" type="checkbox" id="enableserial" value="yes" <?=!empty($pconfig['enableserial']) ? "checked=\"checked\"" : "";?> /> <input name="enableserial" type="checkbox" id="enableserial" value="yes" <?=!empty($pconfig['enableserial']) ? "checked=\"checked\"" : "";?> />
<strong><?=gettext("Enables the first serial port with 115200/8/N/1 by default, or another speed selectable below."); ?></strong> <strong><?=gettext("Enables the first serial port with 115200/8/N/1 by default, or another speed selectable below."); ?></strong>
<div class="hidden" for="help_for_enableserial"> <div class="hidden" for="help_for_enableserial">
<?=gettext("Note: This will redirect the console output and messages to the serial port. You can still access the console menu from the internal video card/keyboard. A <b>null modem</b> serial cable or adapter is required to use the serial console."); ?> <?=gettext("Note: This will redirect the console output and messages to the serial port. You can still access the console menu from the internal video card/keyboard. A null modem serial cable or adapter is required to use the serial console."); ?>
</div> </div>
</td> </td>
</tr> </tr>
......
...@@ -542,19 +542,19 @@ include("head.inc"); ...@@ -542,19 +542,19 @@ include("head.inc");
<table class="table table-condensed"> <table class="table table-condensed">
<tr> <tr>
<td><strong><?=gettext("normal");?></strong></td> <td><strong><?=gettext("normal");?></strong></td>
<td><?=gettext("as the name says, it is the normal optimization algorithm");?></td> <td><?=gettext("As the name says, it is the normal optimization algorithm");?></td>
</tr> </tr>
<tr> <tr>
<td><strong><?=gettext("high-latency");?></strong></td> <td><strong><?=gettext("high-latency");?></strong></td>
<td><?=gettext("used for high latency links, such as satellite links. Expires idle connections later than default");?></td> <td><?=gettext("Used for high latency links, such as satellite links. Expires idle connections later than default");?></td>
</tr> </tr>
<tr> <tr>
<td><strong><?=gettext("aggressive");?></strong></td> <td><strong><?=gettext("aggressive");?></strong></td>
<td><?=gettext("expires idle connections quicker. More efficient use of CPU and memory but can drop legitimate idle connections");?></td> <td><?=gettext("Expires idle connections quicker. More efficient use of CPU and memory but can drop legitimate idle connections");?></td>
</tr> </tr>
<tr> <tr>
<td><strong><?=gettext("conservative");?></strong></td> <td><strong><?=gettext("conservative");?></strong></td>
<td><?=gettext("tries to avoid dropping any legitimate idle connections at the expense of increased memory usage and CPU utilization.");?></td> <td><?=gettext("Tries to avoid dropping any legitimate idle connections at the expense of increased memory usage and CPU utilization.");?></td>
</tr> </tr>
</table> </table>
<hr/> <hr/>
......
...@@ -223,7 +223,7 @@ $( document ).ready(function() { ...@@ -223,7 +223,7 @@ $( document ).ready(function() {
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save"); ?>" /> <input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save"); ?>" />
<input type="button" class="btn btn-default" value="<?=gettext("Cancel");?>" onclick="window.location.href='<?=(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/system_advanced_sysctl.php');?>'" /> <input type="button" class="btn btn-default" value="<?=gettext("Cancel");?>" onclick="window.location.href='<?=(isset($_SERVER['HTTP_REFERER']) ? html_safe($_SERVER['HTTP_REFERER']) : '/system_advanced_sysctl.php');?>'" />
<?php <?php
if (isset($id)) :?> if (isset($id)) :?>
......
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