[pLog-svn] r753 - in plugins/trunk/feedreader: class/action templates

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Jan 18 16:30:38 GMT 2005


Author: oscar
Date: 2005-01-18 16:30:38 +0000 (Tue, 18 Jan 2005)
New Revision: 753

Modified:
   plugins/trunk/feedreader/class/action/readfeedaction.class.php
   plugins/trunk/feedreader/templates/main.template
Log:
now it works again


Modified: plugins/trunk/feedreader/class/action/readfeedaction.class.php
===================================================================
--- plugins/trunk/feedreader/class/action/readfeedaction.class.php	2005-01-18 15:37:04 UTC (rev 752)
+++ plugins/trunk/feedreader/class/action/readfeedaction.class.php	2005-01-18 16:30:38 UTC (rev 753)
@@ -5,6 +5,7 @@
 	include_once( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
 	include_once( PLOG_CLASS_PATH."plugins/feedreader/class/xml/rssparser.class.php" );
 	include_once( PLOG_CLASS_PATH."plugins/feedreader/class/dao/feedreaderdata.class.php" );	
+	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
 	
 	class ReadFeedAction extends AdminAction
 	{

Modified: plugins/trunk/feedreader/templates/main.template
===================================================================
--- plugins/trunk/feedreader/templates/main.template	2005-01-18 15:37:04 UTC (rev 752)
+++ plugins/trunk/feedreader/templates/main.template	2005-01-18 16:30:38 UTC (rev 753)
@@ -1,11 +1,15 @@
 {include file="$admintemplatepath/header.template"}
 {include file="$admintemplatepath/navigation.template" showOpt=feedReader title=$locale->tr("feedReader")}
-<table cols="2">
- <tr>
-  <th style="text-align:left">{$locale->tr("feed")}</th>
-  <th style="text-align:left">{$locale->tr("site")}</th>
-  <th style="text-align:left">{$locale->tr("last_read")}</th>
- </tr>
+<div id="list">
+<table class="info">
+ <thead>
+  <tr>
+   <th style="width:20px;">{$locale->tr("read")}</th>
+   <th style="width:400px;">{$locale->tr("name")}</th>
+   <th style="widht:300px";>{$locale->tr("url")}</th>
+  </tr>
+ </thead>
+ <tbody>
  {foreach from=$feeds item=feed}
    {assign var=link value=$feed->getMyLink()}
    {if $link->getRssFeed() != ""}
@@ -21,11 +25,13 @@
      {if $lastRead == ""}
       <i>not read yet</i>
      {else} 
-      {$locale->formatDate($lastRead, "%d/%m/%Y %H:%M")}
+      {$locale->formatDate($lastRead)}
      {/if} 
     </td>
-   </tr> 
+   </tr>
  {/foreach}
+</tbody>
 </table>
+</div>
 {include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}
\ No newline at end of file




More information about the pLog-svn mailing list