phpBB

Development Wiki

Report Template Variables

From phpBB Development Wiki

Revision as of 21:12, 24 February 2011 by Prototech (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Corresponding template files: report_body.html

General Variables

Variable Description Raw Code Example Rendered Example
FORUM_DESC Type: String
Forum description.
  This is a description for the normal forum. Inside find examples of various kinds of topics.  
FORUM_ID Type: Integer
Forum ID.
  2  
FORUM_NAME Type: String
Forum name.
  Normal Forum  
S_CAN_NOTIFY Type: Boolean
Returns true if the user is registered and thus can be notified that the report has been dealt with.
  1  
S_REPORT_ACTION Type: URL
Report form action.
  ./report.php?f=2&p=77&pm=0  
S_REPORT_POST Type: Boolean
Returns false if reporting a private message.
  1  


reason Block

Predefined reasons for reporting a message.

Variable Description Raw Code Example Rendered Example
DESCRIPTION Type: String
Description.
  The message contains links to illegal or pirated software.  
ID Type: Integer
Reason ID.
  1  
S_FIRST_ROW Type: Boolean
Returns true if the row is the first iteration of the block.
  1  
S_ROW_COUNT Type: Integer
Current row iteration count. The first row is 0.
  0  
S_SELECTED Type: Boolean
Returns true if the current reason is selected.
  0  
TITLE Type: String
Title.
  Warez