From: <be...@us...> - 2012-06-18 15:32:45
|
Revision: 9669 http://xoops.svn.sourceforge.net/xoops/?rev=9669&view=rev Author: beckmi Date: 2012-06-18 15:32:39 +0000 (Mon, 18 Jun 2012) Log Message: ----------- Adding Subtitle to template Modified Paths: -------------- XoopsModules/news/branches/mamba/news/article.php XoopsModules/news/branches/mamba/news/templates/news_item.html Modified: XoopsModules/news/branches/mamba/news/article.php =================================================================== --- XoopsModules/news/branches/mamba/news/article.php 2012-06-18 07:52:39 UTC (rev 9668) +++ XoopsModules/news/branches/mamba/news/article.php 2012-06-18 15:32:39 UTC (rev 9669) @@ -183,6 +183,7 @@ $story['posttime'] = formatTimestamp($article->published(),$dateformat); $story['news_title'] = $article->title(); $story['title'] = $article->textlink().' : '.$article->title(); +$story['subtitle'] = $article->subtitle(); $story['topic_title'] = $article->textlink(); Modified: XoopsModules/news/branches/mamba/news/templates/news_item.html =================================================================== --- XoopsModules/news/branches/mamba/news/templates/news_item.html 2012-06-18 07:52:39 UTC (rev 9668) +++ XoopsModules/news/branches/mamba/news/templates/news_item.html 2012-06-18 15:32:39 UTC (rev 9669) @@ -4,6 +4,7 @@ <h2><{$story.news_title}></h2> </span> </div> + <h6> <i><{$story.subtitle}></i></h6> <div class="itemInfo"> <{if $story.files_attached}><{$story.attached_link}> <{/if}> <{if $story.poster != ''}><span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span><{/if}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |