Skip to content
Permalink
Browse files

adding browser icons.

removed old php4 style reference.
  • Loading branch information...
padams
padams committed Dec 25, 2011
1 parent 5819332 commit df9c8579579df5a2fb50595d9f6a3192c2d3e3a0
Binary file not shown.
Binary file not shown.
@@ -50,18 +50,17 @@ class owa_news extends lastRSS {
var $crawler;
function owa_news() {
function __construct() {
$c = &owa_coreAPI::configSingleton();
$c = owa_coreAPI::configSingleton();
$this->config = $c->fetch('base');
$this->e = &owa_coreAPI::errorSingleton();
$this->e = owa_coreAPI::errorSingleton();
$this->crawler = new owa_http;
$this->crawler->read_timeout = 20;
$this->cache_dir = '';
$this->date_format = "F j, Y";
$this->CDATA = 'content';
$this->items_limit = 3;
return;
}
/**
@@ -204,11 +204,11 @@ function choose_browser_icon($browser_type) {
case "ie":
$file = 'ie.png';
$name = 'Microsoft Internet Explorer';
$name = 'Internet Explorer';
break;
case "internet explorer":
$file = 'ie.png';
$name = 'Microsoft Internet Explorer';
$name = 'Internet Explorer';
break;
case "firefox":
$file = 'firefox.png';
@@ -238,9 +238,13 @@ function choose_browser_icon($browser_type) {
$file = 'camino.png';
$name = 'Camino';
break;
case "aol":
$file = 'aol.png';
$name = 'AOL';
case "chrome":
$file = 'chrome.png';
$name = 'Chrome';
break;
case "chrome":
$file = 'chromium.png';
$name = 'Chromium';
break;
default:

0 comments on commit df9c857

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.