X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=web%2Fstaticmoduleinfo.php;h=7f388c2cb1d8d9cca2e6c87907bbec060a7ce253;hb=28bce82394a37613293211a73370faaa5a79a688;hp=5b16e62d0003afed9a35d1a4f8ea3d62138bdbea;hpb=ad8da11f6d0664e0fb3c8707a869425088daea7e;p=ccan diff --git a/web/staticmoduleinfo.php b/web/staticmoduleinfo.php index 5b16e62d..7f388c2c 100644 --- a/web/staticmoduleinfo.php +++ b/web/staticmoduleinfo.php @@ -3,88 +3,111 @@ session_start(); include('logo.html'); include('menulist.html'); include('static-configuration'); -$module=$argv[1]; - -$maintainer=extract_field('maintainer',$module); -$author=extract_field('author',$module); -$summary=extract_field('summary',$module); -$description=htmlize_field('description',$module); -$example=extract_field('example',$module); -$dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module)); -$licence=extract_field('licence',$module); +$module_path=$argv[1]; +$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"); ?> -
-Browse Source - | --Download: -(standalone) -(with all dependencies) - |
-
+Browse Source Download (without any required ccan dependencies)
-Module:=$module?> |
-
Summary:=$summary?> |
-
Maintainer:=$maintainer?> |
-
Author:=$author?> |
-
Dependencies:Dependencies: +
External dependencies:+
|
-
Description:=$description;?> |
-
Example:=$example?> |
-
Licence:=$licence?> |
-