More work an webgui
This commit is contained in:
+2
-2
@@ -117,7 +117,7 @@ elseif ($action == ACT_ADD):
|
||||
|
||||
echo '<h2>', _('Add Task'), "</h2>\n";
|
||||
?>
|
||||
<form method="post">
|
||||
<form method="post" action="<?=$g_scriptname?>">
|
||||
<?php
|
||||
// preselect project if parameter is set
|
||||
$projid = gpc_get_int($_REQUEST, 'projid');
|
||||
@@ -165,7 +165,7 @@ $task = $sth->fetch(PDO::FETCH_OBJ);
|
||||
echo '<h2>', _('Edit Task'), "</h2>\n";
|
||||
|
||||
?>
|
||||
<form method="post">
|
||||
<form method="post" action="<?=$g_scriptname?>">
|
||||
<input type="hidden" name="id" value="<?=$id?>">
|
||||
<div class="mb-3">
|
||||
<label for="taskname" class="form-label"><?=_('Name')?></label>
|
||||
|
||||
Reference in New Issue
Block a user