Commit 49cbe7ac authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Remove mandatory calendar locations

parent f71a68e3
......@@ -101,11 +101,6 @@ function doaction(action)
strAlert += "- " + "<?=$hh->tr->Translate("title");?>\n";
boolOK = false;
}
if (f.place.value=="")
{
strAlert += "- " + "<?=$hh->tr->Translate("town");?>\n";
boolOK = false;
}
if (action=="delete")
{
boolOK = true;
......@@ -173,14 +168,10 @@ if($id>0 && $calendar_version==2) {
echo $hh->input_note("$gmaps_note<a href=\"$gmaps\" target=\"_blank\">Link a Google Maps</a>");
}
$hh->mandatory = TRUE;
echo $hh->input_text("address","address",$row['address'],80,0,$input_right);
$hh->mandatory = FALSE;
echo $hh->input_textarea("address_notes","place_details",$row['place_details'],80,3,"",$input_right);
$hh->mandatory = TRUE;
echo $hh->input_text("town","place",$row['place'],80,0,$input_right);
echo $hh->input_geo($row['id_geo'],$input_right);
$hh->mandatory = FALSE;
echo $hh->input_separator("who");
echo $hh->input_text("contact_main","contact_name",$row['contact_name'],50,0,$input_right);
......
......@@ -61,7 +61,7 @@ if ($from=="event")
$id_new_event = 0;
$fh->va->NotEmpty($title,"title");
$fh->va->NotEmpty($place,"place");
//$fh->va->NotEmpty($place,"place");
$fh->va->GreaterThenZero($id_event_type,"id_event_type");
$fh->va->Email($email);
$fh->va->Captcha($post);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment