Add Expand Group option to web view
This commit is contained in:
12
www/User.php
12
www/User.php
@@ -27,6 +27,18 @@ class User
|
||||
|
||||
function GetCategory($id)
|
||||
{
|
||||
if ($id == "")
|
||||
{
|
||||
$cat["id"] = "";
|
||||
$cat["forecolor"] = "black";
|
||||
$cat["backcolor"] = "#3DEB3D";
|
||||
$s = "background-color:" . $cat["backcolor"] . ";";
|
||||
$s .= "color:" . $cat["forecolor"] . ";";
|
||||
$cat["style"] = $s;
|
||||
|
||||
return $cat;
|
||||
}
|
||||
|
||||
foreach($this->categories as $i => $category)
|
||||
if ($category["id"] == "$id") return $category;
|
||||
|
||||
|
Reference in New Issue
Block a user