[pLog-svn] r5906 - in plog/trunk/class: action template/smarty/plugins view

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Sep 6 16:37:32 EDT 2007


Author: oscar
Date: 2007-09-06 16:37:32 -0400 (Thu, 06 Sep 2007)
New Revision: 5906

Modified:
   plog/trunk/class/action/locationdisplay.class.php
   plog/trunk/class/template/smarty/plugins/function.location_display.php
   plog/trunk/class/view/locationview.class.php
Log:
And a few more fixes.


Modified: plog/trunk/class/action/locationdisplay.class.php
===================================================================
--- plog/trunk/class/action/locationdisplay.class.php	2007-09-06 20:34:17 UTC (rev 5905)
+++ plog/trunk/class/action/locationdisplay.class.php	2007-09-06 20:37:32 UTC (rev 5906)
@@ -36,5 +36,10 @@
 			
 			return( true );
 		}
+		
+		function performAjax()
+		{
+			return( $this->perform());
+		}
 	}
 ?>
\ No newline at end of file

Modified: plog/trunk/class/template/smarty/plugins/function.location_display.php
===================================================================
--- plog/trunk/class/template/smarty/plugins/function.location_display.php	2007-09-06 20:34:17 UTC (rev 5905)
+++ plog/trunk/class/template/smarty/plugins/function.location_display.php	2007-09-06 20:37:32 UTC (rev 5906)
@@ -38,9 +38,9 @@
 		"{$baseUrl}/js/yui/yahoo/yahoo-min.js",
 		"{$baseUrl}/js/yui/dom/dom-min.js",
 		"{$baseUrl}/js/yui/event/event-min.js",
+		"{$baseUrl}/js/yui/animation/animation-min.js",		
 		"{$baseUrl}/js/yui/container/container-min.js",
 		"{$baseUrl}/js/yui/connection/connection-min.js",
-		"{$baseUrl}/js/yui/animation/animation-min.js",
 		"{$baseUrl}/js/ui/core.js",
 		"{$baseUrl}/js/ui/ui.js",
 		"{$baseUrl}/js/ui/contentoverlay.js",

Modified: plog/trunk/class/view/locationview.class.php
===================================================================
--- plog/trunk/class/view/locationview.class.php	2007-09-06 20:34:17 UTC (rev 5905)
+++ plog/trunk/class/view/locationview.class.php	2007-09-06 20:37:32 UTC (rev 5906)
@@ -13,8 +13,7 @@
 		
 		function LocationView( $blogInfo, $data = Array())
 		{
-			$r = HttpVars::getRequest();
-			if( isset( $r["mapOnly"] ))
+			if( Request::isXHR())
 				$template = "location_map";
 			else
 				$template = "location";



More information about the pLog-svn mailing list