function display_edit_log_entry($athlete_id, $session_id, $error_message)
{
    // The $extra variable was used to allow editing of the row within the table
    // but I have changed my mind about this and will now use the pop-up edit window
    $extra = array("EDIT", "{$session_id}");
    # show_log_table($athlete_id, "", $extra );
    session_edit_form($session_id, $athlete_id, $error_message);
}
Beispiel #2
0
function display_row_editor($session_id, $athlete_id, $extra)
{
    // Check whether this session is to be edited
    if ($extra[0] == "EDIT" && $extra[1] == $session_id) {
        echo "<TR><TD class=firstcell colspan=15 >\n";
        echo "<b>Edit this session</b>";
        session_edit_form($session_id, $athlete_id, "");
        echo "</TD></TR>\n\n";
    }
}