From: <nk...@us...> - 2011-06-03 16:30:31
|
Revision: 34746 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=34746&view=rev Author: nkoth Date: 2011-06-03 16:30:25 +0000 (Fri, 03 Jun 2011) Log Message: ----------- [FIX] Map not showing, showing html code instead Modified Paths: -------------- branches/7.x/lib/wiki-plugins/wikiplugin_googlemap.php Modified: branches/7.x/lib/wiki-plugins/wikiplugin_googlemap.php =================================================================== --- branches/7.x/lib/wiki-plugins/wikiplugin_googlemap.php 2011-06-03 16:09:49 UTC (rev 34745) +++ branches/7.x/lib/wiki-plugins/wikiplugin_googlemap.php 2011-06-03 16:30:25 UTC (rev 34746) @@ -11,7 +11,7 @@ 'documentation' => 'PluginGoogleMap', 'description' => tra('Display a Google map'), 'prefs' => array( 'wikiplugin_googlemap' ), -// 'validate' => 'all', + 'format' => 'html', 'icon' => 'pics/icons/google.png', 'params' => array( 'type' => array( @@ -596,7 +596,7 @@ $smarty->assign('gmaphidden', 1); } - $ret = '~np~' . $smarty->fetch('wiki-plugins/wikiplugin_googlemap.tpl') . '~/np~'; + $ret = $smarty->fetch('wiki-plugins/wikiplugin_googlemap.tpl'); return $ret; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |