diff options
author | nachoparker <nacho@ownyourbits.com> | 2020-08-30 23:38:08 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2020-08-30 23:38:08 +0300 |
commit | 34e84bab94762b9b12a61adc2bc1f578d1aab7b9 (patch) | |
tree | b5dfba12113cf6e3ea029ff1c4e86a0882b8f0bd /ncp-web | |
parent | 17aae5640cb50ae7047f7e6060d2f8d50b92ef20 (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.php | 6 |
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 |