aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-04 19:52:23 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-04 19:52:23 +0000
commit003054a4816c250556d5271998412d1060d58685 (patch)
tree4827ee0988e0b88199429d738788777349a4a2f8 /views
parent329fafa3103ed6575ce004c1cf08947aa88ffb4d (diff)
downloadelgg-003054a4816c250556d5271998412d1060d58685.tar.gz
elgg-003054a4816c250556d5271998412d1060d58685.tar.bz2
Refs #2771: Removed CRLFs.
git-svn-id: http://code.elgg.org/elgg/trunk@7828 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/js/languages.php16
-rw-r--r--views/default/js/languages/en.php2
2 files changed, 9 insertions, 9 deletions
diff --git a/views/default/js/languages.php b/views/default/js/languages.php
index 34367aaf1..009e8159c 100644
--- a/views/default/js/languages.php
+++ b/views/default/js/languages.php
@@ -1,9 +1,9 @@
-<?php
-/**
- * @uses $vars['language']
- */
-global $CONFIG;
-
-$language = $vars['language'];
-
+<?php
+/**
+ * @uses $vars['language']
+ */
+global $CONFIG;
+
+$language = $vars['language'];
+
echo json_encode($CONFIG->translations[$language]); \ No newline at end of file
diff --git a/views/default/js/languages/en.php b/views/default/js/languages/en.php
index afcf4bb7f..8a604cc12 100644
--- a/views/default/js/languages/en.php
+++ b/views/default/js/languages/en.php
@@ -1,2 +1,2 @@
-<?php
+<?php
echo elgg_view('js/languages', array('language' => 'en')); \ No newline at end of file