예제 #1
0
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>

<div id="tracks">
<!-- Title -->
<h2><?php 
echo $this->data->name;
?>
</h2>
	<?php 
if ($this->canEdit) {
    ?>
		<?php 
    $url = TrackslibHelperRoute::getTeamEditRoute($this->data->id);
    $link = JHtml::link($url, JText::_('COM_TRACKS_EDIT'));
    ?>
		<div class="tracks-edit-link"><?php 
    echo $link;
    ?>
</div>
	<?php 
}
?>

<!-- Content -->
<?php 
if ($this->data->picture) {
    ?>
<div id="teampic">