Пример #1
0
     $input->setType('dateUS');
     $input->setURL('http://myserver.com/script.php');
     $input->setDestroyOnExit();
     $input->setCancelAction($XML_SERVER);
     $input->output();
     break;
 case 'inputscreen3':
     require_once 'AastraIPPhoneInputScreen.class.php';
     $input = new AastraIPPhoneInputScreen();
     $input->setTitle('Restricted application');
     $input->setDisplayMode('condensed');
     $input->setURL($XML_SERVER);
     $input->setDestroyOnExit();
     $input->addField('empty');
     $input->addField('string');
     $input->setFieldSelection('1');
     $input->setFieldPrompt('Username:'******'user');
     $input->setFieldSelection('1');
     $input->addField('number');
     $input->setFieldPassword('yes');
     $input->setFieldPrompt('Password:'******'password');
     $input->setFieldSelection('2');
     $input->addSoftkey('10', 'Exit', 'SoftKey:Exit');
     $input->output();
     break;
 case 'execute':
     require_once 'AastraIPPhoneExecute.class.php';
     $execute = new AastraIPPhoneExecute();
     $execute->setTriggerDestroyOnExit();