[Feed-collector-svn] SF.net SVN: feed-collector: [127] trunk
Status: Beta
Brought to you by:
c167
|
From: <C1...@us...> - 2007-06-06 17:30:24
|
Revision: 127
http://feed-collector.svn.sourceforge.net/feed-collector/?rev=127&view=rev
Author: C167
Date: 2007-06-06 10:27:50 -0700 (Wed, 06 Jun 2007)
Log Message:
-----------
show_feed_tag now working
Modified Paths:
--------------
trunk/page_show_feed_tag.php
trunk/styles/default/page_show_feed_tag.tpl
Modified: trunk/page_show_feed_tag.php
===================================================================
--- trunk/page_show_feed_tag.php 2007-06-06 16:54:31 UTC (rev 126)
+++ trunk/page_show_feed_tag.php 2007-06-06 17:27:50 UTC (rev 127)
@@ -78,13 +78,16 @@
$feed_list = array ();
foreach ($feed_manager->getSpecFeeds($feeds) as $list) {
$feed_list[$i] = $list;
+ $feed_list[$i]['site_lang'] = "pic/lang/".$list['site_lang'].".gif";
if( true === $tag_manager->hasTags($list['feed_url'])) {
$feed_list[$i]['has_tags'] = true;
$feed_list[$i]['tag_list'] = $tag_manager->getTags($list['feed_url']);
} else {
$feed_list[$i]['hast_tags'] = false;
}
+ $i++;
}
+ $smarty->assign('feed_list', $feed_list);
}
}
Modified: trunk/styles/default/page_show_feed_tag.tpl
===================================================================
--- trunk/styles/default/page_show_feed_tag.tpl 2007-06-06 16:54:31 UTC (rev 126)
+++ trunk/styles/default/page_show_feed_tag.tpl 2007-06-06 17:27:50 UTC (rev 127)
@@ -42,7 +42,7 @@
{/foreach}
</td>
{/if}
- <td class="right_side">{html_image file="pic/lang/{$i.site_lang}.gif alt=$i.site_lang}</td>
+ <td class="right_side">{html_image file=$i.site_lang alt=$i.site_lang}</td>
</tr>
{/foreach}
</tbody>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|