add some forgotten (bugs) & prefered (not mandatory) commas
authorioguix <ioguix>
Sun, 15 Jul 2007 09:37:34 +0000 (09:37 +0000)
committerioguix <ioguix>
Sun, 15 Jul 2007 09:37:34 +0000 (09:37 +0000)
plugin_slony.php

index ffb2c7549c54b9e988420818487eafef5a5ebbc2..3287272b59b98e3365efae944f2db233fa2d5e1c 100755 (executable)
@@ -3,7 +3,7 @@
        /**
         * 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}&amp;action=cluster_properties&amp;",
-                               '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}&amp;action=confirm_drop_cluster&amp;",
-                               '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}&amp;action=node_properties&amp;subject=slony_node&amp;",
-                               '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}&amp;action=confirm_drop_node&amp;subject=slony_node&amp;",
-                               '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}&amp;action=path_properties&amp;",
-                               '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}&amp;action=confirm_drop_path&amp;",
-                               '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}&amp;action=listen_properties&amp;",
-                               '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}&amp;action=confirm_drop_listen&amp;",
-                               '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}&amp;action=set_properties&amp;",
-                               '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}&amp;action=confirm_drop_set&amp;",
-                               'vars'  => array('set_id' => 'set_id')
+                               'vars'  => array('set_id' => 'set_id'),
                        ),
                        'lock' => array(
                                'title' => $lang['strlock'],
                                'url'   => "plugin_slony.php?{$misc->href}&amp;action=confirm_lock_set&amp;",
-                               'vars'  => array('set_id' => 'set_id')
+                               'vars'  => array('set_id' => 'set_id'),
                        ),
                        'unlock' => array(
                                'title' => $lang['strunlock'],
                                'url'   => "plugin_slony.php?{$misc->href}&amp;action=confirm_unlock_set&amp;",
-                               'vars'  => array('set_id' => 'set_id')
+                               'vars'  => array('set_id' => 'set_id'),
                        ),
                        'merge' => array(
                                'title' => $lang['strmerge'],
                                'url'   => "plugin_slony.php?{$misc->href}&amp;action=merge_set&amp;",
-                               'vars'  => array('set_id' => 'set_id')
+                               'vars'  => array('set_id' => 'set_id'),
                        ),
                        'move' => array(
                                'title' => $lang['strmove'],
                                'url'   => "plugin_slony.php?{$misc->href}&amp;action=move_set&amp;",
-                               'vars'  => array('set_id' => 'set_id')
+                               'vars'  => array('set_id' => 'set_id'),
                        ),
                        'execute' => array(
                                'title' => $lang['strexecute'],
                                'url'   => "plugin_slony.php?{$misc->href}&amp;action=execute_set&amp;",
-                               '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}&amp;action=subscription_properties&amp;",
-                               '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',
                        )
                );