[Gforge-devel] [#1200] Patch to make xhtml 1.0 complaint news

Federico federicot at gmail.com
Mon Jun 12 10:16:51 EDT 2006


https://gforge.org/tracker/index.php?func=detail&aid=1200&group_id=1&atid=106
aplied patches to head 4.6

Index: www/forum/include/ForumHTML.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/forum/include/ForumHTML.class,v
retrieving revision 1.55
diff -r1.55 ForumHTML.class
92c92
<
$menu_links[]='/forum/forum.php?forum_id='.$forum_id.'&group_id='.$group_id;
---
>               $menu_links[]='"/forum/forum.php?forum_id='.$forum_id.'"';
Index: www/include/Layout.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/Layout.class,v
retrieving revision 1.129
diff -r1.129 Layout.class
315c315
<               <table cellspacing="0" cellpadding="0" width="100%"
border="0" background="'.$this->imgroot.'vert-grad.png">
---
>               <table cellspacing="0" cellpadding="0" width="100%"
border="0" style="background:url('.$this->imgroot.'vert-grad.png)">
317,319c317,319
<                       <td valign="top" align="right" width="10"
background="'.$this->imgroot.'box-topleft.png"><img src="'.$this->imgroot.'
clear.png" width="10" height="20" /></td>
<                       <td width="100%" background="'.$this->imgroot.'
box-grad.png"><span class="titlebar">'.$title.'</span></td>
<                       <td valign="top" width="10"
background="'.$this->imgroot.'box-topright.png"><img src="'.$this->imgroot.'
clear.png" width="10" height="20" /></td>
---
>                       <td valign="top" align="right" width="10"
style="background:url('.$this->imgroot.'box-topleft.png)"><img
src="'.$this->imgroot.'clear.png" width="10" height="20" alt="" /></td>
>                       <td width="100%"
style="background:url('.$this->imgroot.'box-grad.png)"><span
class="titlebar">'.$title.'</span></td>
>                       <td valign="top" width="10"
style="background:url('.$this->imgroot.'box-topright.png)"><img
src="'.$this->imgroot.'clear.png" width="10" height="20" alt="" /></td>
342c342
<                                       <td colspan="2"
background="'.$this->imgroot.'box-grad.png"><span
class="titlebar">'.$title.'</span></td>
---
>                                       <td colspan="2"
style="background:url('.$this->imgroot.'box-grad.png)"><span
class="titlebar">'.$title.'</span></td>
389,390c389,390
<       <!--            <td valign="top" align="right" width="10"
background="'.$this->imgroot.'box-grad.png"><img src="'.$this->imgroot.'
box-topleft.png" width="10" height="75" /></td> -->
<                       <td background="'.$this->imgroot.'box-grad.png">
---
>       <!--            <td valign="top" align="right" width="10"
style="background:url('.$this->imgroot.'box-grad.png)"><img
src="'.$this->imgroot.'box-topleft.png" width="10" height="75" alt=""
/></td> -->
>                       <td style="background:url('.$this->imgroot.'
box-grad.png)">
410c410
<                       <!-- <td valign="top" align="right" width="10"
background="'.$this->imgroot.'box-grad.png"><img src="'.$this->imgroot.'
box-topright.png" width="10" height="75" /></td> -->
---
>                       <!-- <td valign="top" align="right" width="10"
style="background:url('.$this->imgroot.'box-grad.png)"><img
src="'.$this->imgroot.'box-topright.png" width="10" height="75" alt=""
/></td> -->
652c652
<                                       <td '.$rowspan.'valign="top"
width="10" background="'.$this->imgroot . 'theme-'.$inner.'-end-'.(($issel)
? '' : 'not').'selected.png">'.
---
>                                       <td '.$rowspan.'valign="top"
width="10" style="background:url('.$this->imgroot .
'theme-'.$inner.'-end-'.(($issel) ? '' : 'not').'selected.png)">'.
654c654
<                                               '<td
'.$rowspan.'background="'.$this->imgroot . $bgimg.'" width="'.$width.'%"
align="center"><a class="'. (($issel)?'tabsellink':'tablink') .'"
href="'.$TABS_DIRS[$i].'">'.$TABS_TITLES[$i].'</a></td>';
---
>                                               '<td
'.$rowspan.'style="background:url('.$this->imgroot . $bgimg.')"
width="'.$width.'%" align="center"><a class="'.
(($issel)?'tabsellink':'tablink') .'"
href="'.$TABS_DIRS[$i].'">'.$TABS_TITLES[$i].'</a></td>';
667c667
<                                       <td '.$rowspan.'colspan="2"
valign="top" width="20" background="'.$this->imgroot .
'theme-'.$inner.'-'.(($wassel) ? '' : 'not').'selected-'.(($issel) ? '' :
'not').'selected.png">'.
---
>                                       <td '.$rowspan.'colspan="2"
valign="top" width="20" style="background:url('.$this->imgroot .
'theme-'.$inner.'-'.(($wassel) ? '' : 'not').'selected-'.(($issel) ? '' :
'not').'selected.png)">'.
669c669
<                                               '<td
'.$rowspan.'background="'.$this->imgroot . $bgimg.'" width="'.$width.'%"
align="center"><a class="'. (($issel)?'tabsellink':'tablink') .'"
href="'.$TABS_DIRS[$i].'">'.$TABS_TITLES[$i].'</a></td>';
---
>                                               '<td
'.$rowspan.'style="background:url('.$this->imgroot . $bgimg.')"
width="'.$width.'%" align="center"><a class="'.
(($issel)?'tabsellink':'tablink') .'"
href="'.$TABS_DIRS[$i].'">'.$TABS_TITLES[$i].'</a></td>';
674c674
<                                       <td '.$rowspan.'valign="top"
width="10" background="'.$this->imgroot . 'theme-'.$inner.'-'.(($issel) ? ''
: 'not').'selected-end.png">'.
---
>                                       <td '.$rowspan.'valign="top"
width="10" style="background:url('.$this->imgroot .
'theme-'.$inner.'-'.(($issel) ? '' : 'not').'selected-end.png)">'.
689c689
<                                       <td '.$rowspan.'colspan="2"
valign="top" width="20" background="'.$this->imgroot .
'theme-'.$inner.'-'.(($wassel) ? '' : 'not').'selected-'.(($issel) ? '' :
'not').'selected.png">'.
---
>                                       <td '.$rowspan.'colspan="2"
valign="top" width="20" style="background:url('.$this->imgroot .
'theme-'.$inner.'-'.(($wassel) ? '' : 'not').'selected-'.(($issel) ? '' :
'not').'selected.png)">'.
691c691
<                                               '<td
'.$rowspan.'background="'.$this->imgroot . $bgimg.'" width="'.$width.'%"
align="center"><a class="'. (($issel)?'tabsellink':'tablink') .'"
href="'.$TABS_DIRS[$i].'">'.$TABS_TITLES[$i].'</a></td>';
---
>                                               '<td
'.$rowspan.'style="background:url('.$this->imgroot . $bgimg.')"
width="'.$width.'%" align="center"><a class="'.
(($issel)?'tabsellink':'tablink') .'"
href="'.$TABS_DIRS[$i].'">'.$TABS_TITLES[$i].'</a></td>';
712c712
<                       $return .= '<td colspan="'.$beg_cols.'" height="1"
class="notSelTab"><img src="'.$this->imgroot.'clear.png" height="1"
width="10" /></td>';
---
>                       $return .= '<td colspan="'.$beg_cols.'" height="1"
class="notSelTab"><img src="'.$this->imgroot.'clear.png" height="1"
width="10" alt="" /></td>';
714c714
<               $return .= '<td colspan="3" height="1" class="selTab"><img
src="'.$this->imgroot.'clear.png" height="1" width="10" /></td>';
---
>               $return .= '<td colspan="3" height="1" class="selTab"><img
src="'.$this->imgroot.'clear.png" height="1" width="10" alt="" /></td>';
716c716
<                       $return .= '<td colspan="'.$end_cols.'" height="1"
class="notSelTab"><img src="'.$this->imgroot.'clear.png" height="1"
width="10" /></td>';
---
>                       $return .= '<td colspan="'.$end_cols.'" height="1"
class="notSelTab"><img src="'.$this->imgroot.'clear.png" height="1"
width="10" alt="" /></td>';
Index: www/include/languages/Base.tab
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/languages/Base.tab,v
retrieving revision 1.271
diff -r1.271 Base.tab
586a587
> conf  content_encoding        UTF-8
Index: www/news/news_utils.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/news/news_utils.php,v
retrieving revision 1.29
diff -r1.29 news_utils.php
181,183d180
<                       if (!$limit && $i==$rows-1) {
<                               $return .= '</ul><hr width="100%" size="1"
/>'."\n";
<                       }
185c182,185
<               if (!$limit) $return .= '</ul>';
---
>               if ($tail_headlines){
>                 if (!$limit) $return .= '</ul>';
>                       $return .= '<hr width="100%" size="1" />'."\n";
>               }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://svr1.gforge.org/pipermail/gforge-devel/attachments/20060612/736323b7/attachment-0001.html


More information about the Gforge-devel mailing list