' . "\n"
. PMA_getHtmlForNotAttachedPrivilegesToTableSpecificColumn($row)
. '
' . "\n";
// for Safari 2.0.2
$html_output .= '' . "\n"
. '' . "\n";
$html_output .= '' . "\n"
. '
' . "\n";
} // end foreach ()
return $html_output;
}
/**
* Get HTML for global or database specific privileges
*
* @param string $db the database
* @param string $table the table
* @param string $row first row from result or boolean false
*
* @return string $html_output
*/
function PMA_getHtmlForGlobalOrDbSpecificPrivs($db, $table, $row)
{
$privTable_names = array(0 => __('Data'),
1 => __('Structure'),
2 => __('Administration')
);
$privTable = array();
// d a t a
$privTable[0] = PMA_getDataPrivilegeTable($db);
// s t r u c t u r e
$privTable[1] = PMA_getStructurePrivilegeTable($table, $row);
// a d m i n i s t r a t i o n
$privTable[2] = PMA_getAdministrationPrivilegeTable($db);
$html_output = '