Advanced_VPN_Content differencies between 376.2678 and 376.2061
1.
if(document.getElementById('pptpd_clientlist_table').rows[x].cells[1].title == pptpd_connected_clients[y].username){
if(document.getElementById('pptpd_clientlist_table').rows[x].cells[1].innerHTML == pptpd_connected_clients[y].username){
if($("openvpnd_clientlist_table").rows[x].cells[1].title == openvpnd_connected_clients[y].username){
if($("openvpnd_clientlist_table").rows[x].cells[1].innerHTML == openvpnd_connected_clients[y].username){
--------------
innerHTML replaced by title
2.
}else if(!Block_chars(valid_username, [" ", "@", "*", "+", "|", ":", "?", "<", ">", ",", ".", "/", ";", "[", "]", "\\", "=", "\"", "&" ])){
}else if(!Block_chars(valid_username, [" ", "@", "*", "+", "|", ":", "?", "<", ">", ",", ".", "/", ";", "[", "]", "\\", "=", "\"" ])){
}else if(!Block_chars(valid_password, ["<", ">", "&"])){
}else if(!Block_chars(valid_password, ["<", ">"])){
---------------
added "&" as block symbol
3.
if(rule_num >= upper){
if(rule_num > upper){
if(rule_num >= upper+1){
if(rule_num > upper+1){
------------------------------
">=" replaced by ">"
4.
if(username_obj.value == $(table_id).rows.cells[1].title){
if(username_obj.value == $(table_id).rows.cells[1].innerHTML){
-----------
innerHTML replaced by title
5.
code +='<td width="35%" title="'+pptpd_clientlist_col[0]+'">'+ pptpd_clientlist_col[0] +'</td>';
code +='<td width="35%">'+ pptpd_clientlist_col[0] +'</td>';
code +='<td width="35%" title="'+vpn_server_clientlist_col[0]+'">'+ vpn_server_clientlist_col[0] +'</td>';
code +='<td width="35%">'+ pptpd_clientlist_col[1] +'</td>';
----------------------
added title="'+pptpd_clientlist_col[0] and title="'+vpn_server_clientlist_col[0]
and replace pptpd_clientlist_col[1] by vpn_server_clientlist_col[0]
-----------
-----------------
what of these not able add username/password?