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:
authornacho <nacho@ownyourbits.com>2019-01-03 01:16:22 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-05 04:14:53 +0300
commit48a70477dd855fc4bf514dcdd4c9d93f74dc576f (patch)
treeb0481912c8f6a97a9bb5465ffa58e100e0dc91b7 /ncp-web/elements.php
parentc0fc0b9b4c3757c6856d870a1bcbf3768c09d4d4 (diff)
search box
Diffstat (limited to 'ncp-web/elements.php')
-rw-r--r--ncp-web/elements.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/ncp-web/elements.php b/ncp-web/elements.php
index f06c62b2..5800dedb 100644
--- a/ncp-web/elements.php
+++ b/ncp-web/elements.php
@@ -128,6 +128,7 @@ function print_config_forms( $l /* translations l10n object */ )
$hidden = '';
$ret .= <<<HTML
<div id="$cfg[id]-config-box" class="$hidden">
+ <br/>
<h2 class="text-title">$cfg[description]</h2>
<div class="config-box-info-txt">$cfg[info]</div>
<a href="https://github.com/nextcloud/nextcloudpi/wiki/Configuration-Reference#$ncp_app" target="_blank">
@@ -160,7 +161,7 @@ function print_sidebar( $l /* translations l10n object */, $ticks /* wether to c
$sections = array_diff(scandir($bin_dir), array('.', '..', 'l10n'));
foreach ($sections as $section)
{
- $ret .= "<li id=\"$section\" class=\"nav-recent\"><span>{$l->__($section, $section)}</span>";
+ $ret .= "<li id=\"$section\"><span>{$l->__($section, $section)}</span>";
$scripts = array_diff(scandir($bin_dir . $section), array('.', '..', 'nc-wifi.sh', 'nc-info.sh'));
foreach ($scripts as $script)
@@ -180,7 +181,7 @@ function print_sidebar( $l /* translations l10n object */, $ticks /* wether to c
$selected = "";
if (array_key_exists('app',$_GET) && $_GET['app'] == $ncp_app)
$selected = "active";
- $ret .= "<ul id=\"$ncp_app\" class=\"nav-recent $selected\">";
+ $ret .= "<ul id=\"$ncp_app\" class=\"ncp-app-list-item $selected\">";
$ret .= "<a href=\"?app=$ncp_app\"> {$l->__($ncp_app, $ncp_app)}$active </a>";
$ret .= "</ul>";
}