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

441 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 441


more...

Donat-O-Meter

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

Latest GitHub Commits