diff options
| author | Simon | 2011-03-26 22:09:11 +0100 |
|---|---|---|
| committer | Simon | 2011-03-26 22:09:11 +0100 |
| commit | 93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0 (patch) | |
| tree | cfa8f16411ff2a40b333adfaa469cf2dc1d1507b /library | |
| parent | footer fix (diff) | |
| download | pbs2-93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0.tar.gz pbs2-93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0.tar.xz pbs2-93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0.zip | |
User-Startseite Layout angepasst, GroupGraph angepasst
Diffstat (limited to 'library')
| -rw-r--r-- | library/Pbs/Graph.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/library/Pbs/Graph.php b/library/Pbs/Graph.php index ae3ab16..fc21336 100644 --- a/library/Pbs/Graph.php +++ b/library/Pbs/Graph.php @@ -14,7 +14,11 @@ class Pbs_Graph{ $this->graphstring = 'digraph groups { - size="5,5";'; + size="5,5"; + graph[ bgcolor=transparent ]; + node [ style=filled fillcolor="#ffffffff" ]; + "'.$this->getGroupTitle($groupID).'" [ fontcolor="#ffffffff", style=filled, fillcolor="#003592FF"]; + '; $this->getParentGroups($groupID); $this->getChildGroups($groupID); $this->graphstring .= '}'; @@ -23,7 +27,7 @@ class Pbs_Graph{ $str = 'echo "'; $str .= $this->graphstring; - $str .= '" | dot -Tpng '; + $str .= '" | dot -Tpng '; passthru($str,$end); return $end; } |
