示例#1
0
<?php

/*------------------------------------------------------------------------
# Event Template for RaidPlanner Component
# com_raidplanner - RaidPlanner Component
# ------------------------------------------------------------------------
# author    Taracque
# copyright Copyright (C) 2011 Taracque. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website: http://www.taracque.hu/raidplanner
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$dateFormat = RaidPlannerHelper::shortDateFormat();
RaidPlannerHelper::fixBootstrap(true);
$hasChars = !empty($this->characters);
?>
<table class="rp_header_container">
	<tr>
		<td class="rp_header">
		<?php 
if ($this->event->icon_name) {
    ?>
			<img src="<?php 
    echo JURI::base() . "media/com_raidplanner/raid_icons/" . $this->event->icon_name;
    ?>
" style="float:left; margin: 0 5px 5px 0;" alt="<?php 
    echo $this->event->icon_name;
    ?>
" />
		<?php 
示例#2
0
if (!empty($this->invitations)) {
    ?>
<div id="rp_invitation_alert">
	<h3><?php 
    echo JText::_('COM_RAIDPLANNER_PENDING_INVITATIONS');
    ?>
</h3>
	<ul>
<?php 
    foreach ($this->invitations as $invitation) {
        ?>
		<li><a href="<?php 
        echo JRoute::_('index.php?option=com_raidplanner&view=calendar&modalevent=' . $invitation->raid_id);
        ?>
"><?php 
        echo $invitation->location . " (" . JHTML::_('date', $invitation->start_time, RaidPlannerHelper::shortDateFormat()) . ")";
        ?>
</a></li>
<?php 
    }
    ?>
	</ul>
</div>
<?php 
}
?>
<table class="rp_container">
	<tr class="rp_header">
		<td class="rp_header_left btn-group">
			<a class="rp_button_prev btn" href="<?php 
echo JRoute::_('index.php?option=com_raidplanner&view=calendar&month=' . $this->prevmonth);
示例#3
0
	<tr>
		<td>
			<?php 
        if ($use_modal) {
            ?>
			<a href="<?php 
            echo JRoute::_('index.php?option=com_raidplanner&view=event&task=viewevent&tmpl=component&id=' . $item->raid_id . '&Itemid=' . $itemid);
            ?>
" class="open-modal">
			<?php 
        } else {
            ?>
			<a href="<?php 
            echo JRoute::_('index.php?option=com_raidplanner&view=event&task=viewevent&id=' . $item->raid_id . '&Itemid=' . $itemid);
            ?>
">
			<?php 
        }
        ?>
			<?php 
        echo RaidPlannerHelper::raidTooltip($item->raid_id, $raidshowAttendants, $tip, RaidPlannerHelper::shortDateFormat());
        ?>
			</a><br />
		</td>
	</tr>
	<?php 
    }
    //endforeach
}
?>
</table>