From: <nk...@us...> - 2010-03-17 20:44:02
|
Revision: 26180 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=26180&view=rev Author: nkoth Date: 2010-03-17 20:43:55 +0000 (Wed, 17 Mar 2010) Log Message: ----------- [FIX] Should wiki parse user module titles as well if "must parse" is selected Modified Paths: -------------- branches/5.x/lib/modules/modlib.php Modified: branches/5.x/lib/modules/modlib.php =================================================================== --- branches/5.x/lib/modules/modlib.php 2010-03-17 20:28:47 UTC (rev 26179) +++ branches/5.x/lib/modules/modlib.php 2010-03-17 20:43:55 UTC (rev 26180) @@ -611,12 +611,12 @@ $smarty->assign('module_type','cssmenu'); } - $smarty->assign('user_title', tra($info['title'])); - if (isset($info['parse']) && $info['parse'] == 'y') { $info['data'] = $tikilib->parse_data($info['data']); + $info['title'] = $tikilib->parse_data($info['title'], array('noparseplugins' => true)); } + $smarty->assign('user_title', tra($info['title'])); $smarty->assign_by_ref('user_data', $info['data']); $smarty->assign_by_ref('user_module_name', $info['name']); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |