5 require_once 'plc_functions.php';
7 // rough implem, no class for now
9 // start the details area, with an optional caption
10 function plc_details_start ($title="") {
11 print "<table><thead>";
13 printf ("<caption>%s</caption>\n",$caption);
15 echo "</thead><tbody>";
19 function plc_details_end() {
20 print "</tbody></table>\n";
23 // display a line with caption and value
24 function plc_details_line ($title,$value) {
25 printf("<tr><th>%s</th><td>%s</td></tr>\n",$title,$value);
28 // same but the values are multiple and displayed in an embedded vertical table
29 function plc_details_line_list($title,$list) {
30 plc_details_line($title,plc_vertical_table($list,"foo"));
33 // a dummy line for getting some air
34 function plc_details_space_line () {
35 echo "<tr><td colspan=2> </td></tr>\n";