Unstack list control icons. Minor bug fix in schema_data_edit.php.

This commit is contained in:
Nate Jones
2014-02-26 05:49:39 +00:00
parent 5bee3613bc
commit 0673ffdfd3
5 changed files with 27 additions and 29 deletions
+7 -7
View File
@@ -106,9 +106,9 @@ require_once "resources/paging.php";
echo th_order_by('schema_auth', $text['label-authentication'], $order_by, $order);
echo th_order_by('schema_description', $text['label-description'], $order_by, $order);
//echo "<th align='center'>View</th>\n";
echo "<td align='right' width='42'>\n";
echo "<td class='list_control_icons'>";
if (permission_exists('schema_add')) {
echo " <a href='schema_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
echo "<a href='schema_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
echo "</td>\n";
echo "<tr>\n";
@@ -133,12 +133,12 @@ require_once "resources/paging.php";
}
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['schema_description']."&nbsp;</td>\n";
echo " <td valign='top' align='right'>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('schema_edit')) {
echo " <a href='schema_edit.php?id=".$row['schema_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
echo "<a href='schema_edit.php?id=".$row['schema_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
}
if (permission_exists('schema_delete')) {
echo " <a href='schema_delete.php?id=".$row['schema_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
echo "<a href='schema_delete.php?id=".$row['schema_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
}
echo " </td>\n";
echo "</tr>\n";
@@ -153,9 +153,9 @@ 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 " <td class='list_control_icons'>";
if (permission_exists('schema_add')) {
echo " <a href='schema_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
echo "<a href='schema_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
echo " </td>\n";
echo " </tr>\n";