HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/iestorre/biologia/components/com_jevents/views/default/helpers/defaultexportgoogle.php
<?php 
/* 
 *@JEvents Helper for Generating Exports
 */

defined('_JEXEC') or die('Restricted access');

function DefaultExportGoogle ($view, $publiclink, $privatelink) {
	
		echo "<div class='jev_google_export'>";
		echo "<div class='jev_google_export_pub'><a href='http://www.google.com/calendar/render?cid=". urlencode(str_replace('http://', 'webcal://', $publiclink)) ."' target='_blank'><img src='". JURI::root() ."components/com_jevents/images/gc_button6.gif' border='0'></a>";
		echo JText::_('JEV_REP_ICAL_PUBLIC_WEBCAL_SHORT') . "</div>\n";
		$user = JFactory::getUser();
		if ($user->id != 0)
		{
                    
			echo "<div class='jev_google_export_priv'><a href='http://www.google.com/calendar/render?cid=". urlencode(str_replace('http://', 'webcal://', $privatelink)) ."' target='_blank'><img src='". JURI::root() ."components/com_jevents/images/gc_button6.gif' border='0'></a>";
			echo JText::_('JEV_REP_ICAL_PRIVATE_WEBCAL_SHORT'). "</div>\n";
		}
		echo"</div>";
}