summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-28 10:21:06 +0100
committerLukas Reschke <lukas@statuscode.ch>2012-10-28 10:21:06 +0100
commit2d5edead777ff2010ff5dc56f36d81b033dfd436 (patch)
tree0b9ce5f807bb43e66d95e09a411029fdce599be9 /core/templates
parenta306e4b8a02cb03d5c6f29aa602e75d075e2877f (diff)
downloadnextcloud-server-2d5edead777ff2010ff5dc56f36d81b033dfd436.tar.gz
nextcloud-server-2d5edead777ff2010ff5dc56f36d81b033dfd436.zip
Revert "Fix a typo"
This reverts commit a306e4b8a02cb03d5c6f29aa602e75d075e2877f.
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.guest.php2
-rw-r--r--core/templates/layout.user.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 9434948a9e8..1f39148b2b1 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -14,7 +14,7 @@
var oc_requestlifespan = '<?php echo $_['requestlifespan']; ?>';
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->t('firstday')) ?>;
+ var firstDay = <?php echo json_encode($l->l('firstday')) ?>;
</script>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 009ee592738..1f16fdf7c6c 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -16,7 +16,7 @@
var datepickerFormatDate = <?php echo json_encode($l->l('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->t('firstday')) ?>;
+ var firstDay = <?php echo json_encode($l->l('firstday')) ?>;
</script>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>