/[docman2]/docman.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /docman.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by dpavlin, Thu Jun 12 18:11:36 2003 UTC revision 1.42 by dpavlin, Wed Oct 1 15:40:30 2003 UTC
# Line 301  function DetailPage($fsRoot,$relDir,$fn) Line 301  function DetailPage($fsRoot,$relDir,$fn)
301                  while ($e = array_shift($logarr)) {                  while ($e = array_shift($logarr)) {
302                          if (strstr($e[4],"upload")) {                          if (strstr($e[4],"upload")) {
303                                  if (file_exists("$bakdir/$bakcount/$name")) {                                  if (file_exists("$bakdir/$bakcount/$name")) {
304                                          $e[4]="<a href=\"$webRoot".urlpath(dirname($relPath)."/.bak/$bakcount/$name")."\">$e[4]</a>";                                          $e[4]="<a href=\"$self?A=V&D=".urlencode($relDir).urlencode(".bak/$bakcount/")."&F=".$name."\">$e[4]</a>";  
305                                  }                                  }
306                                  $bakcount++;                                  $bakcount++;
307                          }                          }

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.26