| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/news/components/com_jevents/views/geraint/icalevent/tmpl/ |
Upload File : |
<?php
defined('_JEXEC') or die('Restricted access');
$cfg = & JEVConfig::getInstance();
// MLr: check if called from detail navigation. if yes, only showEventsByDate make sense
if( 0 == $this->evid) {
$this->showEventsByDateNew ($this->year,$this->month,$this->day);
return;
}
if (is_null($this->data)){
global $mainframe;
$mainframe->redirect(JRoute::_("index.php?option=".JEV_COM_COMPONENT."&Itemid=$this->Itemid",false), "Sorry - This item may have been updated while you have been viewing the webpage. Please try again");
}
if( array_key_exists('row',$this->data) ){
$row=$this->data['row'];
// Dynamic Page Title
global $mainframe;
$mainframe->SetPageTitle( $row->title() );
$mask = $this->data['mask'];
$page = 0;
global $mainframe;
$cfg = & JEVConfig::getInstance();
$dispatcher =& JDispatcher::getInstance();
$params =& new JParameter(null);
if (isset($row)) {
?>
<!-- <div name="events"> -->
<table class="contentpaneopen" border="0">
<tr class="headingrow">
<td width="100%" class="contentheading"><?php echo $row->title(); ?></td>
<td width="20" class="buttonheading" align="right">
<?php
if ($cfg->get('jev_debug', 0)) {
$jevtype=JRequest::getVar('jevtype',"jevent" );
if ($jevtype=="jevent"){
echo jEventsLinkCloaking(
$row->vCalExportLink(),
'<img src="'. JURI::root() . 'components/'.JEV_COM_COMPONENT.'/views/'.$view->getViewName().'/assets/images/vcal.gif" align="middle" alt="vCalendar export" border="0" />',
array('title' => '"vCalendar export"'));
} else {
JHTML::script( 'view_detail.js', 'components/'.JEV_COM_COMPONENT."/assets/js/" );
?>
<a href="javascript:void(0)" onclick='clickIcalButton()' title="<?php echo JText::_('JEV_E_EDIT');?>">
<img src="<?php echo JURI::root().'components/'.JEV_COM_COMPONENT.'/views/'.$view->getViewName().'/assets/images/vcal.gif'?>" align="middle" name="image" alt="<?php echo JText::_('JEV_E_EDIT');?>" />
</a>
<?php
}
} ?>
</td><?php
if( $row->canUserEdit() && !( $mask & MASK_POPUP )) {
JHTML::script( 'view_detail.js', 'components/'.JEV_COM_COMPONENT."/assets/js/" );
?>
<td width="20" class="buttonheading" align="right">
<a href="javascript:void(0)" onclick='clickEditButton()' title="<?php echo JText::_('JEV_E_EDIT');?>">
<img src="<?php echo JURI::root();?>images/M_images/edit.png" align="middle" name="image" alt="<?php echo JText::_('JEV_E_EDIT');?>" />
</a>
</td>
<?php
}
?>
</tr>
<tr class="dialogs">
<td align="left" valign="top" colspan="3">
<div style="position:relative;">
<?php
$this->eventIcalDialog($row, $mask);
?>
</div>
</td>
<td align="left" valign="top">
<div style="position:relative;">
<?php
$this->eventManagementDialog($row, $mask);
?>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top" colspan="4">
<table width="100%" border="0">
<tr>
<?php
if( $cfg->get('com_repeatview') == '1' ){
echo '<td class="ev_detail repeat" >';
echo $row->repeatSummary();
echo $row->previousnextLinks();
echo "</td>";
}
if( $cfg->get('com_byview') == '1' ){
echo '<td class="ev_detail contact" >';
echo JText::_('JEV_BY') . ' ' . $row->contactlink();
echo "</td>";
}
if( $cfg->get('com_hitsview') == '1' ){
echo '<td class="ev_detail hits" >';
echo JText::_('JEV_EVENT_HITS') . ' : ' . $row->hits();
echo "</td>";
}
?>
</tr>
</table>
</td>
</tr>
<tr align="left" valign="top">
<td colspan="4"><?php echo $row->content(); ?></td>
</tr>
<?php
if ($row->hasLocation() || $row->hasContactInfo()) { ?>
<tr>
<td class="ev_detail" align="left" valign="top" colspan="4">
<?php
if( $row->hasLocation() ){
echo "<b>".JText::_('JEV_EVENT_ADRESSE')." : </b>". $row->location();
}
if( $row->hasContactInfo()){
if( $row->hasLocation()){
echo "<br/>";
}
echo "<b>".JText::_('JEV_EVENT_CONTACT')." : </b>". $row->contact_info();
} ?>
</td>
</tr>
<?php
}
if( $row->hasExtraInfo()){ ?>
<tr>
<td class="ev_detail" align="left" valign="top" colspan="4"><?php echo $row->extra_info(); ?></td>
</tr>
<?php
} ?>
<?php
$results = $dispatcher->trigger( 'onDisplayCustomFields', array( &$row) );
if (count($results)>0){
foreach ($results as $result) {
if (is_string($result) && strlen($result)>0){
echo "<tr><td>".$result."</td></tr>";
}
}
}
?>
</table>
<!-- </div> -->
<?php
$results = $dispatcher->trigger( 'onAfterDisplayContent', array( &$row, &$params, $page ) );
echo trim( implode( "\n", $results ) );
} else { ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="contentheading" align="left" valign="top"><?php echo JText::_('JEV_REP_NOEVENTSELECTED'); ?></td>
</tr>
</table>
<?php
}
if(!($mask & MASK_BACKTOLIST)) { ?>
<p align="center">
<a href="javascript:window.history.go(-1);" title="<?php echo JText::_('JEV_BACK'); ?>"><?php echo JText::_('JEV_BACK'); ?></a>
</p>
<?php
}
}