[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/prosilver/template/ -> mcp_post.html (source)

   1  <!-- INCLUDE mcp_header.html -->
   2  
   3  <!-- IF S_MCP_REPORT -->
   4      <!-- IF S_PM -->
   5      <h2>{L_PM_REPORT_DETAILS}</h2>
   6      <!-- ELSE -->
   7      <h2>{L_REPORT_DETAILS}</h2>
   8      <!-- ENDIF -->
   9  
  10      <div id="report" class="panel">
  11          <div class="inner"><span class="corners-top"><span></span></span>
  12  
  13          <div class="postbody">
  14              <h3>{L_REPORT_REASON}: {REPORT_REASON_TITLE}</h3>
  15              <p class="author">{L_REPORTED} {L_POST_BY_AUTHOR} {REPORTER_FULL} &laquo; {REPORT_DATE}</p>
  16          <!-- IF not S_POST_REPORTED -->
  17              <p class="rules">{L_REPORT_CLOSED}</p>
  18          <!-- ENDIF -->
  19              <div class="content">
  20              <!-- IF REPORT_TEXT -->
  21                  {REPORT_TEXT}
  22              <!-- ELSE -->
  23                  {REPORT_REASON_DESCRIPTION}
  24              <!-- ENDIF -->
  25              </div>
  26          </div>
  27  
  28          <span class="corners-bottom"><span></span></span></div>
  29      </div>
  30  
  31      <form method="post" id="mcp_report" action="{S_CLOSE_ACTION}">
  32  
  33      <fieldset class="submit-buttons">
  34          <!-- IF S_POST_REPORTED -->
  35              <input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /> &nbsp;
  36          <!-- ENDIF -->
  37          <input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" />
  38          <input type="hidden" name="report_id_list[]" value="{REPORT_ID}" />
  39          {S_FORM_TOKEN}
  40      </fieldset>
  41      </form>
  42  
  43  <!-- ELSE -->
  44      <h2>{L_POST_DETAILS}</h2>
  45  <!-- ENDIF -->
  46  
  47  <div class="panel">
  48      <div class="inner"><span class="corners-top"><span></span></span>
  49  
  50      <div class="postbody">
  51          <!-- IF U_EDIT -->
  52          <ul class="profile-icons">
  53              <li class="edit-icon"><a href="{U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li>
  54          </ul>
  55          <!-- ENDIF -->
  56  
  57          <span class="right-box" id="expand"><a href="#post_details" onclick="viewableArea(getElementById('post_details'), true); var rev_text = getElementById('expand').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'}; return false;">{L_EXPAND_VIEW}</a></span>
  58  
  59          <h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3>
  60          <!-- IF S_PM -->
  61          <p class="author">
  62              <strong>{L_SENT_AT}:</strong> {POST_DATE}
  63              <br /><strong>{L_PM_FROM}:</strong> {POST_AUTHOR_FULL}
  64              <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}:</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF -->&nbsp;<!-- END to_recipient --><!-- ENDIF -->
  65              <!-- IF S_BCC_RECIPIENT --><br /><strong>{L_BCC}:</strong> <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF -->&nbsp;<!-- END bcc_recipient --><!-- ENDIF -->
  66          </p>
  67          <!-- ELSE -->
  68          <p class="author">{MINI_POST_IMG} {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} &raquo; {POST_DATE}</p>
  69          <!-- ENDIF -->
  70  
  71          <!-- IF S_POST_UNAPPROVED -->
  72              <form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}">
  73  
  74              <p class="rules">
  75                  <input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> &nbsp;
  76                  <input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
  77                  <!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
  78                  <input type="hidden" name="post_id_list[]" value="{POST_ID}" />
  79                  {S_FORM_TOKEN}
  80              </p>
  81              </form>
  82          <!-- ENDIF -->
  83  
  84          <!-- IF S_MESSAGE_REPORTED -->
  85              <p class="rules">
  86                  {REPORTED_IMG} <a href="{U_MCP_REPORT}"><strong>{L_MESSAGE_REPORTED}</strong></a>
  87              </p>
  88          <!-- ENDIF -->
  89  
  90          <div class="content" id="post_details">
  91              {POST_PREVIEW}
  92          </div>
  93  
  94          <!-- IF S_HAS_ATTACHMENTS -->
  95              <dl class="attachbox">
  96                  <dt>{L_ATTACHMENTS}</dt>
  97                  <!-- BEGIN attachment -->
  98                      <dd>{attachment.DISPLAY_ATTACHMENT}</dd>
  99                  <!-- END attachment -->
 100              </dl>
 101          <!-- ENDIF -->
 102  
 103          <!-- IF SIGNATURE -->
 104              <div id="sig{POST_ID}" class="signature">{SIGNATURE}</div>
 105          <!-- ENDIF -->
 106  
 107          <!-- IF S_MCP_REPORT and S_CAN_VIEWIP -->
 108              <hr />
 109              <div><!-- IF S_PM -->{L_THIS_PM_IP}<!-- ELSE -->{L_THIS_POST_IP}<!-- ENDIF -->: <!-- IF U_WHOIS -->
 110                  <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
 111              <!-- ELSE -->
 112                  <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
 113              <!-- ENDIF --></div>
 114          <!-- ENDIF -->
 115  
 116      </div>
 117  
 118      <span class="corners-bottom"><span></span></span></div>
 119  </div>
 120  
 121  <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER -->
 122      <div class="panel">
 123          <div class="inner"><span class="corners-top"><span></span></span>
 124  
 125          <h3>{L_MOD_OPTIONS}</h3>
 126          <!-- IF S_CAN_CHGPOSTER -->
 127              <form method="post" id="mcp_chgposter" action="{U_POST_ACTION}">
 128  
 129              <fieldset>
 130              <dl>
 131                  <dt><label>{L_CHANGE_POSTER}:</label></dt>
 132                  <!-- IF S_USER_SELECT --><dd><select name="u">{S_USER_SELECT}</select> <input type="submit" class="button2" name="action[chgposter_ip]" value="{L_CONFIRM}" /></dd><!-- ENDIF -->
 133                  <dd style="margin-top:3px;">
 134                      <input class="inputbox autowidth" type="text" name="username" value="" />
 135                      <input type="submit" class="button2" name="action[chgposter]" value="{L_CONFIRM}" />
 136                      <br />
 137                      <span>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span>
 138                  </dd>
 139              </dl>
 140              {S_FORM_TOKEN}
 141              </fieldset>
 142              </form>
 143          <!-- ENDIF -->
 144  
 145          <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
 146              <form method="post" id="mcp" action="{U_MCP_ACTION}">
 147  
 148              <fieldset>
 149              <dl>
 150                  <dt><label>{L_MOD_OPTIONS}:</label></dt>
 151                  <dd><select name="action">
 152                      <!-- IF S_CAN_LOCK_POST --><!-- IF S_POST_LOCKED --><option value="unlock_post">{L_UNLOCK_POST} [{L_UNLOCK_POST_EXPLAIN}]</option><!-- ELSE --><option value="lock_post">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</option><!-- ENDIF --><!-- ENDIF -->
 153                      <!-- IF S_CAN_DELETE_POST --><option value="delete_post">{L_DELETE_POST}</option><!-- ENDIF -->
 154                      </select> <input class="button2" type="submit" value="{L_SUBMIT}" />
 155                  </dd>
 156              </dl>
 157              {S_FORM_TOKEN}
 158              </fieldset>
 159              </form>
 160          <!-- ENDIF -->
 161  
 162          <span class="corners-bottom"><span></span></span></div>
 163      </div>
 164  <!-- ENDIF -->
 165  
 166  
 167  <!-- IF S_MCP_QUEUE or S_MCP_REPORT or RETURN_TOPIC -->
 168      <div class="panel">
 169          <div class="inner"><span class="corners-top"><span></span></span>
 170  
 171          <p><!-- IF S_MCP_QUEUE -->{RETURN_QUEUE} | {RETURN_TOPIC_SIMPLE} | {RETURN_POST}<!-- ELSEIF S_MCP_REPORT -->{RETURN_REPORTS}<!-- IF not S_PM --> | <a href="{U_VIEW_POST}">{L_VIEW_POST}</a> | <a href="{U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a> | <a href="{U_VIEW_FORUM}">{L_VIEW_FORUM}</a><!-- ENDIF --><!-- ELSE -->{RETURN_TOPIC}<!-- ENDIF --></p>
 172  
 173          <span class="corners-bottom"><span></span></span></div>
 174      </div>
 175  <!-- ENDIF -->
 176  
 177  <!-- IF S_MCP_QUEUE -->
 178  <!-- ELSE -->
 179  
 180      <!-- IF S_SHOW_USER_NOTES -->
 181          <div class="panel" id="usernotes">
 182              <div class="inner"><span class="corners-top"><span></span></span>
 183  
 184              <form method="post" id="mcp_notes" action="{U_POST_ACTION}">
 185  
 186              <!-- IF S_USER_NOTES -->
 187                  <h3>{L_FEEDBACK}</h3>
 188  
 189                  <!-- BEGIN usernotes -->
 190                      <span class="small"><strong>{L_REPORTED_BY}: {usernotes.REPORT_BY} &laquo; {usernotes.REPORT_AT}</strong></span>
 191                      <!-- IF S_CLEAR_ALLOWED --><div class="right-box"><input type="checkbox" name="marknote[]" value="{usernotes.ID}" /></div><!-- ENDIF -->
 192                      <div class="postbody">{usernotes.ACTION}</div>
 193  
 194                      <hr class="dashed" />
 195                  <!-- END usernotes -->
 196  
 197                  <!-- IF S_CLEAR_ALLOWED -->
 198                      <fieldset class="submit-buttons">
 199                          <input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" />&nbsp;
 200                          <input class="button2" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" />
 201                      </fieldset>
 202                  <!-- ENDIF -->
 203              <!-- ENDIF -->
 204  
 205              <h3>{L_ADD_FEEDBACK}</h3>
 206              <p>{L_ADD_FEEDBACK_EXPLAIN}</p>
 207  
 208              <fieldset>
 209                  <textarea name="usernote" rows="4" cols="76" class="inputbox"></textarea>
 210              </fieldset>
 211  
 212              <fieldset class="submit-buttons">
 213                  <input class="button1" type="submit" name="action[add_feedback]" value="{L_SUBMIT}" />&nbsp;
 214                  <input class="button2" type="reset" value="{L_RESET}" />
 215                  {S_FORM_TOKEN}
 216              </fieldset>
 217              </form>
 218  
 219              <span class="corners-bottom"><span></span></span></div>
 220          </div>
 221      <!-- ENDIF -->
 222  
 223      <!-- IF S_SHOW_REPORTS -->
 224          <div class="panel" id="reports">
 225              <div class="inner"><span class="corners-top"><span></span></span>
 226  
 227              <h3>{L_MCP_POST_REPORTS}</h3>
 228  
 229              <!-- BEGIN reports -->
 230                  <span class="small"><strong>{L_REPORTED_BY}: <!-- IF reports.U_REPORTER --><a href="{reports.U_REPORTER}">{reports.REPORTER}</a><!-- ELSE -->{reports.REPORTER}<!-- ENDIF --> &laquo; {reports.REPORT_TIME}</strong></span>
 231                  <p><em>{reports.REASON_TITLE}: {reports.REASON_DESC}</em><!-- IF reports.REPORT_TEXT --><br />{reports.REPORT_TEXT}<!-- ENDIF --></p>
 232              <!-- END reports -->
 233  
 234              <span class="corners-bottom"><span></span></span></div>
 235          </div>
 236      <!-- ENDIF -->
 237  
 238      <!-- IF S_CAN_VIEWIP and not S_MCP_REPORT -->
 239          <div class="panel" id="ip">
 240              <div class="inner"><span class="corners-top"><span></span></span>
 241  
 242              <p>{L_THIS_POST_IP}: <!-- IF U_WHOIS -->
 243                  <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
 244              <!-- ELSE -->
 245                  <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
 246              <!-- ENDIF --></p>
 247  
 248              <table class="table1" cellspacing="1">
 249              <thead>
 250              <tr>
 251                  <th class="name">{L_OTHER_USERS}</th>
 252                  <th class="posts">{L_POSTS}</th>
 253              </tr>
 254              </thead>
 255              <tbody>
 256              <!-- BEGIN userrow -->
 257              <tr class="<!-- IF userrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
 258                  <td><!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --></td>
 259                  <td class="posts"><a href="{userrow.U_SEARCHPOSTS}" title="{L_SEARCH_POSTS_BY} {userrow.USERNAME}">{userrow.NUM_POSTS}</a></td>
 260              </tr>
 261              <!-- BEGINELSE -->
 262                  <tr>
 263                      <td colspan="2">{L_NO_MATCHES_FOUND}</td>
 264                  </tr>
 265              <!-- END userrow -->
 266              </tbody>
 267              </table>
 268  
 269              <table class="table1" cellspacing="1">
 270              <thead>
 271              <tr>
 272                  <th class="name">{L_IPS_POSTED_FROM}</th>
 273                  <th class="posts">{L_POSTS}</th>
 274              </tr>
 275              </thead>
 276              <tbody>
 277              <!-- BEGIN iprow -->
 278              <tr class="<!-- IF iprow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
 279                  <td><!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a> (<a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --></td>
 280                  <td class="posts">{iprow.NUM_POSTS}</td>
 281              </tr>
 282              <!-- BEGINELSE -->
 283                  <tr>
 284                      <td colspan="2">{L_NO_MATCHES_FOUND}</td>
 285                  </tr>
 286              <!-- END iprow -->
 287              </tbody>
 288              </table>
 289  
 290              <p><a href="{U_LOOKUP_ALL}#ip">{L_LOOKUP_ALL}</a></p>
 291  
 292              <span class="corners-bottom"><span></span></span></div>
 293          </div>
 294      <!-- ENDIF -->
 295  
 296  <!-- ENDIF -->
 297  
 298  <!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->
 299  
 300  <!-- INCLUDE mcp_footer.html -->


Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1