/[drupal]/contributions/modules/abuse/abuse-report.tpl.php
ViewVC logotype

Contents of /contributions/modules/abuse/abuse-report.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Mon Apr 7 16:37:02 2008 UTC (19 months, 2 weeks ago) by btmash
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
Dev version of 6.x code
1 <?php
2 ?>
3 <li class="ticket">
4 <h2 class="title"><?php print l($object->title, $object->link); ?></h2>
5 <dl class="info">
6 <dt><?php print t('By:') ?></dt>
7 <dd>
8 <?php print theme('username', $account);?>
9 <?php print t('( %offence offences | %warning warnings )', array('%offence' => $offences, '%warning' => $warnings)); ?>
10 <?php print l(t("abuse history", array('@user' => $account->name)), 'admin/abuse/status/user/'. $account->uid); ?>
11 </dd>
12 <dt><?php print t('Type:'); ?></dt>
13 <dd><?php print $nodeType; ?></dd>
14 <dt><?php print t('Status:'); ?></dt>
15 <dd><?php print $object->abuse_status_string; ?></dd>
16 <?php if(variable_get('abuse_assigned_moderators', FALSE)): ?>
17 <dt><?php print t('Assigned To:'); ?></dt>
18 <dd><?php print $object->abuse_assigned_to_name; ?></dd>
19 <?php endif; ?>
20 </dl>
21 <p class="buttons">
22 <?php print $moderate; ?>
23 </p>
24 <div class="text">
25 <?php print $object->content; ?>
26 <dl class="script">
27 <dt>Description:</dt>
28 <dd><?php print $object->description; ?></dd>
29 </dl>
30 </div>
31 <div class="history">
32 <dl>
33 <dt><?php print t('History'); ?></dt>
34 <?php foreach($object->history as $log): ?>
35 <dd>
36 <strong><?php print $log->flagger; ?>:</strong>
37 <?php print t('Changed status to %status', array('%status' => $log->readable_status)); ?>
38 </dd>
39 <?php endforeach; ?>
40 </dl>
41 <dl>
42 <dt><?php print t('Warnings'); ?></dt>
43 <?php foreach($object->warnings as $warning): ?>
44 <dd>
45 <strong><?php print $warning->name; ?>:</strong>
46 <?php print t('sent warning on %date', array('%date' => $warning->date)); ?>
47 </dd>
48 <?php endforeach; ?>
49 </dl>
50 <dl>
51 <dt><?php print t('Flags'); ?></dt>
52 <?php foreach($object->reports as $report): ?>
53 <dd>
54 <strong><?php print theme("username", $report) . ' '. format_date($report->created); ?>:</strong>
55 <?php print check_plain(urldecode($report->body)); ?>
56 </dd>
57 <?php endforeach; ?>
58 </dl>
59 </div>
60 </li>

  ViewVC Help
Powered by ViewVC 1.1.2