From: Michael J. Rubinsky Date: Tue, 16 Feb 2010 17:02:14 +0000 (-0500) Subject: ws, style X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=722df1075e020413b3b0ac96d2098a74b2bee156;p=horde.git ws, style --- diff --git a/ansel/lib/View/Image.php b/ansel/lib/View/Image.php index d23918146..e52b764e9 100644 --- a/ansel/lib/View/Image.php +++ b/ansel/lib/View/Image.php @@ -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( diff --git a/ansel/lib/View/Results.php b/ansel/lib/View/Results.php index 2e78fe2c3..2c6439390 100644 --- a/ansel/lib/View/Results.php +++ b/ansel/lib/View/Results.php @@ -255,8 +255,7 @@ class Ansel_View_Results extends Ansel_View_Base } $rtaghtml .= ''; } - $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'));