<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>missing column in function _renderVarDisplayEnd Form/Renderer.php</title>
  <pubDate>Sat, 22 Nov 2008 10:00:09 -0500</pubDate>
  <link>http://bugs.horde.org/ticket/6888</link>
  <atom:link rel="self" type="application/rss+xml" title="missing column in function _renderVarDisplayEnd Form/Renderer.php" href="http://bugs.horde.org/ticket/6888/rss" />
  <description>missing column in function _renderVarDisplayEnd Form/Renderer.php</description>

  
  
  <item>
   <title>Switching a Form Variable to Readonly the help link and the </title>
   <description>Switching a Form Variable to Readonly the help link and the column is turned of.
The first is correct, but the second results in the alternating row colors for even 
and odd rows can breake on the last column</description>
   <pubDate>Tue, 10 Jun 2008 10:34:38 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6888#t46194</link>
  </item>
  <item>
   <title>... and this patch will just add in an extra column every ti</title>
   <description>... and this patch will just add in an extra column every time, even when it's not needed.</description>
   <pubDate>Tue, 10 Jun 2008 17:52:58 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6888#t46224</link>
  </item>
  <item>
   <title>Can you please point out a place in a Horde app where this h</title>
   <description>Can you please point out a place in a Horde app where this happens, or supply a small script to reproduce the problem?</description>
   <pubDate>Tue, 10 Jun 2008 17:54:39 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6888#t46226</link>
  </item>
  <item>
   <title>&gt; Can you please point out a place in a Horde app where this</title>
   <description>&gt; Can you please point out a place in a Horde app where this happens, 
&gt; or supply a small script to reproduce the problem?


I don't know if this would happen in a normal Hordeinstallation.
We want to disallow our users to edit the &quot;My email Addresses&quot; field in Ingo Vacaions,
Therefor we patched ingo/vacation.php. See the Attached Image

horde/ingo# diff -u vacation.php.orig  vacation.php
--- vacation.php.orig   2008-05-01 00:11:50.000000000 +0200
+++ vacation.php        2008-06-10 15:13:30.000000000 +0200
@@ -50,7 +50,7 @@
 $form-&gt;setSection('advanced', _(&quot;Advanced Settings&quot;));
 if (empty($conf['hooks']['vacation_addresses']) ||
     empty($conf['hooks']['vacation_only'])) {
-    $v = &amp;$form-&gt;addVariable(_(&quot;My email addresses:&quot;), 'addresses', 'longtext', true, false, null, array(5, 40));
+    $v = &amp;$form-&gt;addVariable(_(&quot;My email addresses:&quot;), 'addresses', 'longtext', true, true, null, array(5, 40));
     $v-&gt;setHelp('vacation-myemail');
 }
 $v = &amp;$form-&gt;addVariable(_(&quot;Addresses to not send responses to:&quot;), 'excludes', 'longtext', false, false, null, array(10, 40));
---------------------------------------------------

I think this may happen in any Form where Readonly and Readwrite Variables are used, but i don't 
konw if this is happening anywhere else. If it happens anyware else in Horde there is a 50% chance that we don't see it.  

In case of readonly the functions  _renderVarDisplayBegin and _renderVarDisplayEnd are used instad of _renderVarInputBegin and _renderVarInputEnd which have one column less.
The other idea would be not to call _renderVarDisplay* but _renderVarInput* and parse the readonlyflag to  _renderVarInput* so that readonly option is inserted in the input htmltag


</description>
   <pubDate>Wed, 11 Jun 2008 03:15:51 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6888#t46235</link>
  </item>
  <item>
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title>
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/Form/Form/Renderer.php?r1=1.221&amp;r2=1.222&amp;ty=u</description>
   <pubDate>Sun, 15 Jun 2008 17:08:36 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6888#t46514</link>
  </item>
  <item>
   <title>Fixed for Horde 3.2.2.</title>
   <description>Fixed for Horde 3.2.2.</description>
   <pubDate>Sun, 15 Jun 2008 17:10:37 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6888#t46515</link>
  </item>
  

 </channel>
</rss>
