[pLog-svn] r759 - in plugins/trunk/feedreader: class/action class/dao class/view templates

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Jan 18 21:27:17 GMT 2005


Author: oscar
Date: 2005-01-18 21:27:17 +0000 (Tue, 18 Jan 2005)
New Revision: 759

Modified:
   plugins/trunk/feedreader/class/action/feedreaderaction.class.php
   plugins/trunk/feedreader/class/dao/feedreaderdata.class.php
   plugins/trunk/feedreader/class/view/feedlistview.class.php
   plugins/trunk/feedreader/templates/feedlist.template
Log:
jesus christmas, will I ever get it right??


Modified: plugins/trunk/feedreader/class/action/feedreaderaction.class.php
===================================================================
--- plugins/trunk/feedreader/class/action/feedreaderaction.class.php	2005-01-18 21:22:55 UTC (rev 758)
+++ plugins/trunk/feedreader/class/action/feedreaderaction.class.php	2005-01-18 21:27:17 UTC (rev 759)
@@ -16,7 +16,7 @@
 		
 		function perform()
 		{
-			$this->_categoryId = $this->_request->getValue( "showCategory", -1 );		
+			$this->_categoryId = $this->_request->getValue( "showCategory", 0 );		
 		
 			$this->_view = new FeedListView( $this->_blogInfo, $this->_categoryId );
 			$this->setCommonData();

Modified: plugins/trunk/feedreader/class/dao/feedreaderdata.class.php
===================================================================
--- plugins/trunk/feedreader/class/dao/feedreaderdata.class.php	2005-01-18 21:22:55 UTC (rev 758)
+++ plugins/trunk/feedreader/class/dao/feedreaderdata.class.php	2005-01-18 21:27:17 UTC (rev 759)
@@ -129,7 +129,7 @@
 		 * @return An array of FeedData objects or an empty array if there
 		 * was any problem
 		 */
-		function getBlogFeeds( $blogId, $linkCategoryId = -1 )
+		function getBlogFeeds( $blogId, $linkCategoryId = 0 )
 		{
 			// get the mylinks objects for the blog
 			$myLinks = new MyLinks();

Modified: plugins/trunk/feedreader/class/view/feedlistview.class.php
===================================================================
--- plugins/trunk/feedreader/class/view/feedlistview.class.php	2005-01-18 21:22:55 UTC (rev 758)
+++ plugins/trunk/feedreader/class/view/feedlistview.class.php	2005-01-18 21:27:17 UTC (rev 759)
@@ -11,7 +11,7 @@
 	{
 		var $_categoryId;
 	
-		function FeedListView( $blogInfo, $categoryId = -1 )
+		function FeedListView( $blogInfo, $categoryId = 0 )
 		{
 			$this->AdminPluginTemplatedView( $blogInfo, "feedreader", "feedlist" );
 			

Modified: plugins/trunk/feedreader/templates/feedlist.template
===================================================================
--- plugins/trunk/feedreader/templates/feedlist.template	2005-01-18 21:22:55 UTC (rev 758)
+++ plugins/trunk/feedreader/templates/feedlist.template	2005-01-18 21:27:17 UTC (rev 759)
@@ -9,7 +9,7 @@
     <label for="showCategory">{$locale->tr("category")}</label>
 	<br />
 	 <select name="showCategory" id="showCategory">
-      <option value="-1">{$locale->tr("category_all")}</option>
+      <option value="0">{$locale->tr("category_all")}</option>
       {foreach from=$linkscategories item=category}
       <option value="{$category->getId()}" {if $currentcategory == $category->getId()} selected="selected" {/if}>{$category->getName()}</option>
       {/foreach}




More information about the pLog-svn mailing list