Update of /cvs/scoop/scoop/lib/Scoop
In directory lithium.sabren.com:/tmp/cvs-serv3430/lib/Scoop

Modified Files:
	Comments.pm 
Log Message:
Fixes for bugs 182, 213, 214, 215.

Also applied patch 26 and 27 from 1.0-1.1 to scoop.sql, as they were in the
patches table but not actually in the database, leading to many questions about
where the special page edit form went.

-janra



Index: Comments.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Comments.pm,v
retrieving revision 1.133
retrieving revision 1.134
diff -C2 -d -r1.133 -r1.134
*** Comments.pm	14 Oct 2005 20:07:09 -0000	1.133
--- Comments.pm	13 Mar 2006 07:49:59 -0000	1.134
***************
*** 808,812 ****
  
  	# This should probably be made into a block
! 	return qq|%%norm_font%%$new $ed_tag<A CLASS="light" HREF="$link">$comment->{subject}</A> by $postername$member, %%norm_font_end%%%%smallfont%%$comment->{mini_date} (<B>$comment->{points} / $comment->{numrate}</B>)$open_link%%smallfont_end%%|;
  
  }
--- 808,812 ----
  
  	# This should probably be made into a block
! 	return qq|%%norm_font%%$new $ed_tag<a class="light" href="$link">$comment->{subject}</a> by $postername$member, %%norm_font_end%%%%smallfont%%$comment->{mini_date} (<b>$comment->{points} / $comment->{numrate}</b>)$open_link%%smallfont_end%%|;
  
  }
***************
*** 854,857 ****
--- 854,861 ----
  		$item_start = $S->{UI}->{BLOCKS}->{delimiter_dyn_itemstart};
  		$item_end = $S->{UI}->{BLOCKS}->{delimiter_dyn_itemend};
+                 $item_start =~ s/%%text%%/$text/g;
+                 $item_start =~ s/%%class%%/$class/g;
+                 $item_end =~ s/%%text%%/$text/g;
+                 $item_end =~ s/%%class%%/$class/g;
  	} elsif ($dispmode eq 'nested') {
  		$start = $S->{UI}->{BLOCKS}->{delimiter_nested_start};