From: <var...@us...> - 2010-05-31 12:50:59
|
Revision: 7451 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7451&view=rev Author: vargenau Date: 2010-05-31 12:50:50 +0000 (Mon, 31 May 2010) Log Message: ----------- RIP Netscape 3 & 4 Modified Paths: -------------- trunk/lib/config.php trunk/lib/editpage.php Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2010-05-31 12:44:46 UTC (rev 7450) +++ trunk/lib/config.php 2010-05-31 12:50:50 UTC (rev 7451) @@ -96,14 +96,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 2010-05-31 12:44:46 UTC (rev 7450) +++ trunk/lib/editpage.php 2010-05-31 12:50:50 UTC (rev 7451) @@ -624,11 +624,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. |