Location: PHPKode > projects > Teampopor > teampopor-0.5/teampopor/themes/default/section-header-network-tag.tpl.php
<?php
/**
 * #section-header for network/%network/tag/%tag
 */

global $theme;
add_css(get_path('theme', $theme) . '/section-header.css', 'theme');
add_css(get_path('theme', $theme) . '/section-header-network-tag.css', 'theme');

$title = drupal_get_title();
$tabs = theme('menu_local_tasks');
if (empty($title) && empty($tabs)) {
  return;
}

if (arg(2) == 'tag' && is_numeric(arg(3))) {
  $tag = tag_load(arg(3));
}
?>

<div id="section-header">
  <?php if (!empty($title)) { ?>
    <h1><?php print $title ?></h1>
  <?php } ?>
  <ul class="nav-extra">
    <?php $followed = tag_follow_load(array('tid' => $tag->tid, 'uid' => $user->uid)); ?>
    <li class="tag-follow<?php print $followed ? '' : ' show-follow' ?>">
      <a class="unfollow" href="<?php print url('tag/' . $tag->tid . '/unfollow') ?>" data-url="<?php print url('tag/' . $tag->tid . '/js/unfollow') ?>">- <?php print t('Unfollow') ?></a>
      <a class="follow" href="<?php print url('tag/' . $tag->tid . '/follow') ?>" data-url="<?php print url('tag/' . $tag->tid . '/js/follow') ?>">+ <?php print t('Follow') ?></a>
    </li>
  </ul>
  <?php if (!empty($tabs)) { ?>
    <?php print $tabs ?>
  <?php } ?>
</div>
Return current item: Teampopor