mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add links to certain column text in a list view.
Misc bug fixes.
This commit is contained in:
@@ -198,18 +198,25 @@ else {
|
||||
if ($result_count > 0) {
|
||||
foreach($result as $row) {
|
||||
echo "<tr >\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_id']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>";
|
||||
if (permission_exists('voicemail_edit')) {
|
||||
echo "<a href='voicemail_edit.php?id=".$row['voicemail_uuid']."'>".$row['voicemail_id']."</a>";
|
||||
}
|
||||
else {
|
||||
echo $row['voicemail_id'];
|
||||
}
|
||||
echo " </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_password']." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['greeting_id']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['voicemail_mail_to']." </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]."'>".ucwords($row['voicemail_attach_file'])." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row['voicemail_local_after_email'])." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'> </td>\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='".PROJECT_PATH."/app/voicemail_greetings/voicemail_greetings.php?id=".$row['voicemail_id']."'>".$text['label-greetings']."</a>\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]."'>".ucwords($row['voicemail_enabled'])." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg' width='30%'>".$row['voicemail_description']." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('voicemail_edit')) {
|
||||
|
||||
Reference in New Issue
Block a user