This commit is contained in:
skeeter 2000-10-06 00:50:34 +00:00
parent 1914c9832d
commit 9d76ca4a50

View File

@ -104,7 +104,7 @@
echo "<A HREF=\"".$phpgw->link($phpgw_info["server"]["webserver_url"] echo "<A HREF=\"".$phpgw->link($phpgw_info["server"]["webserver_url"]
."/".$phpgw_info["flags"]["currentapp"]."/view.php","id=$id")."\"><img src=\"" ."/".$phpgw_info["flags"]["currentapp"]."/view.php","id=$id")."\"><img src=\""
. $phpgw_info["server"]["app_images"]."/$pic\" " . $phpgw_info["server"]["app_images"]."/$pic\" "
. "border=\"0\" alt=\"".htmlentities($description)."\"></a>"; . "border=\"0\" alt=\"".htmlspecialchars(stripslashes($description))."\"></a>";
} }
// Get all the repeating events for the specified data and return them // Get all the repeating events for the specified data and return them
@ -311,7 +311,7 @@
$i = 0; $i = 0;
while ($phpgw->db->next_record()) { while ($phpgw->db->next_record()) {
$repeated_events[$i] = array("cal_name" => $phpgw->db->f("cal_name"), $repeated_events[$i] = array("cal_name" => htmlspecialchars(stripslashes($phpgw->db->f("cal_name"))),
"cal_date" => $phpgw->db->f("cal_date"), "cal_date" => $phpgw->db->f("cal_date"),
"cal_id" => $phpgw->db->f("cal_id"), "cal_id" => $phpgw->db->f("cal_id"),
"cal_type" => $phpgw->db->f("cal_type"), "cal_type" => $phpgw->db->f("cal_type"),
@ -321,8 +321,8 @@
"cal_description" => $phpgw->db->f("cal_description"), "cal_description" => $phpgw->db->f("cal_description"),
"cal_time" => $phpgw->db->f("cal_time"), "cal_time" => $phpgw->db->f("cal_time"),
"cal_priority" => $phpgw->db->f("cal_priority"), "cal_priority" => $phpgw->db->f("cal_priority"),
"cal_duration" => $phpgw->db->f("cal_duration") "cal_duration" => $phpgw->db->f("cal_duration"));
);
$i++; $i++;
} }
return $repeated_events; return $repeated_events;