1
novlang1984
xNews 1.71 RC - PDF plugin detection causes troubles

In article.php
//DNPROSSI - Added for adobe detection * does not work in msie
$browser $_SERVER['HTTP_USER_AGENT'];
//'msie', 'firefox', 'safari', 'webkit', 'opera', 'netscape', 'konqueror', 'gecko'
if ( !preg_match("/msie[^;]*/i"$browser) ) {
    
$has_adobe nw_detect_adobe();
} else {  
$has_adobe 1; }


this script causes troubles with Opera, same behavior than an unclosed tag...

Login

Who's Online

574 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 574


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits