Track Horde_Mime_Viewer changes.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 8 Jan 2010 19:07:45 +0000 (12:07 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 8 Jan 2010 19:07:45 +0000 (12:07 -0700)
gollem/lib/Mime/Viewer/Images.php
whups/lib/Mime/Viewer/Zip.php

index ff4a74a..3652372 100644 (file)
@@ -19,11 +19,10 @@ class Gollem_Horde_Mime_Viewer_Images extends Horde_Mime_Viewer_Images
      * @var boolean
      */
     protected $_capability = array(
-        'embedded' => false,
-        'forceinline' => false,
         'full' => true,
         'info' => false,
-        'inline' => false
+        'inline' => false,
+        'raw' => false
     );
 
     /**
index 17825df..2d97a4c 100644 (file)
@@ -28,7 +28,7 @@ class Whups_Horde_Mime_Viewer_zip extends Horde_Mime_Viewer_Zip
     protected function _render()
     {
         if (!Horde_Util::getFormData('zip_attachment')) {
-            $this->_callback = array(&$this, '_WhupsCallback');
+            $this->_callback = array($this, '_whupsCallback');
             return parent::_render();
         }
 
@@ -62,10 +62,10 @@ class Whups_Horde_Mime_Viewer_zip extends Horde_Mime_Viewer_Zip
      *
      * @return array  See Horde_Mime_Viewer_Driver::render().
      */
-    protected function _renderInline()
+    protected function _renderInfo()
     {
-        $this->_callback = array(&$this, '_WhupsCallback');
-        return parent::_renderInline();
+        $this->_callback = array($this, '_whupsCallback');
+        return parent::_renderInfo();
     }
 
     /**
@@ -76,7 +76,7 @@ class Whups_Horde_Mime_Viewer_zip extends Horde_Mime_Viewer_Zip
      *
      * @return string  The content-type of the output.
      */
-    protected function _WhupsCallback($key, $val)
+    protected function _whupsCallback($key, $val)
     {
         $name = preg_replace('/(&nbsp;)+$/', '', $val['name']);