Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Upgrade from 3.2 to 3.21  (Read 263 times)
0 Members and 1 Guest are viewing this topic.
MikeL
New Member
*

Karma: 0
Offline Offline

Posts: 0

web designer


WWW
« on: October 30, 2004, 04:27:00 PM »

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

Logged

Mike Lipay

"Let all bear in mind that a
society is judged not so much
by the standards attained by its
more affluent and privileged
members as by the quality of
life which it is able to assure for
its weakest members." -H.E.
Javier Perez de Cuellar, fmr
Secretary General of the United
Nations

DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: October 30, 2004, 09:49:00 PM »

 
quote:
does anyone know which files changed with this upgrade (3.2 to 3.21)
The ones contained in the upgrade zip file. It should be simple enough to open the upgrade archive in WinZip, etc. and look?  
quote:
Problem is that my "before" code doesn't match his (calendar_admin.pl)
Are you sure you're comparing the right files?? I don't see the line:

&populateTemplateVariables();

in ANY previous calendar_admin.pl files just the calendar.pl file.

JFYI

Dan O.

[This message has been edited by DanO (edited October 30, 2004).]

Logged
Pages: [1]   Go Up
Print
Jump to: