diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 23:19:12 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-21 23:47:21 +0100 |
commit | 1a747b3e480a2b44969b1306a5d354e721781c81 (patch) | |
tree | f8ec031fd1d04525de2851ad0ecb27142ff98b5b /core/js/config.php | |
parent | db8dbb9847da1a6f1146153414f8bd3bac4ca980 (diff) | |
download | nextcloud-server-1a747b3e480a2b44969b1306a5d354e721781c81.tar.gz nextcloud-server-1a747b3e480a2b44969b1306a5d354e721781c81.zip |
Style cleanup core dir
Diffstat (limited to 'core/js/config.php')
-rw-r--r-- | core/js/config.php | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/core/js/config.php b/core/js/config.php index 9069175ed6f..0aaa4482287 100644 --- a/core/js/config.php +++ b/core/js/config.php @@ -29,8 +29,33 @@ $array = array( "oc_current_user" => "\"".OC_User::getUser(). "\"", "oc_requesttoken" => "\"".OC_Util::callRegister(). "\"", "datepickerFormatDate" => json_encode($l->l('jsdate', 'jsdate')), - "dayNames" => 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'))), - "monthNames" => 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'))), + "dayNames" => 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') + ) + ), + "monthNames" => 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') + ) + ), "firstDay" => json_encode($l->l('firstday', 'firstday')) , ); @@ -38,4 +63,3 @@ $array = array( foreach ($array as $setting => $value) { echo("var ". $setting ."=".$value.";\n"); } -?>
\ No newline at end of file |