You are here

better_messages_skin.tpl.php in Better Messages 7.2

Default theme implementation to present profile items (values from user account profile fields or modules).

This template is used to loop through and render each field configured for the user's account. It can also be the data from modules. The output is grouped by categories.

for the parent markup. Implemented as a definition list by default. where all items and categories are collected and printed out.

Available variables:

  • $title: Field title for the profile item.
  • $value: User defined value for the profile item or data from a module.
  • $attributes: HTML attributes. Usually renders classes.

File

better_messages_skin.tpl.php
View source
<?php

/**
 * @file
 * Default theme implementation to present profile items (values from user
 * account profile fields or modules).
 *
 * This template is used to loop through and render each field configured
 * for the user's account. It can also be the data from modules. The output is
 * grouped by categories.
 *
 * @see user-profile-category.tpl.php
 *      for the parent markup. Implemented as a definition list by default.
 * @see user-profile.tpl.php
 *      where all items and categories are collected and printed out.
 *
 * Available variables:
 * - $title: Field title for the profile item.
 * - $value: User defined value for the profile item or data from a module.
 * - $attributes: HTML attributes. Usually renders classes.
 *
 * @see template_preprocess_user_profile_item()
 */
?>
<div id="better-messages-default">
  <div id="messages-inner">
    <table><tbody>
      <tr><td class="tl"></td><td class="b"></td><td class="tr"></td></tr>
      <tr><td class="b"></td>
        <td class="body">
          <div class="content">
            <?php


/* If you want to theme further.. theme_better_messages_content() */
?>
            <?php

print $messages;
?>
          </div>
          <div class="footer"><span class="message-timer"></span><a class="message-close" href="#"></a></div>
        </td>
        <td class="b"></td></tr>
      <tr><td class="bl"></td><td class="b"></td><td class="br"></td></tr>
    </tbody></table>
  </div>
</div>