grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026duration_minutes = $_REQUEST['duration_minutes']; } if (!isset($focus->duration_minutes)) { $focus->duration_minutes = $focus->minutes_value_default; } global $timedate; //setting default date and time if (is_null($focus->date_start)) { $focus->date_start = $timedate->to_display_date(gmdate($timedate->get_date_time_format())); } if (is_null($focus->duration_hours)) { $focus->duration_hours = "0"; } if (is_null($focus->duration_minutes)) { $focus->duration_minutes = "1"; } if ($view == 'EditView' || $view == 'MassUpdate' || $view == "QuickCreate" ) { $html = ''; return $html; } return $focus->duration_minutes; } /** * @param $focus * @param $field * @param $value * @param $view * @return string * * @deprecated 6.5.0 */ function getReminderTime($focus, $field, $value, $view) { global $current_user, $app_list_strings; $reminder_t = -1; if (!empty($_REQUEST['full_form']) && !empty($_REQUEST['reminder_time'])) { $reminder_t = $_REQUEST['reminder_time']; } else { if (isset($focus->reminder_time)) { $reminder_t = $focus->reminder_time; } else { if (isset($value)) { $reminder_t = $value; } } } if ($view == 'EditView' || $view == 'MassUpdate' || $view == "SubpanelCreates" || $view == "QuickCreate" ) { global $app_list_strings; $html = ''; return $html; } if ($reminder_t == -1) { return ""; } return translate('reminder_time_options', '', $reminder_t); }