ManageTable colorize the row in alternate
This commit is contained in:
parent
426d5b549f
commit
c680698c89
4 changed files with 40 additions and 0 deletions
|
|
@ -423,6 +423,7 @@ class Manage_Table_SQL
|
|||
sprintf("%s.input('-1','%s')", $this->object_name,
|
||||
$this->object_name));
|
||||
}
|
||||
printf ('<script> alternate_row("tb%s");</script>', $this->object_name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -442,6 +443,12 @@ class Manage_Table_SQL
|
|||
if ($this->get_property_visible($key)==true)
|
||||
echo th($this->a_label_displaid[$key]);
|
||||
}
|
||||
if ($this->can_update_row()) {
|
||||
echo td(_('Modifier'));
|
||||
}
|
||||
if ($this->can_delete_row()) {
|
||||
echo td(_('Effacer'));
|
||||
}
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue