Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Pfeifer <kevin.pfeifer@sunlime.at>2019-12-19 22:53:52 +0300
committerJoas Schilling <coding@schilljs.com>2020-03-18 15:19:07 +0300
commit2e514849e08a9a26af5d95753bbee0e779b6cc53 (patch)
tree891b40dcd1c84ff8c75e62da624e7721c80d58ca /templates
parentaad42e4a3ab66d06f25598b203e558ed412d45fe (diff)
fix code indention + convert snake case variabs to camelCase
Signed-off-by: Kevin Pfeifer <kevin.pfeifer@sunlime.at>
Diffstat (limited to 'templates')
-rw-r--r--templates/settings-admin.php64
1 files changed, 32 insertions, 32 deletions
diff --git a/templates/settings-admin.php b/templates/settings-admin.php
index 7bb1c4a..663ab5b 100644
--- a/templates/settings-admin.php
+++ b/templates/settings-admin.php
@@ -1,40 +1,40 @@
<?php
- /**
- * @copyright Copyright (c) 2016 Bjoern Schiessle <bjoern@schiessle.org>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
+/**
+ * @copyright Copyright (c) 2016 Bjoern Schiessle <bjoern@schiessle.org>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
- script('serverinfo', 'script');
- script('serverinfo', 'smoothie');
- script('serverinfo', 'Chart.min');
+script('serverinfo', 'script');
+script('serverinfo', 'smoothie');
+script('serverinfo', 'Chart.min');
- style('serverinfo', 'style');
+style('serverinfo', 'style');
- function FormatBytes($byte) {
- $unim = array('B', 'KB', 'MB', 'GB', 'TB', 'PB');
- $count = 1;
- while ($byte >= 1024) {
- $count++;
- $byte = $byte / 1024;
- }
+function FormatBytes($byte) {
+ $unim = array('B', 'KB', 'MB', 'GB', 'TB', 'PB');
+ $count = 1;
+ while ($byte >= 1024) {
+ $count++;
+ $byte = $byte / 1024;
+ }
- return number_format($byte, 2, '.', '.') . ' ' . $unim[$count];
- }
+ return number_format($byte, 2, '.', '.') . ' ' . $unim[$count];
+}
?>