| 599 | | |
|---|
| 600 | | <tr> |
|---|
| 601 | | <td><a href="#" class="info"><?php echo _("Report Hold Time:")?><span><?php echo _("If you wish to report the caller's hold time to the member before they are connected to the caller, set this to yes.")?></span></a></td> |
|---|
| 602 | | <td> |
|---|
| 603 | | <select name="reportholdtime" tabindex="<?php echo ++$tabindex;?>"> |
|---|
| 604 | | <?php |
|---|
| 605 | | $default = (isset($reportholdtime) ? $reportholdtime : 'no'); |
|---|
| 606 | | $items = array('yes'=>_("Yes"),'no'=>_("No")); |
|---|
| 607 | | foreach ($items as $item=>$val) { |
|---|
| 608 | | echo '<option value="'.$item.'" '. ($default == $item ? 'SELECTED' : '').'>'.$val; |
|---|
| 609 | | } |
|---|
| 610 | | ?> |
|---|
| 611 | | </select> |
|---|
| 612 | | </td> |
|---|
| 613 | | </tr> |
|---|
| 614 | | |
|---|
| 615 | | <tr> |
|---|
| 616 | | <td><a href="#" class="info"><?php echo _("Service Level:")?><span><?php echo _("Used for service level statistics (calls answered within service level time frame)")?></span></a></td> |
|---|
| 617 | | <td> |
|---|
| 618 | | <select name="servicelevel" tabindex="<?php echo ++$tabindex;?>"> |
|---|
| 619 | | <?php |
|---|
| 620 | | $default = (isset($servicelevel) ? $servicelevel : 60); |
|---|
| 621 | | for ($i=15; $i <= 300; $i+=15) { |
|---|
| 622 | | echo '<option value="'.$i.'" '.($i == $default ? 'SELECTED' : '').'>'.$i.' '._("seconds").'</option>'; |
|---|
| 623 | | } |
|---|
| 624 | | ?> |
|---|
| 625 | | </select> |
|---|
| 626 | | </td> |
|---|
| 627 | | </tr> |
|---|
| 628 | | |
|---|
| | 599 | |
|---|