Add alter button action on views and tables lists pages to be more consistant with...
authorGuillaume (ioguix) de Rorthais <ioguix@free.fr>
Tue, 4 Nov 2008 22:01:19 +0000 (17:01 -0500)
committerGuillaume (ioguix) de Rorthais <ioguix@free.fr>
Tue, 4 Nov 2008 22:01:19 +0000 (17:01 -0500)
tables.php
views.php

index 9ee48d935d2ef8f7af5f2d311bee4c64754273fd..16913a71c9c9e274b4589f6a9c5fa81c43ca2db4 100644 (file)
                                'vars'  => array('table' => 'relname'),
                                'multiaction' => 'confirm_empty',
                        ),
+                       'alter' => array(
+                               'title' => $lang['stralter'],
+                               'url'   => "tblproperties.php?action=confirm_alter&amp;{$misc->href}&amp;",
+                               'vars'  => array('table' => 'relname'),
+                       ),
                        'drop' => array(
                                'title' => $lang['strdrop'],
                                'url'   => "tables.php?action=confirm_drop&amp;{$misc->href}&amp;",
index 091dea02778c4d128678b0a9aad879063c23e4ab..da3bbba08fdee752881b17303d354b875133bcfa 100644 (file)
--- a/views.php
+++ b/views.php
 //                             'title' => $lang['strinsert'],
 //                             'url'   => "views.php?action=confinsertrow&amp;{$misc->href}&amp;",
 //                             'vars'  => array('view' => 'relname'),
-//                     ),
+                       //                      ),
 
+                       'alter' => array(
+                               'title' => $lang['stralter'],
+                               'url'   => "viewproperties.php?action=confirm_alter&amp;{$misc->href}&amp;",
+                               'vars'  => array('view' => 'relname'),
+                       ),
                        'drop' => array(
                                'title' => $lang['strdrop'],
                                'url'   => "views.php?action=confirm_drop&amp;{$misc->href}&amp;",