ws, style
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 16 Feb 2010 17:02:14 +0000 (12:02 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 16 Feb 2010 17:02:14 +0000 (12:02 -0500)
ansel/lib/View/Image.php
ansel/lib/View/Results.php

index d239181..e52b764 100644 (file)
@@ -189,8 +189,6 @@ class Ansel_View_Image extends Ansel_View_Base
                                                                      'image' => $this->resource->id));
         }
 
-
-
         /* Check for an explicit gallery view url to use */
         if (!empty($this->_params['gallery_view_url'])) {
             $this->_urls['gallery'] = Horde_Util::addParameter(
index 2e78fe2..2c64393 100644 (file)
@@ -255,8 +255,7 @@ class Ansel_View_Results extends Ansel_View_Base
             }
             $rtaghtml .= '</ul>';
         }
-        $styleDef = Ansel::getStyleDefinition(
-            $GLOBALS['prefs']->getValue('default_gallerystyle'));
+        $styleDef = Ansel::getStyleDefinition($GLOBALS['prefs']->getValue('default_gallerystyle'));
         $style = $styleDef['name'];
         $viewurl = Horde_Util::addParameter('view.php', array('view' => 'Results',
                                                         'actionID' => 'add'));