From 3bd9834ac329f083507ff98b943a8cb960f1b8d9 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 12 Aug 2009 11:41:38 -0400 Subject: [PATCH] Fix erroneous search/replace --- ansel/lib/Ansel.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/ansel/lib/Ansel.php b/ansel/lib/Ansel.php index 6337a5368..4958108f0 100644 --- a/ansel/lib/Ansel.php +++ b/ansel/lib/Ansel.php @@ -179,7 +179,7 @@ class Ansel * * @param string The generated URL */ - static public getUrlFor($controller, $data, $full = false, $append_session = 0) + static public function getUrlFor($controller, $data, $full = false, $append_session = 0) { global $prefs; @@ -440,7 +440,7 @@ class Ansel * * @return string The image path. */ - static public getImageUrl($imageId, $view = 'screen', $full = false, + static public function getImageUrl($imageId, $view = 'screen', $full = false, $style = null) { global $conf, $ansel_storage; @@ -512,7 +512,7 @@ class Ansel * * @return Horde_Image object | PEAR_Error */ - static public getImageObject($params = array()) + static public function getImageObject($params = array()) { global $conf; $context = array('tmpdir' => Horde::getTempDir()); @@ -535,7 +535,7 @@ class Ansel * * @return array The image data of the file as an array or PEAR_Error */ - static public getImageFromFile($file, $override = array()) + static public function getImageFromFile($file, $override = array()) { if (!file_exists($file)) { return PEAR::raiseError(sprintf(_("The file \"%s\" doesn't exist."), @@ -573,7 +573,7 @@ class Ansel * * @return boolean True if the function is available. */ - static public isAvailable($feature) + static public function isAvailable($feature) { static $capabilities; @@ -598,7 +598,7 @@ class Ansel /** * Build Ansel's list of menu items. */ - static public getMenu() + static public function getMenu() { global $conf, $registry; @@ -662,7 +662,7 @@ class Ansel * Generate a list of breadcrumbs showing where we are in the gallery * tree. */ - static public getBreadCrumbs($separator = ' » ', $gallery = null) + static public function getBreadCrumbs($separator = ' » ', $gallery = null) { global $prefs, $ansel_storage; @@ -794,7 +794,7 @@ class Ansel * * @return string The HTML for the