From d4fb0d8f3a5bf2135bc6395863d4144be26380e6 Mon Sep 17 00:00:00 2001 From: xzilla Date: Fri, 10 Nov 2006 01:15:04 +0000 Subject: [PATCH] make aggregate names in the tree clickable / bring up aggregate properties. --- aggregates.php | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/aggregates.php b/aggregates.php index 9cba3694..263ddf69 100644 --- a/aggregates.php +++ b/aggregates.php @@ -3,7 +3,7 @@ /** * Manage aggregates in a database * - * $Id: aggregates.php,v 1.14 2006/08/09 21:19:44 xzilla Exp $ + * $Id: aggregates.php,v 1.15 2006/11/10 01:15:04 xzilla Exp $ */ // Include application functions @@ -329,13 +329,24 @@ global $misc, $data; $aggregates = $data->getAggregates(); - - $proto = concat(field('proname'), ' (', field('proargtypes'), ')'); + + $proto = concat(field('proname'), ' (', field('proargtypes'), ')'); + $reqvars = $misc->getRequestVars('aggregate'); $attrs = array( - 'text' => $proto, - 'icon' => 'Aggregate', - 'toolTip'=> field('aggcomment'), + 'text' => $proto, + 'icon' => 'Aggregate', + 'toolTip' => field('aggcomment'), + + 'action' => url('redirect.php', + $reqvars, + array( + 'action' => 'properties', + 'aggrname' => field('proname'), + 'aggrtype' => field('proargtypes') + ) + ) + ); $misc->printTreeXML($aggregates, $attrs); -- 2.39.5