Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // And here starts our header for each post...
- echo '<div class="catbg">';
- // Lets start the left column
- echo '<div class="floatleft smalltext" style="width: 50%;">
- <div class="messageicon" style="padding-left: 5px;"><img src="', $message['icon_url'] . '" alt="" border="0"', $message['can_modify'] ? ' id="msg_icon_' . $message['id'] . '"' : '', ' /></div>
- <div style="padding-top: 7px;">', $message['time'], '</div>';
- // Close left column and start right column.
- echo '</div><div class="floatright smalltext" style="', ((!$context['can_report_moderator']) ? 'width: 3%;' : 'width: 7%;'), '">
- <div><strong>', !empty($message['counter']) ? '<a href="'. $message['href']. '" target="_self" title="Post #'. $message['counter']. '">#' . $message['counter']. '</a>' : '', '</strong>';
- // Maybe they want to report this post to the moderator(s)?
- if ($context['can_report_moderator'])
- echo '<a href="', $scripturl, '?action=reporttm;topic=', $context['current_topic'], '.', $message['counter'], ';msg=', $message['id'], '" title="Report to Moderator"><img src="', $settings['default_theme_url'], '/images/report.png" border="0" alt="Report to Moderator" /></a>';
- // Close right column and clear the divs.
- echo '</div></div><br class="clear" />';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement