4 include('menulist.html');
5 include('static-configuration');
8 $maintainer=extract_field('maintainer',$module);
9 $author=extract_field('author',$module);
10 $summary=extract_field('summary',$module);
11 $description=htmlize_field('description',$module);
12 $example=extract_field('example',$module);
13 $dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module));
14 $licence=extract_field('licence',$module);
16 <table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="3" cellspacing="1">
17 <tr align="center" bgcolor="FFFFCC">
19 <a href="<?=$repo_base.$module?>">Browse Source</a>
23 <a href="../<?=$tar_dir?>/<?=basename($module)?>.tar.bz2">(standalone)</a>
24 <a href="../<?=$tar_dir?>/with-deps/<?=basename($module)?>.tar.bz2">(with all dependencies)</a>
31 <table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="8" cellspacing="1">
32 <tr align="left" bgcolor="FFFFCC">
33 <td><h3>Module: </h3> <?=$module?> </td>
36 <tr align="left" bgcolor="FFFFCC">
37 <td><h3>Summary: </h3> <?=$summary?></td>
43 <tr align="left" bgcolor="FFFFCC">
44 <td><h3>Maintainer: </h3> <?=$maintainer?></td>
51 <tr align="left" bgcolor="FFFFCC">
52 <td><h3>Author: </h3> <?=$author?></td>
59 <tr align="left" bgcolor="FFFFCC">
60 <td><h3>Dependencies: </h3> <pre> <?php
61 foreach (preg_split("/\s+/", $dependencies) as $dep) {
62 echo '<a href="'.substr($dep, 5).'.html">'.$dep.'</a> ';
69 <tr align="left" bgcolor="FFFFCC">
70 <td><h3>Description: </h3> <?=$description;?> </td>
75 <tr align="left" bgcolor="FFFFCC">
76 <td><h3>Example: </h3> <pre><?=$example?></pre></td>
83 <tr align="left" bgcolor="FFFFCC">
84 <td><h3>Licence: </h3> <?=$licence?></td>