Revision 8cd558b6
Added by ayvis over 11 years ago
usr/local/www/interfaces_ppps_edit.php | ||
---|---|---|
427 | 427 |
<option></option> |
428 | 428 |
</select> |
429 | 429 |
|
430 |
<br/><span class="vexpl"><?= gettext("Select at least two interfaces for Multilink (MLPPP) connections."); ?></span> |
|
430 |
<br /><span class="vexpl"><?= gettext("Select at least two interfaces for Multilink (MLPPP) connections."); ?></span>
|
|
431 | 431 |
</td> |
432 | 432 |
</tr> |
433 | 433 |
<tr style="display:none" name="portlists" id="portlists"> |
... | ... | |
475 | 475 |
<td width="22%" valign="top" class="vncell"><?= gettext("Description"); ?></td> |
476 | 476 |
<td width="78%" class="vtable"> |
477 | 477 |
<input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>" /> |
478 |
<br/> <span class="vexpl"><?= gettext("You may enter a description here for your reference. Description will appear in the \"Interfaces Assign\" select lists."); ?></span> |
|
478 |
<br /> <span class="vexpl"><?= gettext("You may enter a description here for your reference. Description will appear in the \"Interfaces Assign\" select lists."); ?></span>
|
|
479 | 479 |
</td> |
480 | 480 |
</tr> |
481 | 481 |
<tr style="display:none" name="select" id="select"><td style="display:none"></td></tr> |
... | ... | |
509 | 509 |
</td> |
510 | 510 |
</tr> |
511 | 511 |
</table> |
512 |
<br/><span class="vexpl"><?= gettext("Select to fill in data for your service provider."); ?></span> |
|
512 |
<br /><span class="vexpl"><?= gettext("Select to fill in data for your service provider."); ?></span>
|
|
513 | 513 |
</td> |
514 | 514 |
</tr> |
515 | 515 |
<tr> |
... | ... | |
529 | 529 |
<td width="22%" valign="top" class="vncell"><?= gettext("Phone Number"); ?></td> |
530 | 530 |
<td width="78%" class="vtable"> |
531 | 531 |
<input name="phone" type="text" class="formfld unknown" id="phone" size="40" value="<?=htmlspecialchars($pconfig['phone']);?>" /> |
532 |
<br/><span class="vexpl"><?= gettext("Note: Typically *99# for GSM networks and #777 for CDMA networks"); ?></span> |
|
532 |
<br /><span class="vexpl"><?= gettext("Note: Typically *99# for GSM networks and #777 for CDMA networks"); ?></span>
|
|
533 | 533 |
</td> |
534 | 534 |
</tr> |
535 | 535 |
<tr style="display:none" name="apn_" id="apn_"> |
... | ... | |
546 | 546 |
<td width="22%" valign="top" class="vncell"><?= gettext("APN number (optional)"); ?></td> |
547 | 547 |
<td width="78%" class="vtable"> |
548 | 548 |
<input name="apnum" type="text" class="formfld unknown" id="apnum" size="2" value="<?=htmlspecialchars($pconfig['apnum']);?>" /> |
549 |
<br/><span class="vexpl"><?= gettext("Note: Defaults to 1 if you set APN above. Ignored if you set no APN above."); ?></span> |
|
549 |
<br /><span class="vexpl"><?= gettext("Note: Defaults to 1 if you set APN above. Ignored if you set no APN above."); ?></span>
|
|
550 | 550 |
</td> |
551 | 551 |
</tr> |
552 | 552 |
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> |
... | ... | |
560 | 560 |
<td width="22%" valign="top" class="vncell"><?= gettext("SIM PIN wait"); ?></td> |
561 | 561 |
<td width="78%" class="vtable"> |
562 | 562 |
<input name="pin-wait" type="text" class="formfld unknown" id="pin-wait" size="2" value="<?=htmlspecialchars($pconfig['pin-wait']);?>" /> |
563 |
<br/><span class="vexpl"><?= gettext("Note: Time to wait for SIM to discover network after PIN is sent to SIM (seconds)."); ?></span> |
|
563 |
<br /><span class="vexpl"><?= gettext("Note: Time to wait for SIM to discover network after PIN is sent to SIM (seconds)."); ?></span>
|
|
564 | 564 |
</td> |
565 | 565 |
</tr> |
566 | 566 |
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> |
567 | 567 |
<td width="22%" valign="top" class="vncell"><?= gettext("Init String"); ?></td> |
568 | 568 |
<td width="78%" class="vtable"> |
569 | 569 |
<input type="text" size="40" class="formfld unknown" id="initstr" name="initstr" value="<?=htmlspecialchars($pconfig['initstr']);?>" /> |
570 |
<br/><span class="vexpl"><?= gettext("Note: Enter the modem initialization string here. Do NOT include the \"AT\"" . |
|
570 |
<br /><span class="vexpl"><?= gettext("Note: Enter the modem initialization string here. Do NOT include the \"AT\"" .
|
|
571 | 571 |
" string at the beginning of the command. Many modern USB 3G modems don't need an initialization string."); ?></span> |
572 | 572 |
</td> |
573 | 573 |
</tr> |
... | ... | |
575 | 575 |
<td width="22%" valign="top" class="vncell"><?= gettext("Connection Timeout"); ?></td> |
576 | 576 |
<td width="78%" class="vtable"> |
577 | 577 |
<input name="connect-timeout" type="text" class="formfld unknown" id="connect-timeout" size="2" value="<?=htmlspecialchars($pconfig['connect-timeout']);?>" /> |
578 |
<br/><span class="vexpl"><?= gettext("Note: Enter timeout in seconds for connection to be established (sec.) Default is 45 sec."); ?></span> |
|
578 |
<br /><span class="vexpl"><?= gettext("Note: Enter timeout in seconds for connection to be established (sec.) Default is 45 sec."); ?></span>
|
|
579 | 579 |
</td> |
580 | 580 |
</tr> |
581 | 581 |
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> |
582 | 582 |
<td valign="top" class="vncell"><?= gettext("Uptime Logging"); ?></td> |
583 | 583 |
<td class="vtable"> |
584 | 584 |
<input type="checkbox" value="on" id="uptime" name="uptime" <?php if (isset($pconfig['uptime'])) echo "checked=\"checked\""; ?> /> <?= gettext("Enable persistent logging of connection uptime."); ?> |
585 |
<br/> <span class="vexpl"><?= gettext("This option causes cumulative uptime to be recorded and displayed on the Status Interfaces page."); ?></span> |
|
585 |
<br /> <span class="vexpl"><?= gettext("This option causes cumulative uptime to be recorded and displayed on the Status Interfaces page."); ?></span>
|
|
586 | 586 |
</td> |
587 | 587 |
</tr> |
588 | 588 |
</table> |
... | ... | |
595 | 595 |
<td width="22%" valign="top" class="vncell"><?= gettext("Service name"); ?></td> |
596 | 596 |
<td width="78%" class="vtable"><input name="provider" type="text" class="formfld unknown" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>" /> |
597 | 597 |
<input type="checkbox" value="on" id="null_service" name="null_service" <?php if (isset($pconfig['null_service'])) echo "checked=\"checked\""; ?> /> <?= gettext("Configure a NULL Service name"); ?> |
598 |
<br/> <span class="vexpl"><?= gettext("Hint: this field can usually be left empty. Service name will not be configured if this field is empty. Check the \"Configure NULL\" box to configure a blank Service name."); ?></span> |
|
598 |
<br /> <span class="vexpl"><?= gettext("Hint: this field can usually be left empty. Service name will not be configured if this field is empty. Check the \"Configure NULL\" box to configure a blank Service name."); ?></span>
|
|
599 | 599 |
</td> |
600 | 600 |
</tr> |
601 | 601 |
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> |
... | ... | |
684 | 684 |
<td valign="top" class="vncell"><?= gettext("Dial On Demand"); ?></td> |
685 | 685 |
<td class="vtable"> |
686 | 686 |
<input type="checkbox" value="on" id="ondemand" name="ondemand" <?php if (isset($pconfig['ondemand'])) echo "checked=\"checked\""; ?> /> <?= gettext("Enable Dial-on-Demand mode"); ?> |
687 |
<br/> <span class="vexpl"><?= gettext("This option causes the interface to operate in dial-on-demand mode. Do NOT enable if you want your link to be always up. " . |
|
687 |
<br /> <span class="vexpl"><?= gettext("This option causes the interface to operate in dial-on-demand mode. Do NOT enable if you want your link to be always up. " .
|
|
688 | 688 |
"The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected."); ?> </span> |
689 | 689 |
</td> |
690 | 690 |
</tr> |
... | ... | |
692 | 692 |
<td valign="top" class="vncell"><?= gettext("Idle Timeout"); ?></td> |
693 | 693 |
<td class="vtable"> |
694 | 694 |
<input name="idletimeout" type="text" class="formfld unknown" id="idletimeout" size="12" value="<?=htmlspecialchars($pconfig['idletimeout']);?>" /> <?= gettext("(seconds) Default is 0, which disables the timeout feature."); ?> |
695 |
<br/> <span class="vexpl"><?= gettext("If no incoming or outgoing packets are transmitted for the entered number of seconds the connection is brought down.");?> |
|
696 |
<br/><?=gettext("When the idle timeout occurs, if the dial-on-demand option is enabled, mpd goes back into dial-on-demand mode. Otherwise, the interface is brought down and all associated routes removed."); ?></span> |
|
695 |
<br /> <span class="vexpl"><?= gettext("If no incoming or outgoing packets are transmitted for the entered number of seconds the connection is brought down.");?>
|
|
696 |
<br /><?=gettext("When the idle timeout occurs, if the dial-on-demand option is enabled, mpd goes back into dial-on-demand mode. Otherwise, the interface is brought down and all associated routes removed."); ?></span>
|
|
697 | 697 |
</td> |
698 | 698 |
</tr> |
699 | 699 |
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> |
700 | 700 |
<td width="22%" valign="top" class="vncell"><?= gettext("Compression"); ?></td> |
701 | 701 |
<td width="78%" class="vtable"> |
702 | 702 |
<input type="checkbox" value="on" id="vjcomp" name="vjcomp" <?php if (isset($pconfig['vjcomp'])) echo "checked=\"checked\""; ?> /> <?= gettext("Disable vjcomp(compression) (auto-negotiated by default)."); ?> |
703 |
<br/> <span class="vexpl"><?=gettext("This option enables Van Jacobson TCP header compression, which saves several bytes per TCP data packet. " . |
|
703 |
<br /> <span class="vexpl"><?=gettext("This option enables Van Jacobson TCP header compression, which saves several bytes per TCP data packet. " .
|
|
704 | 704 |
"You almost always want this option. This compression ineffective for TCP connections with enabled modern extensions like time " . |
705 | 705 |
"stamping or SACK, which modify TCP options between sequential packets.");?></span> |
706 | 706 |
</td> |
... | ... | |
709 | 709 |
<td width="22%" valign="top" class="vncell"><?= gettext("TCPmssFix"); ?></td> |
710 | 710 |
<td width="78%" class="vtable"> |
711 | 711 |
<input type="checkbox" value="on" id="tcpmssfix" name="tcpmssfix" <?php if (isset($pconfig['tcpmssfix'])) echo "checked=\"checked\""; ?> /> <?= gettext("Disable tcpmssfix (enabled by default)."); ?> |
712 |
<br/> <span class="vexpl"><?=gettext("This option causes mpd to adjust incoming and outgoing TCP SYN segments so that the requested maximum segment size is not greater than the amount ". |
|
712 |
<br /> <span class="vexpl"><?=gettext("This option causes mpd to adjust incoming and outgoing TCP SYN segments so that the requested maximum segment size is not greater than the amount ".
|
|
713 | 713 |
"allowed by the interface MTU. This is necessary in many setups to avoid problems caused by routers that drop ICMP Datagram Too Big messages. Without these messages, ". |
714 | 714 |
"the originating machine sends data, it passes the rogue router then hits a machine that has an MTU that is not big enough for the data. Because the IP Don't Fragment option is set, ". |
715 | 715 |
"this machine sends an ICMP Datagram Too Big message back to the originator and drops the packet. The rogue router drops the ICMP message and the originator never ". |
... | ... | |
720 | 720 |
<td width="22%" valign="top" class="vncell"><?=gettext("ShortSeq");?></td> |
721 | 721 |
<td width="78%" class="vtable"> |
722 | 722 |
<input type="checkbox" value="on" id="shortseq" name="shortseq" <?php if (isset($pconfig['shortseq'])) echo "checked=\"checked\""; ?> /> <?= gettext("Disable shortseq (auto-negotiated by default)."); ?> |
723 |
<br/> <span class="vexpl"><?= gettext("This option is only meaningful if multi-link PPP is negotiated. It proscribes shorter multi-link fragment headers, saving two bytes on every frame. " . |
|
723 |
<br /> <span class="vexpl"><?= gettext("This option is only meaningful if multi-link PPP is negotiated. It proscribes shorter multi-link fragment headers, saving two bytes on every frame. " .
|
|
724 | 724 |
"It is not necessary to disable this for connections that are not multi-link."); ?></span> |
725 | 725 |
</td> |
726 | 726 |
</tr> |
... | ... | |
728 | 728 |
<td width="22%" valign="top" class="vncell"><?=gettext("ACFComp"); ?></td> |
729 | 729 |
<td width="78%" class="vtable"> |
730 | 730 |
<input type="checkbox" value="on" id="acfcomp" name="acfcomp" <?php if (isset($pconfig['acfcomp'])) echo "checked=\"checked\""; ?> /> <?= gettext("Disable acfcomp (compression) (auto-negotiated by default)."); ?> |
731 |
<br/> <span class="vexpl"><?= gettext("Address and control field compression. This option only applies to asynchronous link types. It saves two bytes per frame."); ?></span> |
|
731 |
<br /> <span class="vexpl"><?= gettext("Address and control field compression. This option only applies to asynchronous link types. It saves two bytes per frame."); ?></span>
|
|
732 | 732 |
</td> |
733 | 733 |
</tr> |
734 | 734 |
<tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> |
735 | 735 |
<td width="22%" valign="top" class="vncell"><?=gettext("ProtoComp"); ?></td> |
736 | 736 |
<td width="78%" class="vtable"> |
737 | 737 |
<input type="checkbox" value="on" id="protocomp" name="protocomp" <?php if (isset($pconfig['protocomp'])) echo "checked=\"checked\""; ?> /> <?= gettext("Disable protocomp (compression) (auto-negotiated by default)."); ?> |
738 |
<br/> <span class="vexpl"><?= gettext("Protocol field compression. This option saves one byte per frame for most frames."); ?></span> |
|
738 |
<br /> <span class="vexpl"><?= gettext("Protocol field compression. This option saves one byte per frame for most frames."); ?></span>
|
|
739 | 739 |
</td> |
740 | 740 |
</tr> |
741 | 741 |
<tr id="advanced_" name="advanced_"> |
... | ... | |
754 | 754 |
<tr> |
755 | 755 |
<td width="22%" id="bwlabel<?=$i;?>" valign="top"class="vncell"> <?=gettext("Bandwidth");?></td> |
756 | 756 |
<td width="78%" class="vtable"> |
757 |
<br/><input name="bandwidth[]" id="bandwidth<?=$i;?>" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['bandwidth'][$i]);?>" /> |
|
758 |
<br/> <span class="vexpl"><?=gettext("Set ONLY for MLPPP connections and ONLY when links have different bandwidths.");?></span> |
|
757 |
<br /><input name="bandwidth[]" id="bandwidth<?=$i;?>" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['bandwidth'][$i]);?>" />
|
|
758 |
<br /> <span class="vexpl"><?=gettext("Set ONLY for MLPPP connections and ONLY when links have different bandwidths.");?></span>
|
|
759 | 759 |
</td> |
760 | 760 |
</tr> |
761 | 761 |
<tr> |
762 | 762 |
<td width="22%" id="mtulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MTU"); ?></td> |
763 | 763 |
<td width="78%" class="vtable"> |
764 | 764 |
<input name="mtu[]" id="mtu<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mtu'][$i]);?>" /> |
765 |
<br/> <span class="vexpl"><?=gettext("MTU will default to 1492.");?></span> |
|
765 |
<br /> <span class="vexpl"><?=gettext("MTU will default to 1492.");?></span>
|
|
766 | 766 |
</td> |
767 | 767 |
</tr> |
768 | 768 |
<tr> |
769 | 769 |
<td width="22%" id="mrulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MRU"); ?></td> |
770 | 770 |
<td width="78%" class="vtable"> |
771 | 771 |
<input name="mru[]" id="mru<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mru'][$i]);?>" /> |
772 |
<br/> <span class="vexpl">MRU <?=gettext("will be auto-negotiated by default.");?></span> |
|
772 |
<br /> <span class="vexpl">MRU <?=gettext("will be auto-negotiated by default.");?></span>
|
|
773 | 773 |
</td> |
774 | 774 |
</tr> |
775 | 775 |
<tr> |
776 | 776 |
<td width="22%" id="mrrulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MRRU"); ?></td> |
777 | 777 |
<td width="78%" class="vtable"> |
778 | 778 |
<input name="mrru[]" id="mrru<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mrru'][$i]);?>" /> |
779 |
<br/> <span class="vexpl"><?=gettext("Set ONLY for MLPPP connections.");?> MRRU <?=gettext("will be auto-negotiated by default.");?></span> |
|
779 |
<br /> <span class="vexpl"><?=gettext("Set ONLY for MLPPP connections.");?> MRRU <?=gettext("will be auto-negotiated by default.");?></span>
|
|
780 | 780 |
</td> |
781 | 781 |
</tr> |
782 | 782 |
</table> |
Also available in: Unified diff
xhtml Compliance
replaced <br>, <br/> and </br> with <br />