mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 21:20:01 -06:00
Show shares when array is online and has formatting disks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Menu="Shares:2"
|
||||
Title="Disk Shares"
|
||||
Tag="user-circle-o"
|
||||
Cond="$var['fsState']=='Started' && $var['shareDisk']!='no'"
|
||||
Cond="$var['fsState']!="Stopped" && $var['shareUser']=='e'"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2017, Lime Technology
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Menu="Shares:1"
|
||||
Title="User Shares"
|
||||
Tag="user-circle"
|
||||
Cond="$var['fsState']=="Started" && $var['shareUser']=='e'"
|
||||
Cond="$var['fsState']!="Stopped" && $var['shareUser']=='e'"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2017, Lime Technology
|
||||
|
||||
@@ -2,8 +2,8 @@ Menu="Tasks:2"
|
||||
Type="xmenu"
|
||||
----
|
||||
<?PHP
|
||||
if ($var['fsState']!="Started") {
|
||||
echo "<p class='notice'>Array must be <span class='strong big'>started</span> to view Shares.</p>";
|
||||
if ($var['fsState']=="Stopped") {
|
||||
echo "<p class='notice'>Array must be <span class='strong big'>Started</span> to view Shares.</p>";
|
||||
return;
|
||||
}
|
||||
if (count($pages)==2) $tabbed = false;
|
||||
|
||||
Reference in New Issue
Block a user