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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2020-08-30 23:38:08 +0300
committernachoparker <nacho@ownyourbits.com>2020-08-30 23:38:08 +0300
commit34e84bab94762b9b12a61adc2bc1f578d1aab7b9 (patch)
treeb5dfba12113cf6e3ea029ff1c4e86a0882b8f0bd /ncp-web
parent17aae5640cb50ae7047f7e6060d2f8d50b92ef20 (diff)
ncp-web: fix initial screen displaying all sectionsv1.29.5
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'ncp-web')
-rw-r--r--ncp-web/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ncp-web/index.php b/ncp-web/index.php
index 1b347fb0..b5d99f3c 100644
--- a/ncp-web/index.php
+++ b/ncp-web/index.php
@@ -228,20 +228,20 @@ HTML;
<?php echo print_config_forms($l); ?>
</div>
- <div id="dashboard-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'dashboard')) echo 'hidden';?>">
+ <div id="dashboard-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && $_GET['app'] != 'dashboard') echo 'hidden';?>">
<h2 class="text-title"><?php echo $l->__("System Info"); ?></h2>
<div id="dashboard-suggestions" class="table-wrapper"></div>
<div id="dashboard-table" class="outputbox table-wrapper"></div>
<div id="loading-info-gif" class="loading-section-gif"> <img src="img/loading-small.gif"> </div>
</div>
- <div id="backups-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'backups')) echo 'hidden';?>">
+ <div id="backups-wrapper" class="content-box <?php if(!array_key_exists('app',$_GET) || (array_key_exists('app',$_GET) && $_GET['app'] != 'backups')) echo 'hidden';?>">
<h2 class="text-title"><?php echo $l->__("Backups"); ?></h2>
<div id="backups-content" class="table-wrapper"></div>
<div id="loading-backups-gif" class="loading-section-gif"> <img src="img/loading-small.gif"> </div>
</div>
- <div id="nc-config-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'config')) echo 'hidden';?>">
+ <div id="nc-config-wrapper" class="content-box <?php if(!array_key_exists('app',$_GET) || (array_key_exists('app',$_GET) && $_GET['app'] != 'config')) echo 'hidden';?>">
<h2 class="text-title"><?php echo $l->__("Nextcloud configuration"); ?></h2>
<div id="nc-config-box" class="table-wrapper">
<?php