diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-05-07 20:22:55 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-07 21:47:14 +0200 |
commit | 4dbc2093c680bebaa42f230937be88a58984c5bd (patch) | |
tree | f0d51daac5376fadab5d8f1147926842485af836 /apps/calendar/templates/calendar.php | |
parent | 9b5e0bebefd6c30c819d9830e79f3c07f0231d42 (diff) | |
download | nextcloud-server-4dbc2093c680bebaa42f230937be88a58984c5bd.tar.gz nextcloud-server-4dbc2093c680bebaa42f230937be88a58984c5bd.zip |
Create a function for linking to remote.php
Diffstat (limited to 'apps/calendar/templates/calendar.php')
-rwxr-xr-x | apps/calendar/templates/calendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php index 19c9a4d8d76..832194f0fe1 100755 --- a/apps/calendar/templates/calendar.php +++ b/apps/calendar/templates/calendar.php @@ -19,7 +19,7 @@ var missing_field_totime = '<?php echo addslashes($l->t('To Time')) ?>'; var missing_field_startsbeforeends = '<?php echo addslashes($l->t('The event ends before it starts')) ?>'; var missing_field_dberror = '<?php echo addslashes($l->t('There was a database fail')) ?>'; - var totalurl = '<?php echo OCP\Util::linkToAbsolute('remote.php', 'caldav'); ?>/calendars'; + var totalurl = '<?php echo OCP\Util::linkToRemote('caldav'); ?>calendars'; var firstDay = '<?php echo (OCP\Config::getUserValue(OCP\USER::getUser(), 'calendar', 'firstday', 'mo') == 'mo' ? '1' : '0'); ?>'; $(document).ready(function() { <?php |