/**
* List tables in a database
*
- * $Id: tblproperties.php,v 1.72.2.2 2007/07/09 14:55:22 xzilla Exp $
+ * $Id: tblproperties.php,v 1.72.2.3 2007/07/11 07:59:27 ioguix Exp $
*/
// Include application functions
'field' => 'comment',
),
);
-
+
$actions = array(
'properties' => array(
'title' => $lang['strproperties'],
),
'alter' => array(
'title' => $lang['stralter'],
- 'url' => "tableproperties.php?action=properties&{$misc->href}&table=".urlencode($_REQUEST['table'])."&",
+ 'url' => "tblproperties.php?action=properties&{$misc->href}&table=".urlencode($_REQUEST['table'])."&",
'vars' => array('column' => 'attname'),
),
'drop' => array(
'vars' => array('column' => 'attname'),
),
);
-
+
if (!$data->hasDropColumn()) unset($actions['drop']);
-
+
$misc->printTable($attrs, $columns, $actions, null, 'attPre');
-
+
echo "<br />\n";
echo "<ul>\n";