Changeset 8562

Show
Ignore:
Timestamp:
01/05/10 18:54:43 (3 years ago)
Author:
p_lindheimer
Message:

revert r8461 left in 2.7 where it can be tested, re #3594

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/queues/functions.inc.php

    r8461 r8562  
    593593  array($account,'autofill',(isset($_REQUEST['autofill']))?'yes':'no',0), 
    594594  array($account,'ringinuse',($cwignore == 2 || $cwignore == 3)?'no':'yes',0), 
    595   array($account,'reportholdtime',(isset($_REQUEST['reportholdtime']))?$_REQUEST['reportholdtime']:'no',0), 
    596   array($account,'servicelevel',(isset($_REQUEST['servicelevel']))?$_REQUEST['servicelevel']:60,0), 
    597595); 
    598596 
  • modules/branches/2.6/queues/page.queues.php

    r8461 r8562  
    597597    <td><input type="text" name="qregex" value="<?php echo (isset($qregex) ? $qregex : ''); ?>"></td> 
    598598  </tr> 
    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 
    629600  <tr><td colspan="2"><br><h5><?php echo _("Caller Position Announcements")?><hr></h5></td></tr> 
    630601  <tr>