Line 49... |
Line 49... |
49 |
|
49 |
|
50 |
if ($file{0} == "/") |
50 |
if ($file{0} == "/") |
51 |
$pfile = substr($file, 1); |
51 |
$pfile = substr($file, 1); |
52 |
else |
52 |
else |
53 |
$pfile = $file; |
53 |
$pfile = $file; |
54 |
//$pfile = rawurldecode($pfile); |
- |
|
55 |
|
54 |
|
56 |
if ($returnjoin) |
55 |
if ($returnjoin) |
57 |
return $ppath.$pfile; |
56 |
return $ppath.$pfile; |
58 |
|
57 |
|
59 |
$isDir = $pfile{strlen($pfile) - 1} == "/"; |
58 |
$isDir = $pfile{strlen($pfile) - 1} == "/"; |
Line 370... |
Line 369... |
370 |
$history = $svnrep->getLog($path, $rev, "", false); |
369 |
$history = $svnrep->getLog($path, $rev, "", false); |
371 |
} |
370 |
} |
372 |
|
371 |
|
373 |
if (isset($history->entries[1]->rev)) |
372 |
if (isset($history->entries[1]->rev)) |
374 |
{ |
373 |
{ |
375 |
$vars["curdircomplink"] = "<a href=\"${compurl}compare%5B%5D=". |
374 |
$vars["curdircomplink"] = "<a href=\"${compurl}compare[]=". |
376 |
urlencode($history->entries[1]->path)."@".$history->entries[1]->rev. |
375 |
urlencode($history->entries[1]->path)."@".$history->entries[1]->rev. |
377 |
"&compare%5B%5D=".urlencode($history->entries[0]->path)."@".$history->entries[0]->rev. |
376 |
"&compare[]=".urlencode($history->entries[0]->path)."@".$history->entries[0]->rev. |
378 |
"\">${lang["DIFFPREV"]}</a>"; |
377 |
"\">${lang["DIFFPREV"]}</a>"; |
379 |
} |
378 |
} |
380 |
else |
379 |
else |
381 |
{ |
380 |
{ |
382 |
$vars["curdircomplink"] = ""; |
381 |
$vars["curdircomplink"] = ""; |