-
-function edit_link_cell($param, $title=false)
-{
- label_cell("<a href='" . $_SERVER['PHP_SELF']. "?" . "$param'"
- .($title ? " title='$title'":'').">" . _("Edit") . "</a>", "nowrap");
-}
-
-function delete_link_cell($param, $title=false)
-{
- label_cell("<a href='" . $_SERVER['PHP_SELF']. "?" . "$param'"
- .($title ? " title='$title'":'') .">" . _("Delete") . "</a>", "nowrap");
-}
-
-function edit_button($name, $value, $title=false)
-{
-// php silently changes dots,spaces,'[' and characters 128-159
-// to underscore in POST names, to maintain compatibility with register_globals
- echo "<input type=\"submit\" class=\"editbutton\" name=\""
- .htmlentities(strtr($name, array('.'=>'=2E',' '=>'=20','='=>'=3D','['=>'=5B')))
- ."\" value=\"$value\""
- .($title ? " title='$title'":'')." />\n";
-}
-
-function edit_button_cell($name, $value, $title=false)
-{
- echo "<td>";
- edit_button($name, $value, $title);
- echo "</td>";
-}
-