[dev] [patch] agora UI fixes

Vilius Sumskas vilius at lnk.lt
Thu Sep 9 06:55:23 PDT 2004


Hi,

this patch was submitted a week ago, but it was lost somewhere, so I'm
resubmitting.

-- 
   Best Regards,

   Vilius Sumskas
   LNK TV system administrator
   mob.: +370 614 75713
   www.lnk.lt
-------------- next part --------------
Index: index.php
===================================================================
RCS file: /repository/agora/messages/index.php,v
retrieving revision 1.9
diff -u -r1.9 index.php
--- index.php	1 Sep 2004 14:00:39 -0000	1.9
+++ index.php	3 Sep 2004 08:36:21 -0000
@@ -61,9 +61,8 @@
 $main_template = &new Horde_Template();
 $main_template->set('menu', $menu->getMenu());
 $main_template->set('notify', Util::bufferOutput(array($notification, 'notify'), array('listeners' => 'status')));
-$main_template->set('threads_list_header', _("Thread List"));
-$main_template->set('actions', $actions);
-$main_template->set('threads', $threads);
+$main_template->set('actions', $actions, true);
+$main_template->set('threads', $threads, true);
 
 $title = _("Thread List");
 require AGORA_TEMPLATES . '/common-header.inc';
-------------- next part --------------
Index: index.html
===================================================================
RCS file: /repository/agora/templates/messages/index.html,v
retrieving revision 1.10
diff -u -r1.10 index.html
--- index.html	1 Sep 2004 14:00:39 -0000	1.10
+++ index.html	3 Sep 2004 08:35:48 -0000
@@ -20,10 +20,10 @@
 <table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tr>
     <td class="header">
-      <tag:threads_list_header />
-    </td><td class="header" align="right">
-      <span class="smallheader"><if:actions><loop:actions><divider:actions> | </divider:actions><tag:actions /></loop:actions></if:actions></span>
-    </td>
+      <gettext>Thread List</gettext>
+    </td><if:actions><td class="header" align="right">
+      <span class="smallheader"><loop:actions><divider:actions> | </divider:actions><tag:actions /></loop:actions></span>
+    </td></if:actions>
   </tr>
 </table>
 
-------------- next part --------------
Index: threads.html
===================================================================
RCS file: /repository/agora/templates/block/threads.html,v
retrieving revision 1.10
diff -u -r1.10 threads.html
--- threads.html	25 Jun 2004 15:46:03 -0000	1.10
+++ threads.html	3 Sep 2004 07:54:17 -0000
@@ -13,10 +13,10 @@
 <if:threads>
   <loop:threads>
   <tr class="<tag:threads.class />">
-    <td nowrap="nowrap" align="center">
+    <td nowrap="nowrap">
       <loop:threads.actions><tag:threads.actions /></loop:threads.actions>
     </td><td>
-      <tag:threads.indent /><tag:threads.link /><tag:threads.message_subject /></a>
+      <tag:threads.link /><tag:threads.message_subject /></a>
     </td><td>
       <tag:threads.message_author />
     </td><td>


More information about the dev mailing list