# # # patch "www/project.php" # from [098b385b94da43aff796339a1f6eb878eba95ab9] # to [3260a28bfd208039e33b8637a1ec5a5c4ee85dba] # ============================================================ --- www/project.php 098b385b94da43aff796339a1f6eb878eba95ab9 +++ www/project.php 3260a28bfd208039e33b8637a1ec5a5c4ee85dba @@ -8,9 +8,10 @@ function mkfilediv() { global $safeproj; $files = scandir("files"); - $filediv = "
\n" - . "This project has released the following files:
\n" + $filediv_header = "
\n

" + . "This project has released the following files:

\n\n" . "\n"; - return $filediv; + $filediv_footer = "\n"; + if ($filediv == "") { + return ""; + } + return $filediv_header . $filediv . $filediv_footer; } ?> -Project page for <?=$safeproj?> +Project page for <?=$project?> @@ -34,9 +38,20 @@
-
"; + print file_get_contents('description'); + print ""; +}?> + +"; print file_get_contents('longdescription'); -}?>

+ print "

"; +}?> + +