From 2a4ea914d0ad48d60f3bd3728853ac31e14cb89e Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 14 Mar 2003 08:45:09 +0000 Subject: [PATCH] added ie ssl download hack for checkout download button --- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index 36c661a..99464a4 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -339,7 +339,12 @@ function getCheckOutEditPage($oDocument, $bCheckedOut = false) { $sToRender .= "\t\tYou have now checked out this document. No one else can make updates to the document while you have it checked out. Click the Download button to get the latest version of the file. Please check it back in, as soon as you finish working on it.\n"; $sToRender .= "\t"; $sToRender .= "\t\n"; - $sToRender .= "rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID() . "&fForDownload=1\">graphicsUrl/widgets/download.gif\" border=\"0\" />\n"; + // IE ssl download hack- don't use ssl to download + if ($default->phpSniff->property("browser") == "ie") { + $sToRender .= "serverName . "$default->rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID() . "&fForDownload=1\">graphicsUrl/widgets/download.gif\" border=\"0\" />\n"; + } else { + $sToRender .= "rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID() . "&fForDownload=1\">graphicsUrl/widgets/download.gif\" border=\"0\" />\n"; + } $sToRender .= "rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID() . "\">graphicsUrl/widgets/back.gif\" border=\"0\" />\n"; } else { $sToRender .= "\t\t" . renderCheckOutPage($oDocument) . "\n"; -- libgit2 0.21.4