{image} and other tags in NEWS module
Posted: Sat Jul 01, 2006 1:27 pm
I wanted to put tags in news content. For instance :
The actual news module won't render the tags. 
So, I change the last lines of action.default.php and action.detail.php for
By doing so, is there a security aspect I'm unaware?
Code: Select all
CMSMS 0.14 has been released.
Here's a screenshot : {image src="screenshot.png"} of the new interface.
Please {cms_selflink page="release" text="read the release notes"} before updating.

So, I change the last lines of action.default.php and action.detail.php for
Code: Select all
if (isset($params['summarytemplate']))
{
$tempdata = $this->ProcessTemplate($params['summarytemplate']);
}
else
{
$tempdata = $this->ProcessTemplateFromDatabase('displaysummary');
}
echo $this->ProcessTemplateFromData($tempdata);
Code: Select all
#Display template
if (isset($params['detailtemplate']))
{
$tempdata = $this->ProcessTemplate($params['detailtemplate']);
}
else
{
$tempdata = $this->ProcessTemplateFromDatabase('displaydetail');
}
echo $this->ProcessTemplateFromData($tempdata);