|
From: <var...@us...> - 2009-01-31 13:22:14
|
Revision: 6468
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6468&view=rev
Author: vargenau
Date: 2009-01-31 12:13:51 +0000 (Sat, 31 Jan 2009)
Log Message:
-----------
Netscape 3 and 4 are dead
Modified Paths:
--------------
trunk/lib/config.php
trunk/lib/editpage.php
Modified: trunk/lib/config.php
===================================================================
--- trunk/lib/config.php 2009-01-30 18:37:08 UTC (rev 6467)
+++ trunk/lib/config.php 2009-01-31 12:13:51 UTC (rev 6468)
@@ -99,14 +99,6 @@
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) {
Modified: trunk/lib/editpage.php
===================================================================
--- trunk/lib/editpage.php 2009-01-30 18:37:08 UTC (rev 6467)
+++ trunk/lib/editpage.php 2009-01-31 12:13:51 UTC (rev 6468)
@@ -516,7 +516,7 @@
']'));
}
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 @@
'cols' => $request->getPref('editWidth'),
'readonly' => (bool) $readonly),
$this->_content);
- /** <textarea wrap="virtual"> is not valid XHTML but Netscape 4 requires it
- * to wrap long lines.
- */
- if (isBrowserNS4())
- $textarea->setAttr('wrap', 'virtual');
if (ENABLE_WYSIWYG) {
return $this->WysiwygEdit->Textarea($textarea, $this->_wikicontent,
$textarea->getAttr('name'));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|