From 93f4bc38f2075720ca2467c0f5e10bc0a1c3bbc0 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 26 Mar 2011 22:09:11 +0100 Subject: User-Startseite Layout angepasst, GroupGraph angepasst --- library/Pbs/Graph.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'library/Pbs/Graph.php') 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; } -- cgit v1.2.3-55-g7522