/[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.34 by dpavlin, Wed Apr 9 15:55:15 2003 UTC revision 1.36 by dpavlin, Wed Apr 9 16:50:02 2003 UTC
# Line 74  Line 74 
74  //////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////
75    
76          $gblTitle = "Document Manager";          $gblTitle = "Document Manager";
77          $gblVersion = "2.0-pre1";          $gblVersion = "2.0-pre2";
78    
79          $secHash    = "";          $secHash    = "";
80    
# Line 721  function Navigate($fsRoot,$relDir) { Line 721  function Navigate($fsRoot,$relDir) {
721          $uurl = self_args(array($D,"fsort=".$fsort_arr[$fsort][2]));          $uurl = self_args(array($D,"fsort=".$fsort_arr[$fsort][2]));
722          $surl = self_args(array($D,"fsort=".$fsort_arr[$fsort][3]));          $surl = self_args(array($D,"fsort=".$fsort_arr[$fsort][3]));
723    
724            $html_uri = $webRoot;
725    
726            if (substr($relDir,0,1) == "/") {
727                    $html_uri .= substr($relDir,1,strlen($relDir)-1);
728            } else {
729                    $html_uri .= $relDir;
730            }
731    
732          include("$html/Navigate-fileHeader.html");          include("$html/Navigate-fileHeader.html");
733    
734          if (sizeof($fileList) > 0) {          if (sizeof($fileList) > 0) {
# Line 1281  if (! file_exists($trustee_conf)) { Line 1289  if (! file_exists($trustee_conf)) {
1289                  $l = trim(fgets($fp_conf,4096));                  $l = trim(fgets($fp_conf,4096));
1290                  if (substr($l,0,1) == "+") {    // no comment                  if (substr($l,0,1) == "+") {    // no comment
1291                          $arr=explode(":",$l);                          $arr=explode(":",$l);
1292                          $groups_arr[$arr[0]] = $arr[1] ;                          $groups_arr[$arr[0]] = str_replace(" ","",$arr[1]) ;
1293                  } elseif (substr($l,0,1) != "#") {                  } elseif (substr($l,0,1) != "#") {
1294                          $arr=explode(":",$l);                          $arr=explode(":",$l);
1295                          $path=array_shift($arr);                          $path=array_shift($arr);

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.26