/[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.40 by dpavlin, Thu Jun 12 18:09:01 2003 UTC revision 1.42 by dpavlin, Wed Oct 1 15:40:30 2003 UTC
# Line 127  function LoadLanguage($lang) { Line 127  function LoadLanguage($lang) {
127          if (file_exists($gblIncDir."/lang/$lang.php")) {          if (file_exists($gblIncDir."/lang/$lang.php")) {
128                  include($gblIncDir."/lang/$lang.php");                  include($gblIncDir."/lang/$lang.php");
129                  $html .= "-$lang";                  $html .= "-$lang";
130          } else {          } elseif (file_exists($gblIncDir."/lang/default.php")) {
131                  include($gblIncDir."/lang/default.php");                  include($gblIncDir."/lang/default.php");
132          }          }
133  }  }
# 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.40  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.26