You are here

linkedin-user-page-education-item.tpl.php in LinkedIn Integration 7

Same filename and directory in other branches
  1. 6 linkedin_profile/linkedin-user-page-education-item.tpl.php

File

linkedin_profile/linkedin-user-page-education-item.tpl.php
View source
<?php

/**
 * @file
 * Template file for LinkedIn "Education" item as displayed on user page
 * Copy it to your theme's folder if you want to override it.
 *
 * Be sure to check and comply to  http://developer.linkedin.com/docs/DOC-1091 before tweaking.
 */
$education == $variables['education'];
?>
<div class="linkedin-education">

  <p>
    <?php

print $education['degree'];
?>
    <?php

if ($education['field-of-study']) {
  ?>
      <?php

  print t('in') . ' ' . $education['field-of-study'];
  ?>
    <?php

}
?>
    <?php

if ($education['school-name']) {
  ?>
      <?php

  print t('at') . ' ' . $education['school-name'];
  ?>
    <?php

}
?>
    <?php

if ($education['start-date']['year'] || $education['end-date']['year']) {
  ?>
      <span class="linkedin-education-years">
      <?php

  print ' (';
  ?>
      <?php

  print $education['start-date']['year'];
  ?>
        <?php

  if ($education['start-date']['year'] && $education['end-date']['year']) {
    ?>
          <?php

    print '-';
    ?>
        <?php

  }
  ?>
      <?php

  print $education['end-date']['year'];
  ?>
      <?php

  print ')';
  ?>
      </span>
    <?php

}
?>
  </p>

  <div class="linkedin-education-notes">
    <?php

print $education['notes'];
?>
  </div>

  <div class="linkedin-education-activities">
    <?php

print $education['activities'];
?>
  </div>

</div>