[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.702,1.703

Michael Jervis mjervis at qs1489.pair.com
Thu Jun 26 17:28:00 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv37280/public_html

Modified Files:
	lib-common.php 
Log Message:
Hardcode an ltr div around HTML tags in the allowed html tag list. Plus minor  HTML compliance issues. [bug  0000669] [LWC]

Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.702
retrieving revision 1.703
diff -C2 -d -r1.702 -r1.703
*** lib-common.php	1 Jun 2008 07:39:17 -0000	1.702
--- lib-common.php	26 Jun 2008 21:27:57 -0000	1.703
***************
*** 3766,3772 ****
          if( !$list_only )
          {
!             $retval .= '<span class="warningsmall">' . $LANG01[123] . '</span>, ';
          }
! 
      }
      else
--- 3766,3772 ----
          if( !$list_only )
          {
!             $retval .= '<span class="warningsmall">' . $LANG01[123] . ',</span> ';
          }
!         $retval .= '<div dir="ltr" class="warningsmall">';
      }
      else
***************
*** 3774,3778 ****
          if( !$list_only )
          {
!             $retval .= '<span class="warningsmall">' . $LANG01[31] . ' ';
          }
  
--- 3774,3778 ----
          if( !$list_only )
          {
!             $retval .= '<span class="warningsmall">' . $LANG01[31] . '</span> ';
          }
  
***************
*** 3799,3803 ****
              }
          }
! 
          foreach( $html as $tag => $attr )
          {
--- 3799,3804 ----
              }
          }
!         
!         $retval .= '<div dir="ltr" class="warningsmall">';
          foreach( $html as $tag => $attr )
          {
***************
*** 3819,3827 ****
          $retval .= ', [' . $tag . ':]';
      }
! 
!     if( !$list_only )
!     {
!         $retval .= '</span>';
!     }
  
      return $retval;
--- 3820,3824 ----
          $retval .= ', [' . $tag . ':]';
      }
!     $retval .= '</div>';
  
      return $retval;




More information about the geeklog-cvs mailing list