diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-07 14:15:51 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-07 14:15:51 -0500 |
commit | d39655e1269494dd1c8cad06c972e8884cace8ea (patch) | |
tree | 41cec4ecd5289521a452aab079b0074faac1464f /core/templates | |
parent | da7a14e9a6cc5a388ae817a226af7fa262fe6846 (diff) | |
download | nextcloud-server-d39655e1269494dd1c8cad06c972e8884cace8ea.tar.gz nextcloud-server-d39655e1269494dd1c8cad06c972e8884cace8ea.zip |
Move template parameters around so database error page is properly rendered
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.base.php | 1 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 47f4b423b3e..cb2f9773839 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -10,7 +10,6 @@ <script type="text/javascript"> var oc_debug = <?php echo (defined('DEBUG') && DEBUG) ? 'true' : 'false'; ?>; var oc_webroot = '<?php echo OC::$WEBROOT; ?>'; - var oc_appswebroots = <?php echo $_['apps_paths'] ?>; var oc_requesttoken = '<?php echo $_['requesttoken']; ?>'; </script> <?php foreach ($_['jsfiles'] as $jsfile): ?> diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 8395426e4e4..5b39503474d 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -10,7 +10,6 @@ <script type="text/javascript"> var oc_debug = <?php echo (defined('DEBUG') && DEBUG) ? 'true' : 'false'; ?>; var oc_webroot = '<?php echo OC::$WEBROOT; ?>'; - var oc_appswebroots = <?php echo $_['apps_paths'] ?>; 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'))) ?>; |