]> git.pld-linux.org Git - packages/dokuwiki-plugin-odt.git/commitdiff
- outdated
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 19 Aug 2008 09:14:17 +0000 (09:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-odt-20070626.patch -> 1.2

dokuwiki-odt-20070626.patch [deleted file]

diff --git a/dokuwiki-odt-20070626.patch b/dokuwiki-odt-20070626.patch
deleted file mode 100644 (file)
index c0378f3..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/renderer.php b/renderer.php
-index 6aba3f3..a899e62 100644
---- a/renderer.php
-+++ b/renderer.php
-@@ -16,6 +16,7 @@ require_once DOKU_INC.'inc/ZipLib.class.php';
-  * The Renderer
-  */
- class renderer_plugin_odt extends Doku_Renderer {
-+    var $info = array("cache"=> false);
-     var $ZIP = null;
-     var $meta;
-     var $store = '';
-@@ -136,12 +137,9 @@ class renderer_plugin_odt extends Doku_Renderer {
-         $this->_odtMeta();
--        // store the content type headers in metadata
--        $headers = array(
--            'Content-Type' => 'application/vnd.oasis.opendocument.text',
--            'Content-Disposition' => 'attachment; filename="'.noNS($ID).'.odt";'
--        );
--        p_set_metadata($ID,array('format' => array('odt' => $headers) ));
-+        // send the content type header
-+        header('Content-Type: application/vnd.oasis.opendocument.text');
-+        header('Content-Disposition: attachment; filename="'.str_replace(':','-',$ID).'.odt";');
-     }
-     /**
This page took 0.098794 seconds and 4 git commands to generate.