2 //$this->module_list_array[$id]['history']
4 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form">
5 <div class="input-form">
6 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
7 <table class="data" summary="" style="width: 100%" rules="cols">
10 <th scope="col"> </th>
11 <th scope="col"><?php echo _AT('version');?></th>
12 <th scope="col"><?php echo _AT('publish_date');?></th>
13 <th scope="col"><?php echo _AT('state');?></th>
14 <th scope="col"><?php echo _AT('maintainers');?></th>
15 <th scope="col"><?php echo _AT('notes');?></th>
22 <input type="submit" name="download" value="<?php echo _AT('download'); ?>" />
23 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />
30 $num_of_versions = count($this->module_list_array[$this->id]['history']);
32 if ($num_of_versions == 0)
39 echo _AT('none_found');
48 // display version list
49 if(is_array($this->module_list_array[$this->id]['history']))
51 for ($i=0; $i < $num_of_versions; $i++)
54 <tr onmousedown="document.form['m<?php echo $i; ?>'].checked = true; rowselect(this);" id="r_<?php echo $i; ?>">
55 <td><input type="radio" name="vid" value="<?php echo $i; ?>" id="m<?php echo $i; ?>" /></td>
56 <td><label for="m<?php echo $i; ?>"><?php echo $this->module_list_array[$this->id]["name"] . ' ' .$this->module_list_array[$this->id]['history'][$i]["version"]; ?></label></td>
57 <td><?php echo $this->module_list_array[$this->id]['history'][$i]["date"]; ?></td>
58 <td><?php echo $this->module_list_array[$this->id]['history'][$i]["state"]; ?></td>
59 <td><?php echo $this->module_list_array[$this->id]['history'][$i]["maintainer"]; ?></td>
60 <td><?php echo $this->module_list_array[$this->id]['history'][$i]["notes"]; ?></td>