sub DoBrowseRequest { ... if ($action eq 'browse') { if ($FreeLinks && (!-f &GetPageFile($id))) { $id = &FreeToNormal($id); } if (($NotFoundPg ne '') && (!-f &GetPageFile($id))) { $id = $NotFoundPg; } ### 추가 if ($id eq '') { $id = $HomePage; } ### &BrowsePage($id) if &ValidIdOrDie($id); return 1; ... }
MacroGoto함수는 ext2.3에서 고쳐져서, 더 이상 유효하지 않음
sub goto { my ($txt) = @_; $txt =~ s/\&__LT__;goto\((.*?)\)\&__GT__;/&MacroGoto($1)/gei; return $txt; } sub MacroGoto { my ($string) = @_; $string = &RemoveLink($string); return &GetGotoForm($string); } 1;
$string = &RemoveLink($string);을 추가해 주면 됩니다.
ext1.90
ext2.3
i tried a link (a la CWIK) as:
sub GetPrinterFriendlyLink {
my ($id) = @_;
my $action;
$action = lc(&GetParam('action', ''));
if ($action) {
return &ScriptLink("action=$action&id=$id&embed=1", T('Printer'));
} else {
return &ScriptLink("action=browse&id=$id&embed=1", T('Printer'));
}
}
but GetGotoForm of UsemodKr seems "to capture" the action. I have commented in sub GetGotoForm
#. &GetHiddenValue("action", "browse")
and, for the time being, I don't see drawbacks.
Regards.