diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-16 19:45:00 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-17 22:07:14 +0100 |
commit | f47444e1f776912cbf141ec9cc3763110f4e3552 (patch) | |
tree | e50acafa0fc13b943aafc7b8f424cab142236363 /apps/calendar/templates | |
parent | 5f3c54922773068091dfe8b40e3b407512ef4cfe (diff) | |
download | nextcloud-server-f47444e1f776912cbf141ec9cc3763110f4e3552.tar.gz nextcloud-server-f47444e1f776912cbf141ec9cc3763110f4e3552.zip |
Use separate function to make absolute urls
Diffstat (limited to 'apps/calendar/templates')
-rwxr-xr-x | apps/calendar/templates/calendar.php | 2 | ||||
-rw-r--r-- | apps/calendar/templates/settings.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php index 2d5cdea4d74..eb82d0d02ad 100755 --- a/apps/calendar/templates/calendar.php +++ b/apps/calendar/templates/calendar.php @@ -18,7 +18,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 OC_Helper::linkTo('apps/calendar', 'caldav.php', null, true); ?>/calendars'; + var totalurl = '<?php echo OC_Helper::linkToAbsolute('calendar', 'caldav.php'); ?>/calendars'; $(document).ready(function() { <?php if(array_key_exists('showevent', $_)){ diff --git a/apps/calendar/templates/settings.php b/apps/calendar/templates/settings.php index e174378d02d..979634874e4 100644 --- a/apps/calendar/templates/settings.php +++ b/apps/calendar/templates/settings.php @@ -40,6 +40,6 @@ </table> <?php echo $l->t('Calendar CalDAV syncing address:');?> - <?php echo OC_Helper::linkTo('apps/calendar', 'caldav.php', null, true); ?><br /> + <?php echo OC_Helper::linkToAbsolute('calendar', 'caldav.php'); ?><br /> </fieldset> </form> |