X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=web%2Fstaticmoduleinfo.php;h=98edf9b52a746b209ac916fe3b410f00b6d16eb0;hb=52132f298730837e8d62adb8b6b6b9c9d3aca82a;hp=ba73265696383d7b7898bf38b79b1f6dabf4a5ea;hpb=7f63d84eb712c54c57c3d4e9a92ffefe2f1b2ade;p=ccan
diff --git a/web/staticmoduleinfo.php b/web/staticmoduleinfo.php
index ba732656..98edf9b5 100644
--- a/web/staticmoduleinfo.php
+++ b/web/staticmoduleinfo.php
@@ -4,44 +4,47 @@ 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);
+$see_also=extract_field('see_also',$module_path);
$description=htmlize_field('description',$module_path);
$example=extract_field('example',$module_path);
$dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module_path));
$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");
?>
-
-
+
+
-
-
+
+
Module: =$module?> |
-
+
Summary: =$summary?> |
-
+
Maintainer: =$maintainer?> |
-
+
Author: =$author?> |
-
+
Dependencies: '.$dep.' ';
@@ -69,7 +72,7 @@ if ($dependencies) {
if ($extdepends) {
?>
-
+
External dependencies:
- |
+
Description: =$description;?> |
+
+
+See Also: '.$see.' ';
+ }
+?> |
+
+
-
+
Example: =$example?> |
-
+
License: =$licence?> |
-
+
License: =$license?> |
- |
+
+