Эх сурвалжийг харах

Unstack list control icons.

Nate Jones 11 жил өмнө
parent
commit
be6fdf4324

+ 7 - 7
core/databases/databases.php

@@ -117,8 +117,8 @@ require_once "resources/paging.php";
 	//echo th_order_by('database_username', $text['label-username'], $order_by, $order);
 	//echo th_order_by('database_path', $text['label-path'], $order_by, $order);
 	echo th_order_by('database_description', $text['label-description'], $order_by, $order);
-	echo "<td align='right' width='42'>\n";
-	echo "	<a href='database_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
+	echo "<td class='list_control_icons'>";
+	echo 	"<a href='database_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
 	echo "</td>\n";
 	echo "<tr>\n";
 
@@ -133,9 +133,9 @@ require_once "resources/paging.php";
 			//echo "	<td valign='top' class='".$row_style[$c]."'>".$row['database_username']."&nbsp;</td>\n";
 			//echo "	<td valign='top' class='".$row_style[$c]."'>".$row['database_path']."&nbsp;</td>\n";
 			echo "	<td valign='top' class='row_stylebg'>".$row['database_description']."&nbsp;</td>\n";
-			echo "	<td valign='top' align='right'>\n";
-			echo "		<a href='database_edit.php?id=".$row['database_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
-			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>\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 "	</td>\n";
 			echo "</tr>\n";
 			if ($c==0) { $c=1; } else { $c=0; }
@@ -149,8 +149,8 @@ require_once "resources/paging.php";
 	echo "	<tr>\n";
 	echo "		<td width='33.3%' nowrap>&nbsp;</td>\n";
 	echo "		<td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
-	echo "		<td width='33.3%' align='right'>\n";
-	echo "			<a href='database_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
+	echo "		<td class='list_control_icons'>";
+	echo 			"<a href='database_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
 	echo "		</td>\n";
 	echo "	</tr>\n";
  	echo "	</table>\n";