summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e03db8b)
raw | patch | inline | side by side (parent: e03db8b)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 9 Jul 2007 07:50:29 +0000 (07:50 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 9 Jul 2007 07:50:29 +0000 (07:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6772 594d385d-05f5-0310-b6e9-bd551577e9d8
Changelog | patch | blob | history | |
FAQ | patch | blob | history | |
html/index.php | patch | blob | history | |
html/main.php | patch | blob | history |
diff --git a/Changelog b/Changelog
index 5f28b5bbef73951b5d434aa5c92a693bf47cfe1d..a9f34cbf474a5d092b0238167bdd85a18395e0f5 100644 (file)
--- a/Changelog
+++ b/Changelog
* gosa 2.5.12
- Fixed problems with automatic reverse zones
+ - Fixed several IE6 related Java-Script problems
+ - Removed png.js by default. Looks ugly, but performs. Take
+ a look at the FAQ on how to re-enable it for IE.
* gosa 2.5.11a
- Added chinese translation
index 79eff7907421dd5410259bec62198593b5697072..25eb63fc20d0ddf1d167d423c3701a37eb5a2445 100644 (file)
--- a/FAQ
+++ b/FAQ
(60x60x2) would be for two hours. Place this option inside the main
section of your gosa.conf.
+
+Q: Microsoft Internet Explorer <=6 seems paints strange blocks around
+ images.
+
+A: Use Firefox, Konqueror, Safari, Opera, IE >= 7, etc. IE is broken and
+ I don't want to waste my time with working around this old crap. There's
+ a quick hack, if you just put "ie_png_workaround='true'" inside the main
+ section of your gosa.conf. This is a JavaScript based workaround and I've
+ to place a WARNING here, that it is damn slow if you've large lists to
+ display.
+
+ If you have much time, you can provide a seamless integration with MS
+ filter css extension.
diff --git a/html/index.php b/html/index.php
index 756d503782033ee7c98f871ab4e123477114ae3c..f57227ddd4336cc1fa29599348cd102d67a0ba98 100644 (file)
--- a/html/index.php
+++ b/html/index.php
if(isset($_POST["username"])){
$username= $_POST["username"];
}
+
+ /* Place ie workaround if needed */
+ if (isset($config->data['MAIN']['IE_PNG_WORKAROUND']) && preg_match("/true/i",$config->data['MAIN']['IE_PNG_WORKAROUND'])){
+ $smarty->assign('ieworkaround', 1);
+ }
+
$smarty->assign ('date', gmdate("D, d M Y H:i:s"));
$smarty->assign ('username', $username);
$smarty->assign ('personal_img', get_template_path('images/personal.png'));
diff --git a/html/main.php b/html/main.php
index 57996e0df2b13922e41eb0acae1d11db3ca4b89d..dc952df2e8348b6cb121647799b9c7cc16e88229 100644 (file)
--- a/html/main.php
+++ b/html/main.php
}
}
-/* Install eGOsa hooks, convert _POST to _SESSION['POST'] */
-if(isset($_GET['explorer'])){
- $_SESSION{'eGosa'}=1;
-}
-if(isset($_SESSION['POST'])){
- $_SERVER["REQUEST_METHOD"] = "POST";
- foreach ($_SESSION['POST'] as $key => $dummy){
- $_POST[$key]=$_SESSION['POST'][$key];
- }
- unset($_SESSION['POST']);
+/* Place IE workaround */
+if (isset($config->data['MAIN']['IE_PNG_WORKAROUND']) && preg_match("/true/i",$config->data['MAIN']['IE_PNG_WORKAROUND'])){
+ $smarty->assign('ieworkaround', 1);
}
/* show web frontend */