You are here

oa-users-submitted.tpl.php in Open Atrium Core 7.2

File

modules/oa_users/templates/oa-users-submitted.tpl.php
View source
<div class="oa-users-submitted align-<?php

print $align;
?>">
  <?php

if ($align == 'left') {
  ?>
    <?php

  if (!empty($picture)) {
    ?>
      <span class="user-picture pull-left"><?php

    print $picture;
    ?></span>
    <?php

  }
  ?>
  <?php

}
?>
  <?php

if ($show_title) {
  ?><h1 class="title <?php

  print !$show_author ? 'no-picture' : '';
  ?>" id="page-title"><?php

  print $title;
  ?></h1><?php

}
?>
  <?php

if ($show_author) {
  ?>
    <div class="user-info align-<?php

  print $align;
  ?>">
      <?php

  if ($align == 'left') {
    ?>
        <?php

    print t('By ');
    ?>
        <div class="user-badge">
          <?php

    if (!empty($userlink)) {
      ?>
            <span><?php

      print $userlink;
      ?></span>
          <?php

    }
    ?>
        <?php

    if (!empty($date)) {
      ?>
          <?php

      print t(' on ');
      ?>
          <span class="oa-date"><?php

      print $date;
      ?></span>
        <?php

    }
    ?>
        </div>
      <?php

  }
  else {
    ?>
        <?php

    print t('Posted ');
    ?>
        <?php

    if (!empty($date)) {
      ?>
          <span class="oa-date"><?php

      print $date;
      ?></span>
        <?php

    }
    ?>
        <?php

    if (!empty($userlink)) {
      ?>
          <?php

      print t(' by ');
      ?>
          <div class="user-badge">
              <span><?php

      print $userlink;
      ?></span>
          </div>
        <?php

    }
    ?>
        <?php

    if (!empty($picture)) {
      ?>
          <span class="user-picture"><?php

      print $picture;
      ?></span>
        <?php

    }
    ?>
      <?php

  }
  ?>
    </div>
  <?php

}
?>
</div>