|
From: <var...@us...> - 2021-08-14 13:16:07
|
Revision: 10513
http://sourceforge.net/p/phpwiki/code/10513
Author: vargenau
Date: 2021-08-14 13:16:04 +0000 (Sat, 14 Aug 2021)
Log Message:
-----------
Remove MacOSX CSS hack
Modified Paths:
--------------
trunk/themes/MacOSX/themeinfo.php
trunk/themes/default/phpwiki-printer.css
Modified: trunk/themes/MacOSX/themeinfo.php
===================================================================
--- trunk/themes/MacOSX/themeinfo.php 2021-08-14 12:46:33 UTC (rev 10512)
+++ trunk/themes/MacOSX/themeinfo.php 2021-08-14 13:16:04 UTC (rev 10513)
@@ -57,19 +57,6 @@
class WikiTheme_MacOSX extends WikiTheme
{
- function getCSS()
- {
- // FIXME: this is a hack which will not be needed once
- // we have dynamic CSS.
- $css = WikiTheme::getCSS();
- $css->pushContent(HTML::style(array('type' => 'text/css'),
- new RawXml(sprintf("<!--\nbody {background-image: url(%s);}\n-->\n",
- $this->getImageURL('bgpaper8')))));
- //for non-browse pages, like former editpage, message etc.
- //$this->getImageURL('bggranular')));
- return $css;
- }
-
function getRecentChangesFormatter($format)
{
include_once($this->file('lib/RecentChanges.php'));
Modified: trunk/themes/default/phpwiki-printer.css
===================================================================
--- trunk/themes/default/phpwiki-printer.css 2021-08-14 12:46:33 UTC (rev 10512)
+++ trunk/themes/default/phpwiki-printer.css 2021-08-14 13:16:04 UTC (rev 10513)
@@ -9,16 +9,6 @@
* General
*/
-/**
- * required for Mozilla with MacOSX theme, because of
- * body {background-image: url(/finkwiki/themes/MacOSX/images/bgpaper8.png);}
- * within the html itself. It still does not suppress
- * the bg image of a small strip near the top and bottom. :/
- */
-html {
- background: white;
-}
-
body {
margin: 1em;
padding: 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|