Events calendar now displays each event on its own page. Fixed some width problems.

This commit is contained in:
JT Smith 2002-08-11 20:21:46 +00:00
parent b0ddddab30
commit afcad66b68
3 changed files with 25 additions and 11 deletions

View file

@ -388,11 +388,12 @@ sub showMessage {
%message = getMessage($session{form}{mid});
if ($message{messageId}) {
$html .= '<h1>'.$message{subject}.'</h1>';
$html .= '<table width="100%" cellpadding=3 cellspacing=1 border=0><tr><td class="tableHeader">';
$html .= '<table width="100%" cellpadding=3 cellspacing=1 border=0><tr>';
$html .= '<td class="tableHeader" width="100%" valign="top">';
$html .= formatHeader($message{subject},$message{userId},$message{username},$message{dateOfPost},
$message{views},'',$message{status});
$html .= '</td>';
$html .= '<td rowspan=2 valign="top" class="tableMenu" nowrap>';
$html .= '<td rowspan=2 valign="top" class="tableMenu" nowrap="1">';
if (canPostReply($_[1],\%message)) {
$html .= '<a href="'.WebGUI::URL::page('func=post&replyTo='.$session{form}{mid}.'&wid='
.$session{form}{wid}.'&sid='.$session{form}{sid})