diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-23 11:30:40 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-23 11:30:40 +0100 |
commit | c8bbbb48d3214d3ce141110aebcd59577d9e5c40 (patch) | |
tree | c7f41e33783878ee664f919ac5818066047dea10 /core/templates/layout.guest.php | |
parent | 48949ba04acacd5cc4039ba15266619ebe61a52b (diff) | |
parent | c986dbe5739347f3fd40fa17132169de9fd9494c (diff) | |
download | nextcloud-server-c8bbbb48d3214d3ce141110aebcd59577d9e5c40.tar.gz nextcloud-server-c8bbbb48d3214d3ce141110aebcd59577d9e5c40.zip |
Merge master...
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r-- | core/templates/layout.guest.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 499d49e445d..7f33d539658 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -7,7 +7,19 @@ <?php foreach($_['cssfiles'] as $cssfile): ?> <link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" /> <?php endforeach; ?> +<<<<<<< HEAD <script type="text/javascript" src="<?php echo OC_Helper::linkToRoute('js_config');?>"></script> +======= + <script type="text/javascript"> + var oc_debug = <?php echo (defined('DEBUG') && DEBUG) ? 'true' : 'false'; ?>; + var oc_webroot = '<?php echo OC::$WEBROOT; ?>'; + var oc_requesttoken = '<?php echo $_['requesttoken']; ?>'; + var datepickerFormatDate = <?php echo json_encode($l->l('jsdate', 'jsdate')) ?>; + var dayNames = <?php echo json_encode(array((string)$l->t('Sunday'), (string)$l->t('Monday'), (string)$l->t('Tuesday'), (string)$l->t('Wednesday'), (string)$l->t('Thursday'), (string)$l->t('Friday'), (string)$l->t('Saturday'))) ?>; + var monthNames = <?php echo json_encode(array((string)$l->t('January'), (string)$l->t('February'), (string)$l->t('March'), (string)$l->t('April'), (string)$l->t('May'), (string)$l->t('June'), (string)$l->t('July'), (string)$l->t('August'), (string)$l->t('September'), (string)$l->t('October'), (string)$l->t('November'), (string)$l->t('December'))) ?>; + var firstDay = <?php echo json_encode($l->l('firstday', 'firstday')) ?>; + </script> +>>>>>>> master <?php foreach($_['jsfiles'] as $jsfile): ?> <script type="text/javascript" src="<?php echo $jsfile; ?>"></script> <?php endforeach; ?> |