I've been trying to get in touch with Matt about the upgrade with no success. Hoping someone here can answer my two questions.
First question, does anyone know which files changed with this upgrade (there are 150 files in Calendar Script)?
Second question, in the security notice it was stated that the changes were in showScreen, and the "before" and "after" code was shown. Problem is that my "before" code doesn't match his (calendar_admin.pl), and I know I didn't change this routine. Code is shown below:
<<< his before code >>>
sub showScreen {
&populateTemplateVariables();
$template_dir = $BASE_DIR . "templates/calendars/" . $Config->get("template_dir") . "/";
$template_file = $template_dir . $in{'template'};
$template = &ASPLoadTemplate($template_file);
&ASPEval($template,$template_dir);
&ASPError($tmp_parsed_template) if $@;
exit(0);
}
<<< my before code >>>
sub showScreen {
$template_dir = $BASE_DIR . "templates/admin/$admin_template_dir/";
$template_file = &getFile($template_dir . $in{template});
$Template::thisTemplate = $in{template};
$template = &ASPLoadTemplate($template_file);
&ASPEval($template,$template_dir);
&ASPError($tmp_parsed_template) if $@;
&exitGracefully();
}
thanks