------------------------------------------------------------
revno: 1219
committer: Roger Martin <[email protected]>
branch nick: aikiframework
timestamp: Tue 2012-07-10 21:44:16 +0200
message:
  repair inline widget
modified:
  libs/Engine_aiki.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/Engine_aiki.php'
--- libs/Engine_aiki.php	2012-07-10 12:48:27 +0000
+++ libs/Engine_aiki.php	2012-07-10 19:44:16 +0000
@@ -1067,8 +1067,9 @@
     }
 
     private function inline_widgets_helper($match){		
-		return ""; 
-		// @TODO whats?
+		global $aiki;		
+		$widget= $aiki->widgets->get_widget($match[1]);		
+		return (is_null($widget) ? "" : $this->createWidgetContent($widget,true) ) ;		
 	}
 
     /**

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to