From a63e1cd2bef4d0cfd0aa92d4ff167ffea76a0fe3 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 31 Jul 2009 17:01:29 -0400 Subject: [PATCH] Rename the Geodata widget to Geotag widget --- ansel/config/styles.php.dist | 2 +- ansel/lib/View/Image.php | 2 +- ansel/lib/Widget/{Geodata.php => Geotag.php} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename ansel/lib/Widget/{Geodata.php => Geotag.php} (98%) diff --git a/ansel/config/styles.php.dist b/ansel/config/styles.php.dist index 9fe03c3a9..c239bdc2e 100644 --- a/ansel/config/styles.php.dist +++ b/ansel/config/styles.php.dist @@ -48,7 +48,7 @@ $widgets = array('Actions' => array(), 'Tags' => array('view' => 'gallery'), 'OtherGalleries' => array(), - 'Geodata' => array(), + 'Geotag' => array(), 'Links' => array(), 'GalleryFaces' => array(), 'OwnerFaces' => array()); diff --git a/ansel/lib/View/Image.php b/ansel/lib/View/Image.php index c3649e605..fef534fd2 100644 --- a/ansel/lib/View/Image.php +++ b/ansel/lib/View/Image.php @@ -323,7 +323,7 @@ class Ansel_View_Image extends Ansel_View_Base $this->addWidget(Ansel_Widget::factory('SimilarPhotos')); // Geolocation - $this->addWidget(Ansel_Widget::factory('Geodata', array('images' => array($this->resource->id)))); + $this->addWidget(Ansel_Widget::factory('Geotag', array('images' => array($this->resource->id)))); // Faces if ($conf['faces']['driver']) { diff --git a/ansel/lib/Widget/Geodata.php b/ansel/lib/Widget/Geotag.php similarity index 98% rename from ansel/lib/Widget/Geodata.php rename to ansel/lib/Widget/Geotag.php index 0369eb06c..89a995b00 100644 --- a/ansel/lib/Widget/Geodata.php +++ b/ansel/lib/Widget/Geotag.php @@ -1,6 +1,6 @@ * @package Ansel */ -class Ansel_Widget_Geodata extends Ansel_Widget_Base +class Ansel_Widget_Geotag extends Ansel_Widget_Base { protected $_supported_views = array('Image', 'Gallery'); protected $_params = array('default_zoom' => 15, -- 2.11.0