Revision 7886
Added by Aaron Marcuse-Kubitza over 11 years ago
index.php | ||
---|---|---|
54 | 54 |
return function($path) use($url) |
55 | 55 |
{ |
56 | 56 |
$path = parse_dot_path($path); |
57 |
$subject = "schema"; |
|
57 | 58 |
if ($path->head) |
58 | 59 |
{ |
59 | 60 |
$url .= "&table=".$path->head; |
60 |
if ($path->tail) $url .= "&column=".$path->tail."&subject=column"; |
|
61 |
else $url .= "&subject=table"; |
|
61 |
if ($path->tail) |
|
62 |
{ |
|
63 |
$url .= "&column=".$path->tail; |
|
64 |
$subject = "column"; |
|
65 |
} |
|
66 |
else $subject = "table"; |
|
62 | 67 |
} |
63 |
else $url .= "&subject=schema"; |
|
64 |
return $url; |
|
68 |
return $url."&subject=".$subject; |
|
65 | 69 |
}; |
66 | 70 |
} |
67 | 71 |
|
Also available in: Unified diff
vegpath/index.php: phpPgAdmin(): Factored out appending of "&subject="