Unstack list control icons.
This commit is contained in:
parent
5381f2b74b
commit
8d6e8c9d86
|
|
@ -160,12 +160,9 @@ else {
|
||||||
echo "<th>".$text['label-tools']."</th>\n";
|
echo "<th>".$text['label-tools']."</th>\n";
|
||||||
echo th_order_by('voicemail_enabled', $text['label-voicemail_enabled'], $order_by, $order);
|
echo th_order_by('voicemail_enabled', $text['label-voicemail_enabled'], $order_by, $order);
|
||||||
echo th_order_by('voicemail_description', $text['label-voicemail_description'], $order_by, $order);
|
echo th_order_by('voicemail_description', $text['label-voicemail_description'], $order_by, $order);
|
||||||
echo "<td align='right' width='42'>\n";
|
echo "<td class='list_control_icons'>";
|
||||||
if (permission_exists('voicemail_add')) {
|
if (permission_exists('voicemail_add')) {
|
||||||
echo " <a href='voicemail_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
echo "<a href='voicemail_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||||
}
|
|
||||||
else {
|
|
||||||
echo " \n";
|
|
||||||
}
|
}
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
|
@ -180,18 +177,18 @@ else {
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_attach_file']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_attach_file']." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_local_after_email']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_local_after_email']." </td>\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'> </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'> </td>\n";
|
||||||
echo " <td valign='middle' class='".$row_style[$c]."'>\n";
|
echo " <td valign='middle' class='".$row_style[$c]."' style='white-space: nowrap;'>\n";
|
||||||
echo " <a href='voicemail_messages.php?id=".$row['voicemail_uuid']."'>".$text['label-view']."</a> \n";
|
echo " <a href='voicemail_messages.php?id=".$row['voicemail_uuid']."'>".$text['label-view']."</a> \n";
|
||||||
echo " <a href='".PROJECT_PATH."/app/voicemail_greetings/voicemail_greetings.php?id=".$row['voicemail_id']."'>".$text['label-greetings']."</a>\n";
|
echo " <a href='".PROJECT_PATH."/app/voicemail_greetings/voicemail_greetings.php?id=".$row['voicemail_id']."'>".$text['label-greetings']."</a>\n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_enabled']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_enabled']." </td>\n";
|
||||||
echo " <td valign='top' class='row_stylebg' width='30%'>".$row['voicemail_description']." </td>\n";
|
echo " <td valign='top' class='row_stylebg' width='30%'>".$row['voicemail_description']." </td>\n";
|
||||||
echo " <td valign='top' align='right'>\n";
|
echo " <td class='list_control_icons'>";
|
||||||
if (permission_exists('voicemail_edit')) {
|
if (permission_exists('voicemail_edit')) {
|
||||||
echo " <a href='voicemail_edit.php?id=".$row['voicemail_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
|
echo "<a href='voicemail_edit.php?id=".$row['voicemail_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||||
}
|
}
|
||||||
if (permission_exists('voicemail_delete')) {
|
if (permission_exists('voicemail_delete')) {
|
||||||
echo " <a href='voicemail_delete.php?id=".$row['voicemail_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
echo "<a href='voicemail_delete.php?id=".$row['voicemail_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
@ -206,12 +203,9 @@ else {
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td width='33.3%' nowrap='nowrap'> </td>\n";
|
echo " <td width='33.3%' nowrap='nowrap'> </td>\n";
|
||||||
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
|
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
|
||||||
echo " <td width='33.3%' align='right'>\n";
|
echo " <td class='list_control_icons'>";
|
||||||
if (permission_exists('voicemail_add')) {
|
if (permission_exists('voicemail_add')) {
|
||||||
echo " <a href='voicemail_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
echo "<a href='voicemail_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||||
}
|
|
||||||
else {
|
|
||||||
echo " \n";
|
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue