";
###
###############
$all = &GetParam("rcall", 0);
$all = &GetParam("all", $all);
$newtop = &GetParam("rcnewtop", $RecentTop);
$newtop = &GetParam("newtop", $newtop);
$idOnly = &GetParam("rcidonly", "");
@outrc = reverse @outrc if ($newtop);
($oldts, $pagename, $summary, $isEdit, $host, $kind, $extraTemp)
= split(/$FS3/, $outrc[0]);
$oldts += 1;
foreach $rcline (@outrc) {
($ts, $pagename, $summary, $isEdit, $host, $kind, $extraTemp)
= split(/$FS3/, $rcline);
# Later: need to change $all for new-RC?
next if ((!$all) && ($ts < $changetime{$pagename}));
next if (($idOnly ne "") && ($idOnly ne $pagename));
next if ($ts >= $oldts);
$oldts = $ts;
# print $ts . " " . $pagename . "
\n";
%extra = split(/$FS2/, $extraTemp, -1);
if ($date ne &CalcDay($ts)) {
$date = &CalcDay($ts);
if ($inlist) {
###############
### commented by gypark
### 최근 변경 내역을 테이블로 출력
### from Jof4002's patch
# $html .= "\n";
###
###############
$inlist = 0;
}
###############
### replaced by gypark
### 최근변경내역에 북마크 기능 도입
### 최근 변경 내역을 테이블로 출력 패치도 같이 적용
# $html .= "" . $date . "
\n";
$html .= "
" . $date . "";
if ($bookmarkuser eq "") {
$html .= " | \n";
} else {
$html .= " [" .&ScriptLink("action=bookmark&time=$ts",T('set bookmark')) ."]"
. "\n";
}
###
###############
}
if (!$inlist) {
###############
### commented by gypark
### 최근 변경 내역을 테이블로 출력
### from Jof4002's patch
# $html .= "\n";
###
###############
$inlist = 1;
}
$host = &QuoteHtml($host);
if (defined($extra{'name'}) && defined($extra{'id'})) {
$author = &GetAuthorLink($host, $extra{'name'}, $extra{'id'});
} else {
$author = &GetAuthorLink($host, "", 0);
}
$sum = "";
if (($summary ne "") && ($summary ne "*")) {
$summary = &QuoteHtml($summary);
###############
### replaced by gypark
### 최근 변경 내역을 테이블로 출력
# $sum = "[$summary] ";
$sum = "[$summary] ";
###
###############
}
$edit = "";
$edit = "$tEdit " if ($isEdit);
$count = "";
if ((!$all) && ($pagecount{$pagename} > 1)) {
$count = "($pagecount{$pagename} ";
if (&GetParam("rcchangehist", 1)) {
$count .= &GetHistoryLink($pagename, $tChanges);
} else {
$count .= $tChanges;
}
$count .= ") ";
}
$link = "";
if ($UseDiff && &GetParam("diffrclink", 1)) {
###############
### replaced by gypark
### 최근변경내역에 북마크 기능 도입
# $link .= &ScriptLinkDiff(4, $pagename, $tDiff, "") . " ";
if (!(-f &GetPageFile($pagename))) {
$link .= &GetHistoryLink($pagename, $rcdeleted);
} elsif (($bookmarkuser eq "") || ($ts <= $bookmark)) {
$link .= &ScriptLinkDiff(4, $pagename, $rcdiff, "") . " ";
} elsif ($extra{'tscreate'} > $bookmark) {
$link .= $rcnew . " ";
} else {
$link .= &ScriptLinkDiffRevision(5, $pagename, "", $rcupdated) . " ";
}
###
###############
}
###############
### replaced by gypark
### 최근 변경 내역을 테이블로 출력
### from Jof4002's patch
# $link .= &GetPageLink($pagename);
# $html .= "- $link ";
# # Later do new-RC looping here.
# $html .= &CalcTime($ts) . " $count$edit" . " $sum";
# $html .= ". . . . . $author\n"; # Make dots optional?
# }
# $html .= "
\n" if ($inlist);
$html .= " | "
. "$link | "
. "" . &GetPageOrEditLink($pagename) . " | "
. "" . &CalcTime($ts) . " | "
. "$count$edit | "
. "$author |
\n";
if ($sum ne "") {
$html .= " | "
. " $sum |
\n";
}
}
$html .= "
";
###
###############
return $html;
}
}}}
=== Notes ===
날짜 출력하는 부분에서 tr 태그가 빠져있네요. 닫는건 나옵니다.