[#252] HTML syntax wrong in /turba/templates/browse/select.inc
Summary HTML syntax wrong in /turba/templates/browse/select.inc
Queue Turba
Queue Version 1.2.2
Type Bug
State Resolved
Priority 1. Low
Owners
Requester stp (at) pinkmarketing (dot) at
Created 06/02/2004 (1681 days ago)
Due
Updated 07/24/2004 (1629 days ago)
Assigned
Resolved 07/24/2004 (1629 days ago)
Attachments
Milestone
Patch No

History
07/24/2004 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Wasn't quite the right fix, but fixed now in CVS. Thanks.
06/15/2004 Jan Schneider State ⇒
 
06/02/2004 stp (at) pinkmarketing (dot) at Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Queue ⇒ Turba
Reply to this comment
/turba/browse.php is loading in the /turba/templates/browse/footer.inc 
in the third line from the bottom up.

DIST:

require TURBA_TEMPLATES . '/browse/footer.inc';

SHOULD BE:

//require TURBA_TEMPLATES . '/browse/footer.inc';

<snip>

After the open /turba/templates/browse/select.inc.

DIST:

<form name="directory_list" action="<?php echo 
Horde::applicationUrl('browse.php') ?>" method="get">
<?php echo Horde::formInput() ?>
<tr>
   <td class="header" align="center">
     <table border="0" width="100%" cellpadding="0" cellspacing="0">
     <tr>
       <td align="right" width="30%" class="header">
         <b><?php echo _("Select Address Book") ?>&nbsp;&nbsp;</b>
       </td>

       <td align="left" width="70%" class="header">
         <select name="source"><?php echo $source_options ?></select>
         <input class="button" type="submit" value="<?php echo _("Show") ?>" />
       </td>
     </tr>
     </table>
   </td>
</tr>
</form>

SHOULD BE (include the <table> tags before and after <tr> and inside 
the <form> tags):

<form name="directory_list" action="<?php echo 
Horde::applicationUrl('browse.php') ?>" method="get">
<?php echo Horde::formInput() ?>
<table border="0" width="100%">
<tr>
   <td class="header" align="center">
     <table border="0" width="100%" cellpadding="0" cellspacing="0">
     <tr>
       <td align="right" width="30%" class="header">
         <b><?php echo _("Select Address Book") ?>&nbsp;&nbsp;</b>
       </td>

       <td align="left" width="70%" class="header">
         <select name="source"><?php echo $source_options ?></select>
         <input class="button" type="submit" value="<?php echo _("Show") ?>" />
       </td>
     </tr>
     </table>
   </td>
</tr>
</table>
</form>