themes/enanium/comment.tpl
author Dan
Thu, 17 Dec 2009 04:27:50 -0500
changeset 1168 277a9cdead3e
parent 921 a71de5e21423
child 1227 bdac73ed481e
permissions -rw-r--r--
Namespace_Default: added a workaround for an inconsistency in SQL. Basically, if you join the same table multiple times under multiple aliases, COUNT() always uses the first instance. Was affecting the comment counter in the "discussion" button.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
921
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     1
<div class="tblholder">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     2
  <table border="0" width="100%" cellspacing="1" cellpadding="4">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     3
    <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     4
      <th colspan="2" style="text-align: left;">{DATETIME}</th>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     5
    </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     6
    <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     7
      <td style="width: 120px; height: 100%;" rowspan="4" valign="top" class="row1<!-- BEGIN is_friend --> row1_green<!-- END is_friend --><!-- BEGIN is_foe --> row1_red<!-- END is_foe -->">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     8
        <table border="0" width="100%" style="height: 100%;" cellspacing="0" cellpadding="0">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     9
          <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    10
            <td valign="top" class="row1<!-- BEGIN is_friend --> row1_green<!-- END is_friend --><!-- BEGIN is_foe --> row1_red<!-- END is_foe -->">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    11
              <b>{NAME}</b><br />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    12
              <small>{USER_LEVEL}</small>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    13
              <!-- BEGIN user_has_avatar -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    14
              <div class="avatar">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    15
                <a href="{USERPAGE_LINK}">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    16
                  <img alt="{AVATAR_ALT}" src="{AVATAR_URL}" style="border-width: 0px;" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    17
                </a>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    18
              </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    19
              <!-- END user_has_avatar -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    20
            </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    21
          </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    22
          <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    23
            <td valign="bottom" class="row1<!-- BEGIN is_friend --> row1_green<!-- END is_friend --><!-- BEGIN is_foe --> row1_red<!-- END is_foe -->">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    24
              {SEND_PM_LINK} {ADD_BUDDY_LINK}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    25
            </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    26
          </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    27
        </table>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    28
      </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    29
      <td class="row2">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    30
        <b>{lang:comment_lbl_subject}</b> <span id="subject_{ID}">{SUBJECT}</span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    31
      </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    32
    </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    33
    <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    34
      <td class="row3">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    35
        <div id="comment_{ID}">{DATA}</div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    36
        <!-- BEGIN signature -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    37
          <hr style="margin-left: 1em; width: 200px;" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    38
          {SIGNATURE}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    39
        <!-- END signature -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    40
      </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    41
    </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    42
    <!-- BEGIN can_edit -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    43
    <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    44
      <td class="row2">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    45
        [ {EDIT_LINK} | {DELETE_LINK} ]
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    46
      </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    47
    </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    48
    <!-- END can_edit -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    49
    <!-- BEGIN auth_mod -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    50
    <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    51
      <td class="row1">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    52
        <b>{lang:comment_lbl_mod_options}</b> {MOD_APPROVE_LINK} {MOD_DELETE_LINK} | {MOD_IP_LINK}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    53
      </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    54
    </tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    55
    <!-- END auth_mod -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    56
  </table>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    57
</div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    58
<br />