droy | 8aedeec | 2008-01-25 19:04:14 +0000 | [diff] [blame^] | 1 | <h1>Map files for project: <?= $PROJECT_ID ?></h1> |
| 2 | <table cellspacing=1 cellpadding=3 border=1 width="100%"> |
| 3 | <tr> |
| 4 | <td>Project</td><td align="right">Version</td><td>URL</td><td>Delete</td></tr> |
| 5 | <?php |
| 6 | while($myrow = mysql_fetch_assoc($rs_map_file_list)) { |
| 7 | echo "<tr><td>" . $myrow['project_id'] . "</td> |
| 8 | <td align='right'>" . $myrow['version'] . "</td> |
| 9 | <td><a href='" . $myrow['location'] . "' target='new'>" . $myrow['location'] . "</a></td> |
| 10 | <td><a onclick=\"javascript:return fnConfirm();\" href='map_files.php?submit=delete&project_id=" . $PROJECT_ID . "&version=" . $VERSION . "&filename=" . $myrow['filename'] . "'><img border=0 src='http://dev.eclipse.org/small_icons/actions/process-stop.png'></a></td></tr>"; |
| 11 | } |
| 12 | ?> |
| 13 | </table> |
| 14 | <script language="javascript"> |
| 15 | function fnConfirm() { |
| 16 | return confirm('Sure?'); |
| 17 | } |
| 18 | </script> |