X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=web%2Fstaticmoduleinfo.php;h=7f388c2cb1d8d9cca2e6c87907bbec060a7ce253;hb=ca2551bcedb6ebd66814a2d4fdce7494b19d9b0d;hp=17c3454af0a40d8fbddf4188f8d3ffe6da598f1a;hpb=3c6506bdbc2ee29f57f7c810fd54a8ac37d42e98;p=ccan diff --git a/web/staticmoduleinfo.php b/web/staticmoduleinfo.php index 17c3454a..7f388c2c 100644 --- a/web/staticmoduleinfo.php +++ b/web/staticmoduleinfo.php @@ -4,7 +4,7 @@ include('logo.html'); include('menulist.html'); include('static-configuration'); $module_path=$argv[1]; -$module=basename($module_path); +$module=$argv[2]; $maintainer=extract_field('maintainer',$module_path); $author=extract_field('author',$module_path); $summary=extract_field('summary',$module_path); @@ -15,115 +15,99 @@ $dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module $extdepends=htmlspecialchars(shell_exec('tools/ccan_depends --compile --non-ccan '.$module_path)); $licence=extract_field('licence',$module_path); $license=extract_field('license',$module_path); +$url_prefix = getenv("URLPREFIX"); ?> -
-Browse Source - | --Download -(without any required ccan dependencies) - |
-
+Browse Source Download (without any required ccan dependencies)
-Module:=$module?> |
-
Summary:=$summary?> |
-
Maintainer:=$maintainer?> |
-
Author:=$author?> |
-
Dependencies:Dependencies: +
|
-
External dependencies:External dependencies: +
'; + echo ''; } -?> |
-
Description:=$description;?> |
-
See Also:See Also: +
|
-
Example:=$example?> |
-
License:=$licence?> |
-
License:=$license?> |
-