From b45c6c4285a5c7f30fec272f029edbf2fbb6ef50 Mon Sep 17 00:00:00 2001 From: vargenau Date: Sat, 31 Jan 2009 12:13:51 +0000 Subject: [PATCH] Netscape 3 and 4 are dead git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@6468 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/config.php | 8 -------- lib/editpage.php | 7 +------ 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/lib/config.php b/lib/config.php index 851cef557..8ed25a89f 100644 --- a/lib/config.php +++ b/lib/config.php @@ -99,14 +99,6 @@ function isBrowserNetscape($version = false) { if ($version) return $agent and browserVersion() >= $version; else return $agent; } -// NS3 or less -function isBrowserNS3() { - return (isBrowserNetscape() and browserVersion() < 4.0); -} -// NS4 or less -function isBrowserNS4() { - return (isBrowserNetscape() and browserVersion() < 5.0); -} // must omit display alternate stylesheets: konqueror 3.1.4 // http://sourceforge.net/tracker/index.php?func=detail&aid=945154&group_id=6121&atid=106121 function isBrowserKonqueror($version = false) { diff --git a/lib/editpage.php b/lib/editpage.php index c39aac9a7..4f04ad9c0 100644 --- a/lib/editpage.php +++ b/lib/editpage.php @@ -516,7 +516,7 @@ class PageEditor ']')); } else { - // New CSS formatted unified diffs (ugly in NS4). + // New CSS formatted unified diffs $fmt = new HtmlUnifiedDiffFormatter; // Use this for old table-formatted diffs. //$fmt = new TableUnifiedDiffFormatter; @@ -613,11 +613,6 @@ class PageEditor 'cols' => $request->getPref('editWidth'), 'readonly' => (bool) $readonly), $this->_content); - /**