{14} Possible Spam (13 matches)

Ticket Newvalue
#13171 Replying to [comment:4 fclql@…]: > > {{{ > <li class="tabmenu-item-wol"> > <a href="/cgi-bin/luci/;stok=0725a368648e34ce53523d52e84080c5/admin/network/wol/">网络唤醒</a> > </li> > > <li class="tabmenu-item-qos''''''"> > <a href="/cgi-bin/luci/;stok=0725a368648e34ce53523d52e84080c5/admin/network/qos/ > }}}
#19752 I've tried to clear cache and it didn't worked. Here is my source code:} {{{ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]--> <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]--> <script type="text/javascript" src="/luci-static/resources/xhr.js"></script> <title>OpenWrt_Servidor - LuCI</title> </head> <body class="lang_auto"> <p class="skiplink"> <span id="skiplink1"><a href="#navigation">Skip to navigation</a></span> <span id="skiplink2"><a href="#content">Skip to content</a></span> </p> <div id="menubar"> <h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2> <div class="hostinfo"> OpenWrt_Servidor | OpenWrt Chaos Calmer 15.05-rc1 | Load: 0.00 0.01 0.05 <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> | Auto Refresh: <span id="xhr_poll_status_on">on</span> <span id="xhr_poll_status_off" style="display:none">off</span> </span> </div> <div class="clear"></div> </div> <div id="maincontainer"> <div id="tabmenu"> </div> <div id="maincontent"> <noscript> <div class="errorbox"> <strong>Java Script required!</strong><br /> You must enable Java Script in your browser or LuCI will not work properly. </div> </noscript> <form method="post" action="/cgi-bin/luci"> <div class="cbi-map"> <h2><a id="content" name="content">Authorization Required</a></h2> <div class="cbi-map-descr"> Please enter your username and password.</div> <fieldset class="cbi-section"><fieldset class="cbi-section-node"> <div class="cbi-value"> <label class="cbi-value-title">Username</label> <div class="cbi-value-field"> <input class="cbi-input-user" type="text" name="luci_username" value="root" /> </div> </div> <div class="cbi-value cbi-value-last"> <label class="cbi-value-title">Password</label> <div class="cbi-value-field"> <input class="cbi-input-password" type="password" name="luci_password" /> </div> </div> </fieldset></fieldset> </div> <div> <input type="submit" value="Login" class="cbi-button cbi-button-apply" /> <input type="reset" value="Reset" class="cbi-button cbi-button-reset" /> </div> </form> <script type="text/javascript">//<![CDATA[ var input = document.getElementsByName('luci_password')[0]; if (input) input.focus(); //]]></script> <div class="clear"></div> </div> </div> <p class="luci"> Powered by LuCI (git-15.126.50380-7a54785) </p> </body> </html> }}}
#19752 In my case, the Bootstrap theme is working. Here is the html source of the start page: {{{ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]--> <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]--> <script type="text/javascript" src="/luci-static/resources/xhr.js"></script> <title>OpenWrt - LuCI</title> </head> <body class="lang_auto"> <p class="skiplink"> <span id="skiplink1"><a href="#navigation">Skip to navigation</a></span> <span id="skiplink2"><a href="#content">Skip to content</a></span> </p> <div id="menubar"> <h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2> <div class="hostinfo"> OpenWrt | OpenWrt Chaos Calmer 15.05-rc1 | Load: 0.03 0.02 0.01 <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> | Auto Refresh: <span id="xhr_poll_status_on">on</span> <span id="xhr_poll_status_off" style="display:none">off</span> </span> </div> <div class="clear"></div> </div> <div id="maincontainer"> <div id="tabmenu"> </div> <div id="maincontent"> <noscript> <div class="errorbox"> <strong>Java Script required!</strong><br /> You must enable Java Script in your browser or LuCI will not work properly. </div> </noscript><div class="errorbox"> <strong>No password set!</strong><br /> There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.<br /> <a href="/cgi-bin/luci/admin/system/admin">Go to password configuration...</a> </div> <form method="post" action="/cgi-bin/luci"> <div class="cbi-map"> <h2><a id="content" name="content">Authorization Required</a></h2> <div class="cbi-map-descr"> Please enter your username and password.</div> <fieldset class="cbi-section"><fieldset class="cbi-section-node"> <div class="cbi-value"> <label class="cbi-value-title">Username</label> <div class="cbi-value-field"> <input class="cbi-input-user" type="text" name="luci_username" value="root" /> </div> </div> <div class="cbi-value cbi-value-last"> <label class="cbi-value-title">Password</label> <div class="cbi-value-field"> <input class="cbi-input-password" type="password" name="luci_password" /> </div> </div> </fieldset></fieldset> </div> <div> <input type="submit" value="Login" class="cbi-button cbi-button-apply" /> <input type="reset" value="Reset" class="cbi-button cbi-button-reset" /> </div> </form> <script type="text/javascript">//<![CDATA[ var input = document.getElementsByName('luci_password')[0]; if (input) input.focus(); //]]></script> <script type="text/javascript">//<![CDATA[ if (document.location.protocol != 'https:') { var url = 'https://' + window.location.hostname + ':' + '443' + window.location.pathname; var img=new Image; img.onload=function(){window.location = url}; img.src='https://' + window.location.hostname + ':' + '443' + '/luci-static/resources/cbi/up.gif?' + Math.random();; setTimeout(function(){ img.src='' }, 5000); } //]]></script> <div class="clear"></div> </div> </div> <p class="luci"> Powered by LuCI Master (git-15.126.50380-7a54785) </p> </body> </html> }}}
#7148 <a href=http://www.justjoanna.com/file/#82ue>buy ephedrine</a> buy ephedrine in illinois - buy ephedrine gorilla jack
#9094 <a href=http://silvertoncustomhomes.com/lib/#k7>buy soma</a> buy soma 350 - soma san diego directions
#13700 (not sure if this was what jow requested) source view of http://192.168.1.1/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/forwards : {{{ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]--> <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]--> <script type="text/javascript" src="/luci-static/resources/xhr.js"></script> <title>OpenWrt - Port Forwards - LuCI</title> </head> <body class="lang_en"> <p class="skiplink"> <span id="skiplink1"><a href="#navigation">Skip to navigation</a></span> <span id="skiplink2"><a href="#content">Skip to content</a></span> </p> <div id="menubar"> <h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2> <div class="hostinfo"> OpenWrt | OpenWrt Attitude Adjustment 12.09 | Load: 0.06 0.03 0.05 <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> | Auto Refresh: <span id="xhr_poll_status_on">on</span> <span id="xhr_poll_status_off" style="display:none">off</span> </span> </div> <div id="savemenu"> <a href="#">Changes: 0</a> </div> <div class="clear"></div> </div> <div id="maincontainer"> <div id="tabmenu"> <div class="tabmenu1"> <ul class="tabmenu l1"> <li class="tabmenu-item-status"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/status/">Status</a> </li> <li class="tabmenu-item-system"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/system/">System</a> </li> <li class="tabmenu-item-services"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/services/">Services</a> </li> <li class="tabmenu-item-network active"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/">Network</a> </li> <li class="tabmenu-item-logout"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/logout/">Logout</a> </li> </ul> <br style="clear:both" /> <div class="tabmenu2"> <ul class="tabmenu l2"> <li class="tabmenu-item-network"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/network/">Interfaces</a> </li> <li class="tabmenu-item-wireless"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/wireless/">Wifi</a> </li> <li class="tabmenu-item-vlan"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/vlan/">Switch</a> </li> <li class="tabmenu-item-dhcp"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/dhcp/">DHCP and DNS</a> </li> <li class="tabmenu-item-hosts"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/hosts/">Hostnames</a> </li> <li class="tabmenu-item-routes"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/routes/">Static Routes</a> </li> <li class="tabmenu-item-firewall active"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/">Firewall</a> </li> <li class="tabmenu-item-diagnostics"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/diagnostics/">Diagnostics</a> </li> <li class="tabmenu-item-qos"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/qos/">QoS</a> </li> </ul> <br style="clear:both" /> <div class="tabmenu3"> <ul class="tabmenu l3"> <li class="tabmenu-item-zones"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/zones/">General Settings</a> </li> <li class="tabmenu-item-forwards active"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/forwards/">Port Forwards</a> </li> <li class="tabmenu-item-rules"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/rules/">Traffic Rules</a> </li> <li class="tabmenu-item-custom"> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/custom/">Custom Rules</a> </li> </ul> <br style="clear:both" /> </div> </div> </div> </div> <div id="maincontent"> <noscript> <div class="errorbox"> <strong>Java Script required!</strong><br /> You must enable Java Script in your browser or LuCI will not work properly. </div> </noscript><div class="errorbox"> <strong>No password set!</strong><br /> There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.<br /> <a href="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/system/admin">Go to password configuration...</a> </div> <form method="post" name="cbi" action="/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/forwards" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')"> <div> <script type="text/javascript" src="/luci-static/resources/cbi.js"></script> <input type="hidden" name="cbi.submit" value="1" /> <input type="submit" value="Save" class="hidden" /> </div> <div class="cbi-map" id="cbi-firewall"> <h2><a id="content" name="content">Firewall - Port Forwards</a></h2> <div class="cbi-map-descr">Port forwarding allows remote computers on the Internet to connect to a specific computer or service within the private LAN.</div><fieldset class="cbi-section" id="cbi-apply-firewall"> <legend>Applying changes</legend> <script type="text/javascript">//<![CDATA[ var apply_xhr = new XHR(); apply_xhr.get('/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/servicectl/restart/firewall', null, function() { var checkfinish = function() { apply_xhr.get('/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/servicectl/status', null, function(x) { if( x.responseText == 'finish' ) { var e = document.getElementById('cbi-apply-firewall-status'); if( e ) { e.innerHTML = 'Configuration applied.'; window.setTimeout(function() { e.parentNode.style.display = 'none'; }, 1000); } } else { var e = document.getElementById('cbi-apply-firewall-status'); if( e && x.responseText ) e.innerHTML = x.responseText; window.setTimeout(checkfinish, 1000); } } ); } window.setTimeout(checkfinish, 1000); } ); //]]></script> <img src="/luci-static/resources/icons/loading.gif" alt="Loading" style="vertical-align:middle" /> <span id="cbi-apply-firewall-status">Waiting for changes to be applied...</span> </fieldset><!-- tblsection --> <fieldset class="cbi-section" id="cbi-firewall-redirect"> <legend>Port Forwards</legend><input type="hidden" id="cbi.sts.firewall.redirect" name="cbi.sts.firewall.redirect" value="" /><div class="cbi-section-descr"></div> <div class="cbi-section-node"><table class="cbi-section-table"> <tr class="cbi-section-table-titles"><th class="cbi-section-table-cell">Name</th><th class="cbi-section-table-cell" style="width:50%">Match</th><th class="cbi-section-table-cell" style="width:40%">Forward to</th><th class="cbi-section-table-cell" style="width:1%">Enable</th><th class="cbi-section-table-cell">Sort</th><th class="cbi-section-table-cell">&#160;</th></tr> <tr class="cbi-section-table-descr"><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell" style="width:50%"></th><th class="cbi-section-table-cell" style="width:40%"></th><th class="cbi-section-table-cell" style="width:1%"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th></tr><tr class="cbi-section-table-row cbi-rowstyle-1" id="cbi-firewall-cfg173837"> <td class="cbi-value-field"> <div id="cbi-firewall-cfg173837-name"> GRE <input type="hidden" id="cbid.firewall.cfg173837.name" value="GRE" /> </div> <div id="cbip-firewall-cfg173837-name"></div> </td> <td class="cbi-value-field"> <div id="cbi-firewall-cfg173837-match"> <small>IPv4-TCP+UDP<br />From <var>any host</var> in <var>wan</var><br />Via <var>any router IP</var></small> <input type="hidden" id="cbid.firewall.cfg173837.match" value="&#60;small&#62;IPv4-TCP+UDP&#60;br /&#62;From &#60;var&#62;any host&#60;/var&#62; in &#60;var&#62;wan&#60;/var&#62;&#60;br /&#62;Via &#60;var&#62;any router IP&#60;/var&#62;&#60;/small&#62;" /> </div> <div id="cbip-firewall-cfg173837-match"></div> </td> <td class="cbi-value-field"> <div id="cbi-firewall-cfg173837-dest"> IP <var>192.168.1.200</var> in <var>lan</var> <input type="hidden" id="cbid.firewall.cfg173837.dest" value="IP &#60;var&#62;192.168.1.200&#60;/var&#62; in &#60;var&#62;lan&#60;/var&#62;" /> </div> <div id="cbip-firewall-cfg173837-dest"></div> </td> <td class="cbi-value-field"> <div id="cbi-firewall-cfg173837-enabled"> <input type="hidden" value="1" name="cbi.cbe.firewall.cfg173837.enabled" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.firewall.cfg173837.enabled" name="cbid.firewall.cfg173837.enabled" value="" checked="checked" /> </div> <div id="cbip-firewall-cfg173837-enabled"></div> </td> <td class="cbi-section-table-cell"> <input class="cbi-button cbi-button-up" type="button" value="" onclick="return cbi_row_swap(this, true, 'cbi.sts.firewall.redirect')" alt="Move up" title="Move up" /> <input class="cbi-button cbi-button-down" type="button" value="" onclick="return cbi_row_swap(this, false, 'cbi.sts.firewall.redirect')" alt="Move down" title="Move down" /> </td><td class="cbi-section-table-cell"><input class="cbi-button cbi-button-edit" type="button" value="Edit" onclick="location.href='/cgi-bin/luci/;stok=a67aa7d7c345978aa222f7c5512efd58/admin/network/firewall/forwards/cfg173837'" alt="Edit" title="Edit" /> <input class="cbi-button cbi-button-remove" type="submit" value="Delete" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.firewall.cfg173837" alt="Delete" title="Delete" /></td></tr></table> <div class="cbi-section-create cbi-tblsection-create"> <br /> <table class="cbi-section-table" style="width:810px; margin-left:5px"> <tr class="cbi-section-table-titles"> <th class="cbi-section-table-cell" colspan="8">New port forward:</th> </tr> <tr class="cbi-section-table-descr"> <th class="cbi-section-table-cell">Name</th> <th class="cbi-section-table-cell">Protocol</th> <th class="cbi-section-table-cell">External zone</th> <th class="cbi-section-table-cell">External port</th> <th class="cbi-section-table-cell">Internal zone</th> <th class="cbi-section-table-cell">Internal IP address</th> <th class="cbi-section-table-cell">Internal port</th> <th class="cbi-section-table-cell"></th> </tr> <tr class="cbi-section-table-row"> <td class="cbi-section-table-cell"> <input type="text" class="cbi-input-text" id="_newfwd.name" name="_newfwd.name" placeholder="New port forward" /> </td> <td class="cbi-section-table-cell" style="width:110px"> <select class="cbi-input-select" id="_newfwd.proto" name="_newfwd.proto"> <option value="tcp udp">TCP+UDP</option> <option value="tcp">TCP</option> <option value="udp">UDP</option> <option value="other">Other...</option> </select> </td> <td class="cbi-section-table-cell" style="width:55px"> <select class="cbi-input-select" id="_newfwd.extzone" name="_newfwd.extzone"> <option value="wan">wan</option> </select> </td> <td class="cbi-section-table-cell" style="width:110px"> <input type="text" class="cbi-input-text" id="_newfwd.extport" name="_newfwd.extport" /> </td> <td class="cbi-section-table-cell" style="width:55px"> <select class="cbi-input-select" id="_newfwd.intzone" name="_newfwd.intzone"> <option value="lan">lan</option> </select> </td> <td class="cbi-section-table-cell" style="width:110px"> <input type="text" class="cbi-input-text" id="_newfwd.intaddr" name="_newfwd.intaddr" /> </td> <td class="cbi-section-table-cell" style="width:110px"> <input type="text" class="cbi-input-text" id="_newfwd.intport" name="_newfwd.intport" /> </td> <td class="cbi-section-table-cell"> <input type="submit" class="cbi-button cbi-button-add" name="cbi.cts.firewall.redirect.cfg173837" value="Add" /> </td> </tr> </table> <script type="text/javascript">//<![CDATA[ cbi_validate_field('_newfwd.extport', true, 'portrange'); cbi_validate_field('_newfwd.intaddr', true, 'host'); cbi_validate_field('_newfwd.intport', true, 'portrange'); cbi_combobox_init('_newfwd.intaddr', { '192.168.1.1': '192.168.1.1 (OpenWrt.lan)','192.168.1.176': '192.168.1.176 (wheezy-x86)' }, '', ' -- custom -- '); cbi_bind(document.getElementById('_newfwd.extport'), 'blur', function() { var n = document.getElementById('_newfwd.name'); var p = document.getElementById('_newfwd.proto'); var i = document.getElementById('_newfwd.intport'); var hints = { /* port name 0=both, 1=tcp, 2=udp, 3=other */ 21: [ 'FTP', 1 ], 22: [ 'SSH', 1 ], 53: [ 'DNS', 0 ], 80: [ 'HTTP', 1 ], 443: [ 'HTTPS', 1 ], 3389: [ 'RDP', 1 ], 5900: [ 'VNC', 1 ], }; if (!this.className.match(/invalid/)) { if (!i.value) i.value = this.value; var hint = hints[this.value || 0] || hints[i.value || 0]; if (hint) { p.selectedIndex = hint[1]; if (!n.value) n.value = hint[0]; } else if (!n.value) { n.value = 'Forward' + this.value; } } }); cbi_validate_field('cbi.cts.firewall.redirect.cfg173837', true, 'uciname'); //]]></script> </div> </div> </fieldset> <!-- /tblsection --> <br /> </div><div class="cbi-page-actions"> <input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="Save &#38; Apply" /> <input class="cbi-button cbi-button-save" type="submit" value="Save" /> <input class="cbi-button cbi-button-reset" type="reset" value="Reset" /> <script type="text/javascript">cbi_d_update();</script> </div></form> <div class="clear"></div> </div> </div> <p class="luci">Powered by LuCI 0.11.1 Release (0.11.1)</p> </body> </html> }}}
#12434 Replying to [comment:11 neryba]: > Replying to [comment:10 alexey@…]: > > OpenWrt Attitude Adjustment 12.09-rc1 / LuCI 0.11 Branch (0.11+svn9425) Kernel 3.3.8 > > > Sorry I don't have same version, but you can try edit you own index.htm, just edit it after string 71 (ctrldev = luci.sys.exec("uci -q get network.%s.ctrldev" %wan:name()) select interface from /etc/config/network, you can replace it with ctrldev = "/dev/ttyUSB2" or some another) > {{{ > if wan6 then > rv.wan6 = { > ip6addr = wan6:ip6addr(), > gw6addr = wan6:gw6addr(), > dns = wan6:dns6addrs(), > uptime = wan6:uptime(), > ifname = wan6:ifname(), > link = wan6:adminlink() > } > end > > if wan and rv.wan.proto == "3g" then > local data3g, ctrldev > ctrldev = luci.sys.exec("uci -q get network.%s.ctrldev" %wan:name()) > if ctrldev and ctrldev == "auto" then > data3g = luci.sys.exec("gcom") > else > data3g = luci.sys.exec("gcom -d %s" % ctrldev) > end > > rv.wan3g = { > operator = data3g:match("\"[a-zA-Z0-9 ]+\""), > quality = data3g:match("Signal Quality: [0-9]+"), > sim = data3g:match("SIM [a-zA-Z0-9 ]+"), > ctrldev = ctrldev > } > end > > luci.http.prepare_content("application/json") > luci.http.write_json(rv) > }}} > > and after string 151 > {{{ > if (ifc.uptime > 0) > { > s += String.format( > '<strong><%:Connected%>: </strong>%t<br />', > ifc.uptime > ); > } > > if (ifc.proto == '3g' && info.wan3g.ctrldev != '') > { > qual = info.wan3g.quality ? info.wan3g.quality : "Signal Quality: 0" > s = String.format( > '<strong><%:Operator%>: </strong>%s<br /><strong><%:Signal%>: </strong>%d%%<br /><strong><%:SIM%>: </strong>%s<br />', > info.wan3g.operator ? info.wan3g.operator : "reading...", qual.substring(15)*100/31 , info.wan3g.sim ? info.wan3g.sim : "ERROR" > ) + s; > } > ss.innerHTML = String.format('<small>%s</small>', s); > if (ifc.proto == '3g' && info.wan3g.ctrldev != '') > { > var sigqual = parseInt(qual.substring(15)) > var icon; > if (sigqual == 99 || !sigqual) > icon = "/luci-static/resources/icons/signal-none.png"; > else if (sigqual == 0) > icon = "/luci-static/resources/icons/signal-0.png"; > else if (sigqual < 7) > icon = "/luci-static/resources/icons/signal-0-25.png"; > else if (sigqual < 15) > icon = "/luci-static/resources/icons/signal-25-50.png"; > else if (sigqual < 24) > icon = "/luci-static/resources/icons/signal-50-75.png"; > else > icon = "/luci-static/resources/icons/signal-75-100.png"; > > si.innerHTML = String.format( > '<img src="%s" />' + > '<br /><small><a href="%s">%s</a></small>', > icon, ifc.link, ifc.ifname > ); > } > else > { > si.innerHTML = String.format( > '<img src="<%=resource%>/icons/ethernet.png" />' + > '<br /><small><a href="%s">%s</a></small>', > ifc.link, ifc.ifname > ); > > } > } > else > { > si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>'; > ss.innerHTML = '<em><%:Not connected%></em>'; > } > }}} Thank you very much man I've made it little simpler for me {{{ if wan and rv.wan.proto == "3g" then rv.wan3g = { quality = luci.sys.exec("gcom -d /dev/ttyUSB2 -s /etc/gcom/getstrength.gcom"):match("\+CSQ: ([0-9,]+)") } end }}} {{{ if (ifc.proto == '3g' && info.wan3g.quality != '') { s += String.format( '<strong><%:Signal%>: </strong>%s<br />', info.wan3g.quality ); } }}}
#12434 Replying to [comment:10 alexey@…]: > OpenWrt Attitude Adjustment 12.09-rc1 / LuCI 0.11 Branch (0.11+svn9425) Kernel 3.3.8 > Sorry I don't have same version, but you can try edit you own index.htm, just edit it after string 71 (ctrldev = luci.sys.exec("uci -q get network.%s.ctrldev" %wan:name()) select interface from /etc/config/network, you can replace it with ctrldev = "/dev/ttyUSB2" or some another) {{{ if wan6 then rv.wan6 = { ip6addr = wan6:ip6addr(), gw6addr = wan6:gw6addr(), dns = wan6:dns6addrs(), uptime = wan6:uptime(), ifname = wan6:ifname(), link = wan6:adminlink() } end if wan and rv.wan.proto == "3g" then local data3g, ctrldev ctrldev = luci.sys.exec("uci -q get network.%s.ctrldev" %wan:name()) if ctrldev and ctrldev == "auto" then data3g = luci.sys.exec("gcom") else data3g = luci.sys.exec("gcom -d %s" % ctrldev) end rv.wan3g = { operator = data3g:match("\"[a-zA-Z0-9 ]+\""), quality = data3g:match("Signal Quality: [0-9]+"), sim = data3g:match("SIM [a-zA-Z0-9 ]+"), ctrldev = ctrldev } end luci.http.prepare_content("application/json") luci.http.write_json(rv) }}} and after string 151 {{{ if (ifc.uptime > 0) { s += String.format( '<strong><%:Connected%>: </strong>%t<br />', ifc.uptime ); } if (ifc.proto == '3g' && info.wan3g.ctrldev != '') { qual = info.wan3g.quality ? info.wan3g.quality : "Signal Quality: 0" s = String.format( '<strong><%:Operator%>: </strong>%s<br /><strong><%:Signal%>: </strong>%d%%<br /><strong><%:SIM%>: </strong>%s<br />', info.wan3g.operator ? info.wan3g.operator : "reading...", qual.substring(15)*100/31 , info.wan3g.sim ? info.wan3g.sim : "ERROR" ) + s; } ss.innerHTML = String.format('<small>%s</small>', s); if (ifc.proto == '3g' && info.wan3g.ctrldev != '') { var sigqual = parseInt(qual.substring(15)) var icon; if (sigqual == 99 || !sigqual) icon = "/luci-static/resources/icons/signal-none.png"; else if (sigqual == 0) icon = "/luci-static/resources/icons/signal-0.png"; else if (sigqual < 7) icon = "/luci-static/resources/icons/signal-0-25.png"; else if (sigqual < 15) icon = "/luci-static/resources/icons/signal-25-50.png"; else if (sigqual < 24) icon = "/luci-static/resources/icons/signal-50-75.png"; else icon = "/luci-static/resources/icons/signal-75-100.png"; si.innerHTML = String.format( '<img src="%s" />' + '<br /><small><a href="%s">%s</a></small>', icon, ifc.link, ifc.ifname ); } else { si.innerHTML = String.format( '<img src="<%=resource%>/icons/ethernet.png" />' + '<br /><small><a href="%s">%s</a></small>', ifc.link, ifc.ifname ); } } else { si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>'; ss.innerHTML = '<em><%:Not connected%></em>'; } }}}
#13171 {{{ <li class="tabmenu-item-wol"> <a href="/cgi-bin/luci/;stok=0725a368648e34ce53523d52e84080c5/admin/network/wol/">网络唤醒</a> </li> <li class="tabmenu-item-qos"> <a href="/cgi-bin/luci/;stok=0725a368648e34ce53523d52e84080c5/admin/network/qos/ }}}
#12657 With Internet Explorer 9 and '''Compatibility View Disabled''' same error {{{ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]--> <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]--> <script type="text/javascript" src="/luci-static/resources/xhr.js"></script> <title>OpenWrt - UPNP - LuCI</title> </head> <body class="lang_auto"> <p class="skiplink"> <span id="skiplink1"><a href="#navigation">Skip to navigation</a></span> <span id="skiplink2"><a href="#content">Skip to content</a></span> </p> <div id="menubar"> <h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2> <div class="hostinfo"> OpenWrt | OpenWrt Barrier Breaker r34812 | Load: 0.46 0.19 0.22 <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> | Auto Refresh: <span id="xhr_poll_status_on">on</span> <span id="xhr_poll_status_off" style="display:none">off</span> </span> </div> <div id="savemenu"> <a href="#">Changes: 0</a> </div> <div class="clear"></div> </div> <div id="maincontainer"> <div id="tabmenu"> <div class="tabmenu1"> <ul class="tabmenu l1"> <li class="tabmenu-item-status"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/status/">Status</a> </li> <li class="tabmenu-item-system"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/system/">System</a> </li> <li class="tabmenu-item-services active"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/">Services</a> </li> <li class="tabmenu-item-network"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/network/">Network</a> </li> <li class="tabmenu-item-logout"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/logout/">Logout</a> </li> </ul> <br style="clear:both" /> <div class="tabmenu2"> <ul class="tabmenu l2"> <li class="tabmenu-item-ddns"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/ddns/">Dynamic DNS</a> </li> <li class="tabmenu-item-hd_idle"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/hd_idle/">hd-idle</a> </li> <li class="tabmenu-item-upnp active"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp/">UPNP</a> </li> <li class="tabmenu-item-samba"> <a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/samba/">Network Shares</a> </li> </ul> <br style="clear:both" /> </div> </div> </div> <div id="maincontent"> <noscript> <div class="errorbox"> <strong>Java Script required!</strong><br /> You must enable Java Script in your browser or LuCI will not work properly. </div> </noscript> <form method="post" name="cbi" action="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')"> <div> <script type="text/javascript" src="/luci-static/resources/cbi.js"></script> <input type="hidden" name="cbi.submit" value="1" /> <input type="submit" value="Save" class="hidden" /> </div> <div class="cbi-map" id="cbi-upnpd"> <h2><a id="content" name="content">Universal Plug & Play</a></h2> <div class="cbi-map-descr">UPnP allows clients in the local network to automatically configure the router.</div><script type="text/javascript">//<![CDATA[ function upnp_delete_fwd(idx) { XHR.get('/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp/delete/' + idx, null, function(x) { var tb = document.getElementById('upnp_status_table'); if (tb && (idx < tb.rows.length)) tb.rows[0].parentNode.removeChild(tb.rows[idx]); } ); } XHR.poll(5, '/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp/status', null, function(x, st) { var tb = document.getElementById('upnp_status_table'); if (st && tb) { /* clear all rows */ while( tb.rows.length > 1 ) tb.deleteRow(1); for( var i = 0; i < st.length; i++ ) { var tr = tb.insertRow(-1); tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1); tr.insertCell(-1).innerHTML = st[i].proto; tr.insertCell(-1).innerHTML = st[i].extport; tr.insertCell(-1).innerHTML = st[i].intaddr; tr.insertCell(-1).innerHTML = st[i].intport; tr.insertCell(-1).innerHTML = String.format( '<input class="cbi-button cbi-input-remove" type="button" value="Delete Redirect" onclick="upnp_delete_fwd(%d)" />', st[i].num ); } if( tb.rows.length == 1 ) { var tr = tb.insertRow(-1); tr.className = 'cbi-section-table-row'; var td = tr.insertCell(-1); td.colSpan = 5; td.innerHTML = '<em><br />There are no active redirects.</em>'; } } } ); //]]></script> <fieldset class="cbi-section"> <legend>Active UPnP Redirects</legend> <table class="cbi-section-table" id="upnp_status_table"> <tr class="cbi-section-table-titles"> <th class="cbi-section-table-cell">Protocol</th> <th class="cbi-section-table-cell">External Port</th> <th class="cbi-section-table-cell">Client Address</th> <th class="cbi-section-table-cell">Client Port</th> <th class="cbi-section-table-cell">&#160;</th> </tr> <tr class="cbi-section-table-row"> <td colspan="5"><em><br />Collecting data...</em></td> </tr> </table> </fieldset> <fieldset class="cbi-section" id="cbi-upnpd-config"> <legend>MiniUPnP settings</legend> <ul class="cbi-tabmenu"> <script type="text/javascript">cbi_c['container.upnpd.config.general'] = 8;</script> <li id="tab.upnpd.config.general" class="cbi-tab"> <a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'general')" href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp?tab.upnpd.config=general">General Settings</a> <input type="hidden" id="tab.upnpd.config" name="tab.upnpd.config" value="general" /> </li> <script type="text/javascript">cbi_c['container.upnpd.config.advanced'] = 9;</script> <li id="tab.upnpd.config.advanced" class="cbi-tab-disabled"> <a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'advanced')" href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp?tab.upnpd.config=advanced">Advanced Settings</a> </li> </ul> <div class="cbi-section-node cbi-section-node-tabbed" id="cbi-upnpd-config"> <div class="cbi-tabcontainer" id="container.upnpd.config.general"> <div class="cbi-value" id="cbi-upnpd-config-_init"><label class="cbi-value-title" for="cbid.upnpd.config._init">Start UPnP and NAT-PMP service</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config._init" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config._init" name="cbid.upnpd.config._init" value="1" checked="checked" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-enable_upnp"><label class="cbi-value-title" for="cbid.upnpd.config.enable_upnp">Enable UPnP functionality</label> <div class="cbi-value-field"> <input }}} With Internet Explorer 9 and '''Compatibility View Actived''' no problem
#12657 {{{ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]--> <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]--> <script type="text/javascript" src="/luci-static/resources/xhr.js"></script> <title>OpenWrt - UPNP - LuCI</title> </head> <body class="lang_auto"> <p class="skiplink"> <span id="skiplink1"><a href="#navigation">Skip to navigation</a></span> <span id="skiplink2"><a href="#content">Skip to content</a></span> </p> <div id="menubar"> <h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2> <div class="hostinfo"> OpenWrt | OpenWrt Barrier Breaker r34812 | Load: 2.77 2.53 1.44 <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> | Auto Refresh: <span id="xhr_poll_status_on">on</span> <span id="xhr_poll_status_off" style="display:none">off</span> </span> </div> <div id="savemenu"> <a href="#">Changes: 0</a> </div> <div class="clear"></div> </div> <div id="maincontainer"> <div id="tabmenu"> <div class="tabmenu1"> <ul class="tabmenu l1"> <li class="tabmenu-item-status"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/status/">Status</a> </li> <li class="tabmenu-item-system"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/system/">System</a> </li> <li class="tabmenu-item-services active"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/">Services</a> </li> <li class="tabmenu-item-network"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/network/">Network</a> </li> <li class="tabmenu-item-logout"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/logout/">Logout</a> </li> </ul> <br style="clear:both" /> <div class="tabmenu2"> <ul class="tabmenu l2"> <li class="tabmenu-item-ddns"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/ddns/">Dynamic DNS</a> </li> <li class="tabmenu-item-hd_idle"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/hd_idle/">hd-idle</a> </li> <li class="tabmenu-item-upnp active"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp/">UPNP</a> </li> <li class="tabmenu-item-samba"> <a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/samba/">Network Shares</a> </li> </ul> <br style="clear:both" /> </div> </div> </div> <div id="maincontent"> <noscript> <div class="errorbox"> <strong>Java Script required!</strong><br /> You must enable Java Script in your browser or LuCI will not work properly. </div> </noscript> <form method="post" name="cbi" action="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')"> <div> <script type="text/javascript" src="/luci-static/resources/cbi.js"></script> <input type="hidden" name="cbi.submit" value="1" /> <input type="submit" value="Save" class="hidden" /> </div> <div class="cbi-map" id="cbi-upnpd"> <h2><a id="content" name="content">Universal Plug & Play</a></h2> <div class="cbi-map-descr">UPnP allows clients in the local network to automatically configure the router.</div><script type="text/javascript">//<![CDATA[ function upnp_delete_fwd(idx) { XHR.get('/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp/delete/' + idx, null, function(x) { var tb = document.getElementById('upnp_status_table'); if (tb && (idx < tb.rows.length)) tb.rows[0].parentNode.removeChild(tb.rows[idx]); } ); } XHR.poll(5, '/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp/status', null, function(x, st) { var tb = document.getElementById('upnp_status_table'); if (st && tb) { /* clear all rows */ while( tb.rows.length > 1 ) tb.deleteRow(1); for( var i = 0; i < st.length; i++ ) { var tr = tb.insertRow(-1); tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1); tr.insertCell(-1).innerHTML = st[i].proto; tr.insertCell(-1).innerHTML = st[i].extport; tr.insertCell(-1).innerHTML = st[i].intaddr; tr.insertCell(-1).innerHTML = st[i].intport; tr.insertCell(-1).innerHTML = String.format( '<input class="cbi-button cbi-input-remove" type="button" value="Delete Redirect" onclick="upnp_delete_fwd(%d)" />', st[i].num ); } if( tb.rows.length == 1 ) { var tr = tb.insertRow(-1); tr.className = 'cbi-section-table-row'; var td = tr.insertCell(-1); td.colSpan = 5; td.innerHTML = '<em><br />There are no active redirects.</em>'; } } } ); //]]></script> <fieldset class="cbi-section"> <legend>Active UPnP Redirects</legend> <table class="cbi-section-table" id="upnp_status_table"> <tr class="cbi-section-table-titles"> <th class="cbi-section-table-cell">Protocol</th> <th class="cbi-section-table-cell">External Port</th> <th class="cbi-section-table-cell">Client Address</th> <th class="cbi-section-table-cell">Client Port</th> <th class="cbi-section-table-cell">&#160;</th> </tr> <tr class="cbi-section-table-row"> <td colspan="5"><em><br />Collecting data...</em></td> </tr> </table> </fieldset> <fieldset class="cbi-section" id="cbi-upnpd-config"> <legend>MiniUPnP settings</legend> <ul class="cbi-tabmenu"> <script type="text/javascript">cbi_c['container.upnpd.config.general'] = 8;</script> <li id="tab.upnpd.config.general" class="cbi-tab"> <a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'general')" href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp?tab.upnpd.config=general">General Settings</a> <input type="hidden" id="tab.upnpd.config" name="tab.upnpd.config" value="general" /> </li> <script type="text/javascript">cbi_c['container.upnpd.config.advanced'] = 9;</script> <li id="tab.upnpd.config.advanced" class="cbi-tab-disabled"> <a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'advanced')" href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp?tab.upnpd.config=advanced">Advanced Settings</a> </li> </ul> <div class="cbi-section-node cbi-section-node-tabbed" id="cbi-upnpd-config"> <div class="cbi-tabcontainer" id="container.upnpd.config.general"> <div class="cbi-value" id="cbi-upnpd-config-_init"><label class="cbi-value-title" for="cbid.upnpd.config._init">Start UPnP and NAT-PMP service</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config._init" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config._init" name="cbid.upnpd.config._init" value="1" checked="checked" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-enable_upnp"><label class="cbi-value-title" for="cbid.upnpd.config.enable_upnp">Enable UPnP functionality</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config.enable_upnp" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.enable_upnp" name="cbid.upnpd.config.enable_upnp" value="1" checked="checked" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-enable_natpmp"><label class="cbi-value-title" for="cbid.upnpd.config.enable_natpmp">Enable NAT-PMP functionality</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config.enable_natpmp" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.enable_natpmp" name="cbid.upnpd.config.enable_natpmp" value="1" checked="checked" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-secure_mode"><label class="cbi-value-title" for="cbid.upnpd.config.secure_mode">Enable secure mode</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config.secure_mode" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.secure_mode" name="cbid.upnpd.config.secure_mode" value="1" checked="checked" /> <div class="cbi-value-description"> <span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span> Allow adding forwards only to requesting ip addresses </div></div></div> <div class="cbi-value" id="cbi-upnpd-config-log_output"><label class="cbi-value-title" for="cbid.upnpd.config.log_output">Enable additional logging</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config.log_output" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.log_output" name="cbid.upnpd.config.log_output" value="1" /> <div class="cbi-value-description"> <span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span> Puts extra debugging information into the system log </div></div></div> <div class="cbi-value" id="cbi-upnpd-config-download"><label class="cbi-value-title" for="cbid.upnpd.config.download">Downlink</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.download" id="cbid.upnpd.config.download" value="1024" /> <br /> <div class="cbi-value-description"> <span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span> Value in KByte/s, informational only </div></div></div> <div class="cbi-value" id="cbi-upnpd-config-upload"><label class="cbi-value-title" for="cbid.upnpd.config.upload">Uplink</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.upload" id="cbid.upnpd.config.upload" value="512" /> <br /> <div class="cbi-value-description"> <span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span> Value in KByte/s, informational only </div></div></div> <div class="cbi-value cbi-value-last" id="cbi-upnpd-config-port"><label class="cbi-value-title" for="cbid.upnpd.config.port">Port</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.port" id="cbid.upnpd.config.port" value="5000" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.config.port', true, 'port'); //]]></script> </div></div> </div> <script type="text/javascript">cbi_t_add('upnpd.config', 'general')</script> <div class="cbi-tabcontainer" id="container.upnpd.config.advanced" style="display:none"> <div class="cbi-value" id="cbi-upnpd-config-system_uptime"><label class="cbi-value-title" for="cbid.upnpd.config.system_uptime">Report system instead of daemon uptime</label> <div class="cbi-value-field"> <input type="hidden" value="1" name="cbi.cbe.upnpd.config.system_uptime" /> <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.system_uptime" name="cbid.upnpd.config.system_uptime" value="1" checked="checked" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-uuid"><label class="cbi-value-title" for="cbid.upnpd.config.uuid">Device UUID</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.uuid" id="cbid.upnpd.config.uuid" value="b332708e-08f3-40d6-94b8-b6332daba829" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-serial_number"><label class="cbi-value-title" for="cbid.upnpd.config.serial_number">Announced serial number</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.serial_number" id="cbid.upnpd.config.serial_number" value="" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-model_number"><label class="cbi-value-title" for="cbid.upnpd.config.model_number">Announced model number</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.model_number" id="cbid.upnpd.config.model_number" value="" /> </div></div> <div class="cbi-value" id="cbi-upnpd-config-notify_interval"><label class="cbi-value-title" for="cbid.upnpd.config.notify_interval">Notify interval</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.notify_interval" id="cbid.upnpd.config.notify_interval" value="" placeholder="30" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.config.notify_interval', true, 'uinteger'); //]]></script> </div></div> <div class="cbi-value" id="cbi-upnpd-config-clean_ruleset_threshold"><label class="cbi-value-title" for="cbid.upnpd.config.clean_ruleset_threshold">Clean rules threshold</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.clean_ruleset_threshold" id="cbid.upnpd.config.clean_ruleset_threshold" value="" placeholder="20" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.config.clean_ruleset_threshold', true, 'uinteger'); //]]></script> </div></div> <div class="cbi-value" id="cbi-upnpd-config-clean_ruleset_interval"><label class="cbi-value-title" for="cbid.upnpd.config.clean_ruleset_interval">Clean rules interval</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.clean_ruleset_interval" id="cbid.upnpd.config.clean_ruleset_interval" value="" placeholder="600" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.config.clean_ruleset_interval', true, 'uinteger'); //]]></script> </div></div> <div class="cbi-value" id="cbi-upnpd-config-presentation_url"><label class="cbi-value-title" for="cbid.upnpd.config.presentation_url">Presentation URL</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.presentation_url" id="cbid.upnpd.config.presentation_url" value="" placeholder="http://192.168.1.1/" /> </div></div> <div class="cbi-value cbi-value-last" id="cbi-upnpd-config-upnp_lease_file"><label class="cbi-value-title" for="cbid.upnpd.config.upnp_lease_file">UPnP lease file</label> <div class="cbi-value-field"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.upnp_lease_file" id="cbid.upnpd.config.upnp_lease_file" value="" placeholder="/var/log/upnp.leases" /> </div></div> </div> <script type="text/javascript">cbi_t_add('upnpd.config', 'advanced')</script> </div> <br /> </fieldset> <!-- /nsection --> <!-- tblsection --> <fieldset class="cbi-section" id="cbi-upnpd-perm_rule"> <legend>MiniUPnP ACLs</legend><input type="hidden" id="cbi.sts.upnpd.perm_rule" name="cbi.sts.upnpd.perm_rule" value="" /><div class="cbi-section-descr">ACLs specify which external ports may be redirected to which internal addresses and ports</div> <div class="cbi-section-node"><table class="cbi-section-table"> <tr class="cbi-section-table-titles"><th class="cbi-section-table-cell">Comment</th><th class="cbi-section-table-cell">External ports</th><th class="cbi-section-table-cell">Internal addresses</th><th class="cbi-section-table-cell">Internal ports</th><th class="cbi-section-table-cell">Action</th><th class="cbi-section-table-cell">Sort</th><th class="cbi-section-table-cell">&#160;</th></tr> <tr class="cbi-section-table-descr"><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th></tr><tr class="cbi-section-table-row" id="cbi-upnpd-cfg03ed70"> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg03ed70-comment"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.comment" id="cbid.upnpd.cfg03ed70.comment" value="Allow high ports" /> </div> <div id="cbip-upnpd-cfg03ed70-comment"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg03ed70-ext_ports"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.ext_ports" id="cbid.upnpd.cfg03ed70.ext_ports" value="1024-65535" placeholder="0-65535" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.cfg03ed70.ext_ports', true, 'portrange'); //]]></script> </div> <div id="cbip-upnpd-cfg03ed70-ext_ports"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg03ed70-int_addr"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.int_addr" id="cbid.upnpd.cfg03ed70.int_addr" value="0.0.0.0/0" placeholder="0.0.0.0/0" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.cfg03ed70.int_addr', true, 'ip4addr'); //]]></script> </div> <div id="cbip-upnpd-cfg03ed70-int_addr"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg03ed70-int_ports"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.int_ports" id="cbid.upnpd.cfg03ed70.int_ports" value="1024-65535" placeholder="0-65535" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.cfg03ed70.int_ports', true, 'portrange'); //]]></script> </div> <div id="cbip-upnpd-cfg03ed70-int_ports"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg03ed70-action"> <select class="cbi-input-select" onchange="cbi_d_update(this.id)" id="cbid.upnpd.cfg03ed70.action" name="cbid.upnpd.cfg03ed70.action" size="1"> <option id="cbi-upnpd-cfg03ed70-action-allow" value="allow" selected="selected">allow</option><option id="cbi-upnpd-cfg03ed70-action-deny" value="deny">deny</option> </select> </div> <div id="cbip-upnpd-cfg03ed70-action"></div> </td> <td class="cbi-section-table-cell"> <input class="cbi-button cbi-button-up" type="button" value="" onclick="return cbi_row_swap(this, true, 'cbi.sts.upnpd.perm_rule')" alt="Move up" title="Move up" /> <input class="cbi-button cbi-button-down" type="button" value="" onclick="return cbi_row_swap(this, false, 'cbi.sts.upnpd.perm_rule')" alt="Move down" title="Move down" /> </td><td class="cbi-section-table-cell"> <input class="cbi-button cbi-button-remove" type="submit" value="Delete" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.upnpd.cfg03ed70" alt="Delete" title="Delete" /></td></tr><tr class="cbi-section-table-row" id="cbi-upnpd-cfg05ed70"> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg05ed70-comment"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.comment" id="cbid.upnpd.cfg05ed70.comment" value="Default deny" /> </div> <div id="cbip-upnpd-cfg05ed70-comment"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg05ed70-ext_ports"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.ext_ports" id="cbid.upnpd.cfg05ed70.ext_ports" value="0-65535" placeholder="0-65535" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.cfg05ed70.ext_ports', true, 'portrange'); //]]></script> </div> <div id="cbip-upnpd-cfg05ed70-ext_ports"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg05ed70-int_addr"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.int_addr" id="cbid.upnpd.cfg05ed70.int_addr" value="0.0.0.0/0" placeholder="0.0.0.0/0" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.cfg05ed70.int_addr', true, 'ip4addr'); //]]></script> </div> <div id="cbip-upnpd-cfg05ed70-int_addr"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg05ed70-int_ports"> <input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.int_ports" id="cbid.upnpd.cfg05ed70.int_ports" value="0-65535" placeholder="0-65535" /> <script type="text/javascript">//<![CDATA[ cbi_validate_field('cbid.upnpd.cfg05ed70.int_ports', true, 'portrange'); //]]></script> </div> <div id="cbip-upnpd-cfg05ed70-int_ports"></div> </td> <td class="cbi-value-field"> <div id="cbi-upnpd-cfg05ed70-action"> <select class="cbi-input-select" onchange="cbi_d_update(this.id)" id="cbid.upnpd.cfg05ed70.action" name="cbid.upnpd.cfg05ed70.action" size="1"> <option id="cbi-upnpd-cfg05ed70-action-allow" value="allow">allow</option><option id="cbi-upnpd-cfg05ed70-action-deny" value="deny" selected="selected">deny</option> </select> </div> <div id="cbip-upnpd-cfg05ed70-action"></div> </td> <td class="cbi-section-table-cell"> <input class="cbi-button cbi-button-up" type="button" value="" onclick="return cbi_row_swap(this, true, 'cbi.sts.upnpd.perm_rule')" alt="Move up" title="Move up" /> <input class="cbi-button cbi-button-down" type="button" value="" onclick="return cbi_row_swap(this, false, 'cbi.sts.upnpd.perm_rule')" alt="Move down" title="Move down" /> </td><td class="cbi-section-table-cell"> <input class="cbi-button cbi-button-remove" type="submit" value="Delete" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.upnpd.cfg05ed70" alt="Delete" title="Delete" /></td></tr></table> <div class="cbi-section-create cbi-tblsection-create"> <input class="cbi-button cbi-button-add" type="submit" value="Add" name="cbi.cts.upnpd.perm_rule.cfg05ed70" title="Add" /> </div></div> </fieldset> <!-- /tblsection --> <br /> }}} Browser Safari 6.0.2
#8257 It's the latest trunk from [url=http://downloads.openwrt.org/snapshots/trunk/ar71xx/]here[/url]
#772 Apologies, I pulled out the Translation guide in the last print statement during testing. Should be {{{ print "<tr><td>" package "</td><td><a href=\"ipkg.sh?action=install&pkg=" link "\" style=\"color: green\">@TR<<Install>></a></td><td>" comment "</td></tr>" }}}
Note: See TracReports for help on using and creating reports.