From 8d6e8c9d8666bc76bac51215b51e7f0cd74ff446 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Wed, 26 Feb 2014 05:53:22 +0000 Subject: [PATCH] Unstack list control icons. --- app/voicemails/voicemails.php | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/app/voicemails/voicemails.php b/app/voicemails/voicemails.php index 2123c44007..84537f7f1c 100644 --- a/app/voicemails/voicemails.php +++ b/app/voicemails/voicemails.php @@ -107,9 +107,9 @@ else { $rows_per_page = 150; $param = ""; $page = $_GET['page']; - if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; } - list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page); - $offset = $rows_per_page * $page; + if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; } + list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page); + $offset = $rows_per_page * $page; //get the list $sql = "select * from v_voicemails "; @@ -160,12 +160,9 @@ else { echo "".$text['label-tools']."\n"; 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 "\n"; + echo ""; if (permission_exists('voicemail_add')) { - echo " $v_link_label_add\n"; - } - else { - echo "  \n"; + echo "$v_link_label_add"; } echo "\n"; echo "\n"; @@ -180,18 +177,18 @@ else { echo " ".$row['voicemail_attach_file']." \n"; echo " ".$row['voicemail_local_after_email']." \n"; //echo "  \n"; - echo " \n"; + echo " \n"; echo " ".$text['label-view']."  \n"; echo " ".$text['label-greetings']."\n"; echo " \n"; echo " ".$row['voicemail_enabled']." \n"; echo " ".$row['voicemail_description']." \n"; - echo " \n"; + echo " "; if (permission_exists('voicemail_edit')) { - echo " $v_link_label_edit\n"; + echo "$v_link_label_edit"; } if (permission_exists('voicemail_delete')) { - echo " $v_link_label_delete\n"; + echo "$v_link_label_delete"; } echo " \n"; echo "\n"; @@ -206,12 +203,9 @@ else { echo " \n"; echo "  \n"; echo " $paging_controls\n"; - echo " \n"; + echo " "; if (permission_exists('voicemail_add')) { - echo " $v_link_label_add\n"; - } - else { - echo "  \n"; + echo "$v_link_label_add"; } echo " \n"; echo " \n";