Fixed a few parse errors, and $phpgw_flags wasn't setting properly

This commit is contained in:
jengo 2000-09-05 06:35:34 +00:00
parent f6e438ad5a
commit 3e0a8d43f0
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,7 @@
\**************************************************************************/
/* $Id$ */
$phpgw_flags["currentapp"] = "calendar";
$phpgw_flags = array("noheader" => True, "nonavbar" => True, "currentapp" => "calendar");
include("../header.inc.php");
if ($id > 0) {
@ -31,4 +30,5 @@
$phpgw->db->query("DELETE FROM webcal_entry_groups WHERE cal_id = $id");
}
Header("Location: " . $phpgw->link("index.php,"year=$thisyear&month=$thismonth"));
Header("Location: " . $phpgw->link("index.php","year=$thisyear&month=$thismonth"));
?>

View File

@ -121,7 +121,7 @@ function validate_and_submit() {
<?php
if ($can_edit) {
?>
<FORM ACTION="<?php echo $phpgw->link("edit_entry_handler.php"); ?>" METHOD="GET" name="addform">
<FORM ACTION="<?php echo $phpgw->link("edit_entry_handler.php"); ?>" METHOD="POST" name="addform">
<?php if ($id) echo "<INPUT TYPE=\"hidden\" NAME=\"id\" VALUE=\"$id\">\n"; ?>