/**
* Slony database tab plugin
*
- * $Id: plugin_slony.php,v 1.20 2007/07/12 19:26:22 xzilla Exp $
+ * $Id: plugin_slony.php,v 1.21 2007/07/15 09:37:34 ioguix Exp $
*/
// Include application functions
$columns = array(
'no_name' => array(
'title' => $lang['strcluster'],
- 'field' => 'cluster'
+ 'field' => 'cluster',
'url' => "plugin_slony.php?{$misc->href}&action=cluster_properties&",
- 'vars' => array('slony_cluster' => 'cluster')
+ 'vars' => array('slony_cluster' => 'cluster'),
),
'actions' => array(
'title' => $lang['stractions'],
),
'no_comment' => array(
'title' => $lang['strcomment'],
- 'field' => 'comment'
+ 'field' => 'comment',
)
);
'drop' => array(
'title' => $lang['strdrop'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_drop_cluster&",
- 'vars' => array('slony_cluster' => 'cluster')
+ 'vars' => array('slony_cluster' => 'cluster'),
)
);
$columns = array(
'no_name' => array(
'title' => $lang['strname'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
'url' => "plugin_slony.php?{$misc->href}&action=node_properties&subject=slony_node&",
- 'vars' => array('no_id' => 'no_id', 'no_name' => 'no_comment')
+ 'vars' => array('no_id' => 'no_id', 'no_name' => 'no_comment'),
),
'no_status' => array(
'title' => $lang['strstatus'],
),
'no_comment' => array(
'title' => $lang['strcomment'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
)
);
'drop' => array(
'title' => $lang['strdrop'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_drop_node&subject=slony_node&",
- 'vars' => array('no_id' => 'no_id', 'no_name' => 'no_comment')
+ 'vars' => array('no_id' => 'no_id', 'no_name' => 'no_comment'),
)
);
$columns = array(
'no_name' => array(
'title' => $lang['strname'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
'url' => "plugin_slony.php?{$misc->href}&action=path_properties&",
- 'vars' => array('no_id' => 'pa_client', 'path_id' => 'no_id')
+ 'vars' => array('no_id' => 'pa_client', 'path_id' => 'no_id'),
),
'actions' => array(
'title' => $lang['stractions'],
),
'no_comment' => array(
'title' => $lang['strcomment'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
)
);
'drop' => array(
'title' => $lang['strdrop'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_drop_path&",
- 'vars' => array('no_id' => 'pa_client', 'path_id' => 'no_id')
+ 'vars' => array('no_id' => 'pa_client', 'path_id' => 'no_id'),
)
);
$columns = array(
'no_name' => array(
'title' => $lang['strname'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
'url' => "plugin_slony.php?{$misc->href}&action=listen_properties&",
- 'vars' => array('no_id' => 'li_receiver', 'listen_id' => 'no_id', 'origin_id' => 'li_origin')
+ 'vars' => array('no_id' => 'li_receiver', 'listen_id' => 'no_id', 'origin_id' => 'li_origin'),
),
'actions' => array(
'title' => $lang['stractions'],
),
'no_comment' => array(
'title' => $lang['strcomment'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
)
);
'drop' => array(
'title' => $lang['strdrop'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_drop_listen&",
- 'vars' => array('no_id' => 'li_receiver', 'listen_id' => 'no_id', 'origin_id' => 'li_origin')
+ 'vars' => array('no_id' => 'li_receiver', 'listen_id' => 'no_id', 'origin_id' => 'li_origin'),
)
);
$columns = array(
'set_name' => array(
'title' => $lang['strname'],
- 'field' => 'set_comment'
+ 'field' => 'set_comment',
'url' => "plugin_slony.php?{$misc->href}&action=set_properties&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
),
'actions' => array(
'title' => $lang['stractions'],
),
'set_comment' => array(
'title' => $lang['strcomment'],
- 'field' => 'set_comment'
+ 'field' => 'set_comment',
)
);
'drop' => array(
'title' => $lang['strdrop'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_drop_set&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
),
'lock' => array(
'title' => $lang['strlock'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_lock_set&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
),
'unlock' => array(
'title' => $lang['strunlock'],
'url' => "plugin_slony.php?{$misc->href}&action=confirm_unlock_set&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
),
'merge' => array(
'title' => $lang['strmerge'],
'url' => "plugin_slony.php?{$misc->href}&action=merge_set&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
),
'move' => array(
'title' => $lang['strmove'],
'url' => "plugin_slony.php?{$misc->href}&action=move_set&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
),
'execute' => array(
'title' => $lang['strexecute'],
'url' => "plugin_slony.php?{$misc->href}&action=execute_set&",
- 'vars' => array('set_id' => 'set_id')
+ 'vars' => array('set_id' => 'set_id'),
)
);
),
'tablespace' => array(
'title' => $lang['strtablespace'],
- 'field' => 'tablespace'
+ 'field' => 'tablespace',
),
'tuples' => array(
'title' => $lang['strestimatedrowcount'],
'field' => 'reltuples',
- 'type' => 'numeric'
+ 'type' => 'numeric',
),
'actions' => array(
'title' => $lang['stractions'],
$columns = array(
'no_name' => array(
'title' => $lang['strname'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
'url' => "plugin_slony.php?{$misc->href}&action=subscription_properties&",
- 'vars' => array('set_id' => 'sub_set', 'no_id' => 'no_id')
+ 'vars' => array('set_id' => 'sub_set', 'no_id' => 'no_id'),
),
'no_comment' => array(
'title' => $lang['strcomment'],
- 'field' => 'no_comment'
+ 'field' => 'no_comment',
)
);