| Current Path : /home/ataenra/www/modules/mod_sagenda_calendar/tmpl/ |
| Current File : /home/ataenra/www/modules/mod_sagenda_calendar/tmpl/default.php |
<?php
/**
* Default class for Sagenda Calendar module
*
* @package Sagenda.Calendar
* @subpackage Modules
* @link https://www.sagenda.com
* @license GNU/GPL, see LICENSE.php
*/
// No direct access
defined('_JEXEC') or die; ?>
<div class="bootstrap-wrapper">
<a name="sagenda"></a>
<app-root>Sagenda is loading...</app-root>
<script>
window.sagendaIntegration = 'Joomla';
window.baseUrl = 'https://sagenda.net/api/v3/';
window.sagendaDefaultView = '<?php echo $sagendaDefaultView; ?>';
window.sagendaRemoveMonthViewButton = '<?php echo $sagendaRemoveMonthViewButton; ?>';
window.sagendaRemoveWeekViewButton = '<?php echo $sagendaRemoveWeekViewButton; ?>';
window.sagendaRemoveWorkWeekViewButton = '<?php echo $sagendaRemoveWorkWeekViewButton; ?>';
window.sagendaRemoveDayViewButton = '<?php echo $sagendaRemoveDayViewButton; ?>';
window.sagendaRemoveAgendaViewButton = '<?php echo $sagendaRemoveAgendaViewButton; ?>';
window.sagendaBearerToken = '<?php echo $sagendaBearerToken; ?>';
window.sagendaWeekStartsOn = '<?php echo $sagendaWeekStartsOn; ?>';
window.sagendaLanguageCultureShortName = '<?php echo $locale; ?>';
window.sagendaDateFormat = '<?php echo $sagendaDateFormat; ?>';
window.sagendaTimeFormat = '<?php echo $sagendaTimeFormat; ?>';
window.sagendaAngularPath = '<?php echo $module_path; ?>/angular/';
//added this because of different scroll behaviour on Mac and Windows
if (window.navigator.userAgent.indexOf("Mac") === -1) {
let link = document.createElement('link');
link.rel = 'stylesheet';
link.href = '<?php echo $module_path; ?>/angular/scroll.css';
document.getElementsByTagName("head")[0].appendChild(link);
}
</script>
<script type="text/javascript" src="<?php echo $module_path; ?>/angular/runtime.js"></script>
<script type="text/javascript" src="<?php echo $module_path; ?>/angular/polyfills.js"></script>
<script type="text/javascript" src="<?php echo $module_path; ?>/angular/main.js"></script>
</div>