2022-04-12 01:00:35 -04:00
|
|
|
<?php $event_date_icon = mep_get_option('mep_event_date_icon', 'icon_setting_sec', 'fa fa-calendar'); ?>
|
2021-11-11 03:20:02 -05:00
|
|
|
<div id="mep_add_calender_button" class='mep-add-calender'>
|
2022-04-12 01:00:35 -04:00
|
|
|
<i class="<?php echo $event_date_icon; ?>"></i><?php echo esc_html(mep_get_label($pid,'mep_calender_btn_text',esc_html__('Add Calendar','mage-eventpress'))); ?>
|
2021-11-11 03:20:02 -05:00
|
|
|
</div>
|
2020-07-12 06:42:13 -04:00
|
|
|
<ul id="mep_add_calender_links">
|
2021-10-31 07:01:04 -04:00
|
|
|
<li><a href="https://calendar.google.com/calendar/r/eventedit?text=<?php echo esc_html($event->post_title); ?>&dates=<?php echo esc_html(mep_calender_date($event_start)); ?>/<?php echo esc_html(mep_calender_date($event_end)); ?>&details=<?php echo esc_html(substr(mage_array_strip($event->post_content),0,1000)); ?>&location=<?php echo esc_html($location); ?>&sf=true" rel="noopener noreferrer" target='_blank' class='mep-add-calender' rel="nofollow"><?php esc_html_e('Google','mage-eventpress'); ?></a></li>
|
|
|
|
<li><a href="https://calendar.yahoo.com/?v=60&view=d&type=20&title=<?php echo esc_html($event->post_title); ?>&st=<?php echo esc_html(mep_calender_date($event_start)); ?>&et=<?php echo esc_html(mep_calender_date($event_end)); ?>&desc=<?php echo esc_html(substr(mage_array_strip($event->post_content),0,1000)); ?>&in_loc=<?php echo esc_html($location); ?>&uid=" rel="noopener noreferrer" target='_blank' class='mep-add-calender' rel="nofollow"><?php esc_html_e('Yahoo','mage-eventpress'); ?></a></li>
|
|
|
|
<li><a href ="https://outlook.live.com/owa/?path=/calendar/view/Month&rru=addevent&startdt=<?php echo esc_html(mep_calender_date($event_start)); ?>&enddt=<?php echo esc_html(mep_calender_date($event_end)); ?>&subject=<?php echo esc_html($event->post_title); ?>" rel="noopener noreferrer" target='_blank' class='mep-add-calender' rel="nofollow"><?php esc_html_e('Outlook','mage-eventpress'); ?></a></li>
|
|
|
|
<li><a href="https://webapps.genprod.com/wa/cal/download-ics.php?date_end=<?php echo esc_html(mep_calender_date($event_end)); ?>&date_start=<?php echo esc_html(mep_calender_date($event_start)); ?>&summary=<?php echo esc_html($event->post_title); ?>&location=<?php echo esc_html($location); ?>&description=<?php echo esc_html(substr(mage_array_strip($event->post_content),0,1000)); ?>" rel="noopener noreferrer" target='_blank' class='mep-add-calender'><?php esc_html_e('Apple','mage-eventpress'); ?></a></li>
|
2020-07-12 06:42:13 -04:00
|
|
|
</ul>
|