Tweak the entry preview to match the actual entry (subject line, time)

        Patch by kareila. 

diffs (30 lines):

diff -r 07d943a5c456 -r 7c7dc63ef76e htdocs/preview/entry.bml
--- a/htdocs/preview/entry.bml  Mon Aug 23 18:29:45 2010 +0800
+++ b/htdocs/preview/entry.bml  Mon Aug 23 18:49:44 2010 +0800
@@ -112,6 +112,8 @@ _c?>
             $subject = LJ::text_trim($subject, 0, length($req{'subject'}) || 
40);
         }
 
+        LJ::need_res( qw( stc/talkpage.css ) );
+
         $ret .= "<?page\n";
         $ret .= "body<=\n";
 
@@ -143,7 +145,7 @@ _c?>
             $req{'hour'} = int($req{'hour'});
             $req{'min'} = int($req{'min'});
 
-            $ret .= "<br /><font size='-1'>@ $etime 
$req{'hour'}:$req{'min'}:00</font>";
+            $ret .= "<br /><span class='time'>@ $etime 
$req{'hour'}:$req{'min'}:00</span>";
             $ret .= "</td></tr></table>";
         }
 
@@ -190,7 +192,7 @@ _c?>
         ###
         if ($subject) {
             BML::ebml(\$subject);
-            $ret .= "<font face='Arial,Helvetica' 
size='+1'><i><b>$subject</b></i></font><br />\n";
+            $ret .= "<div id='entrysubj'>$subject</div><br />\n";
         }
 
         $ret .= $event;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to