コード例 #1
0
ファイル: vmail_4.php プロジェクト: jamesrusso/Aastra_Scripts
                 $object->addSoftkey('3', '|>' . $nbsp . Aastra_get_label('Resume', $language), $XML_SERVER . '&action=play_pause&msg=' . $msg . '&paused=' . $paused);
             }
             $object->addSoftkey('4', Aastra_get_label('Delete', $language) . $nbsp . 'X', $XML_SERVER . '&action=play_del&msg=' . $msg);
             $object->addSoftkey('5', Aastra_get_label('FWD', $language) . $nbsp . '>>', $XML_SERVER . '&action=play_dtmf&msg=6');
             $object->addSoftkey('6', Aastra_get_label('Stop', $language) . $nbsp . '[]', $XML_SERVER . '&action=play_stop&msg=' . $msg);
         }
         # Scroll URIs
         if ($action == 'detail') {
             if ($message['previous'] != '') {
                 $object->setScrollUp($XML_SERVER . '&action=detail&msg=' . $message['previous']);
             }
             if ($message['next'] != '') {
                 $object->setScrollDown($XML_SERVER . '&action=detail&msg=' . $message['next']);
             }
             $object->setScrollLeft($XML_SERVER . '&action=list&last_msg=' . $msg);
             $object->setScrollRight($XML_SERVER . '&action=play_message&orig_p=detail&msg=' . $msg);
         } else {
             $object->setScrollLeft($XML_SERVER . '&action=play_dtmf&msg=4');
             $object->setScrollRight($XML_SERVER . '&action=play_dtmf&msg=6');
         }
     }
     break;
     # Empty box
 # Empty box
 case 'empty_box':
     # New text screen
     require_once 'AastraIPPhoneTextScreen.class.php';
     $object = new AastraIPPhoneTextScreen();
     $object->setDestroyOnExit();
     $object->setTitle(sprintf(Aastra_get_label('Mailbox %s', $language), $user));
     $object->setText(Aastra_get_label('No Voice Message.', $language));