This mail is an automated notification from the bugs tracker
 of the project: Savane.




/**************************************************************************/
[bugs #416] Full Item Snapshot:

URL: <http://gna.org/bugs/?func=detailitem&item_id=416>
Project: Savane
Submitted by: Vincent Caron
On: Thu 06/10/04 at 12:20

Category:  Web Frontend
Severity:  3 - Average
Priority:  C - Normal
Resolution:  None
Assigned to:  None
Status:  Open
Release:  
Planned Release:  


Summary:  News HTML layout is broken

Original Submission:  As read from /index.php:



  $HTML->box1_top(...);

  echo news_show_latest(...); 

  $HTML->box1_bottom();



The trouble is that box1_top() starts a <table><tr><td>, box1_bottom() ends 
with </td></tr></table, and news_show_latest() should ouput regular content.



But news_show_latest() makes assumption on its context, and outputs news items 
in <tr><td>...</td></tr> elements, trying to extend the box model, ant it fails 
:



[box1_top:]

<table>

  <tr>

    <td>

[news_show_latest:]

      <tr><td> ... item ... </td></tr>

      <tr><td> ... item ... </td></tr>

[box1_bottom:]

    </td>

  </tr>

</table>



Proposed solution:



  1- improve the box model in Layout.php to accept multiple rows of content



  2- move the box_ calls into news_show_latest, have only the global news 
header passed as argument to news_show_latest













For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=416>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Reply via email to