diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-01-23 00:02:59 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-01-23 00:03:48 +0000 |
commit | 8f3f7729dca3cb734bc9d06a53953a07d6fca0c1 (patch) | |
tree | 00390b2c3a1fada10667b3184263e44168428749 /usr | |
parent | 9cb45abb050c27935a2f70e9ba18c8766c9a07a0 (diff) | |
download | pfsense-8f3f7729dca3cb734bc9d06a53953a07d6fca0c1.zip pfsense-8f3f7729dca3cb734bc9d06a53953a07d6fca0c1.tar.gz |
Use backslash(\) for escaping and not slash(/).
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/interfaces_ppp_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_ppp_edit.php b/usr/local/www/interfaces_ppp_edit.php index 680f3f8..fc56965 100644 --- a/usr/local/www/interfaces_ppp_edit.php +++ b/usr/local/www/interfaces_ppp_edit.php @@ -132,21 +132,21 @@ include("head.inc"); </script> <script type="text/javascript"> function prefill_att() { - $('dialcmd').value = '"ABORT BUSY ABORT NO/\/\sCARRIER TIMEOUT 5 /\/\"\" AT OK-AT-OK ATQ0V1E1S0=0&C1&D2+FCLASS=0 OK \AT+CGDCONT=1,\\\"IP\\\",\\\"ISP.CINGULAR\\\" OK \\dATDT\\T \TIMEOUT 40 CONNECT"'; + $('dialcmd').value = '"ABORT BUSY ABORT NO\\\\sCARRIER TIMEOUT 5 \\"\\" AT OK-AT-OK ATQ0V1E1S0=0&C1&D2+FCLASS=0 OK \AT+CGDCONT=1,\\\"IP\\\",\\\"ISP.CINGULAR\\\" OK \\dATDT\\T \TIMEOUT 40 CONNECT"'; $('phone').value = "*99#"; $('username').value = "att"; $('password').value = "att"; $('linespeed').value = "921600"; } function prefill_sprint() { - $('dialcmd').value = '"ABORT BUSY ABORT NO/\/\sCARRIER TIMEOUT 5 /\/\"\" AT OK-AT-OK ATE1Q0 OK /\/\dATDT/\/\T TIMEOUT 40 CONNECT"'; + $('dialcmd').value = '"ABORT BUSY ABORT NO\\\\sCARRIER TIMEOUT 5 \\"\\" AT OK-AT-OK ATE1Q0 OK \\\\dATDT\\\\T TIMEOUT 40 CONNECT"'; $('phone').value = "#777"; $('username').value = "sprint"; $('password').value = "sprint"; $('linespeed').value = "921600"; } function prefill_vzw() { - $('dialcmd').value = '"ABORT BUSY ABORT NO/\/\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0s7=60 OK /\/\dATDT/\/\T TIMEOUT 40 CONNECT"'; + $('dialcmd').value = '"ABORT BUSY ABORT NO\\\\sCARRIER TIMEOUT 5 \\"\\" AT OK-AT-OK ATE1Q0s7=60 OK \\\\dATDT\\\\T TIMEOUT 40 CONNECT"'; $('phone').value = "#777"; $('username').value = "123@vzw3g.com"; $('password').value = "vzw"; |