|
@@ -117,17 +117,17 @@ else {
|
|
|
foreach($result as $row) {
|
|
|
$tr_link = "href='database_edit.php?id=".$row['database_uuid']."'";
|
|
|
echo "<tr ".$tr_link.">\n";
|
|
|
- echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_driver']." </td>\n";
|
|
|
- echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_type']." </td>\n";
|
|
|
- echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_host']." </td>\n";
|
|
|
- //echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_port']." </td>\n";
|
|
|
- echo " <td valign='top' class='".$row_style[$c]."'><a href='database_edit.php?id=".$row['database_uuid']."'>".$row['database_name']."</a> </td>\n";
|
|
|
- //echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_username']." </td>\n";
|
|
|
- //echo " <td valign='top' class='".$row_style[$c]."'>".$row['database_path']." </td>\n";
|
|
|
- echo " <td valign='top' class='row_stylebg'>".$row['database_description']." </td>\n";
|
|
|
+ echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['database_driver'])." </td>\n";
|
|
|
+ echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['database_type'])." </td>\n";
|
|
|
+ echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['database_host'])." </td>\n";
|
|
|
+ //echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['database_port'])." </td>\n";
|
|
|
+ echo " <td valign='top' class='".$row_style[$c]."'><a href='database_edit.php?id=".$row['database_uuid']."'>".escape($row['database_name'])."</a> </td>\n";
|
|
|
+ //echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['database_username'])." </td>\n";
|
|
|
+ //echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['database_path'])." </td>\n";
|
|
|
+ echo " <td valign='top' class='row_stylebg'>".escape($row['database_description'])." </td>\n";
|
|
|
echo " <td class='list_control_icons'>";
|
|
|
- echo "<a href='database_edit.php?id=".$row['database_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
|
|
- echo "<a href='database_delete.php?id=".$row['database_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
|
|
+ echo "<a href='database_edit.php?id=".escape($row['database_uuid'])."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
|
|
+ echo "<a href='database_delete.php?id=".escape($row['database_uuid'])."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
|
|
echo " </td>\n";
|
|
|
echo "</tr>\n";
|
|
|
if ($c==0) { $c=1; } else { $c=0; }
|
|
@@ -154,4 +154,4 @@ else {
|
|
|
|
|
|
//include the footer
|
|
|
require_once "resources/footer.php";
|
|
|
-?>
|
|
|
+?>
|