--- docman.php 2003/06/12 18:11:36 1.41 +++ docman.php 2003/10/30 19:12:20 1.44 @@ -299,9 +299,10 @@ print "

CHANGES TO THIS $whatis
\n"; $bakcount = 0; // start from 0, skip fist backup (it's current) while ($e = array_shift($logarr)) { - if (strstr($e[4],"upload")) { + if (stristr($e[4],"upload") || stristr($e[4],"check-in")) { +print "-- $e[4] -- $bakdir/$bakcount/$name --
\n"; if (file_exists("$bakdir/$bakcount/$name")) { - $e[4]="$e[4]"; + $e[4]="$e[4]"; } $bakcount++; } @@ -850,7 +851,7 @@ } else { if (check_perm($relDir.$file,trperm_w)) { $b.="" ; + $b.="\" TITLE=\"Checkout file for edit\" onClick=\"window.setTimeout('window.location.reload()',3000); return true;\">" ; $b.=$gblIcon("checkout").""; } @@ -1599,6 +1600,9 @@ $gblDirPerms = 0750 ; // default for new dirs if (isset($HTTP_GET_VARS["STYLE"]) && $HTTP_GET_VARS["STYLE"] == "get") { + if (! headers_sent()) { + Header("Content-type: text/css"); + } include("$html/docman.css"); exit; }