Changeset 5556

Show
Ignore:
Timestamp:
12/29/07 17:37:34 (5 years ago)
Author:
pnlarsson
Message:

#2579 - Adding strict for joinemtpy and leavewhenempty

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/queues/page.queues.php

    r5349 r5556  
    367367 
    368368  <tr> 
    369     <td><a href="#" class="info"><?php echo _("Join Empty:")?><span><?php echo _("If you wish to allow callers to join queues that currently have no agents, set this to yes")?></span></a></td> 
     369    <td><a href="#" class="info"><?php echo _("Join Empty:")?><span><?php echo _("If you wish to allow callers to join queues that currently have no agents, set this to yes. Set to strict if callers cannot join a queue with no members or only unavailable members")?></span></a></td> 
    370370    <td> 
    371371      <select name="joinempty"/> 
    372372      <?php 
    373373        $default = (isset($joinempty) ? $joinempty : 'yes'); 
    374         $items = array('yes'=>_("Yes"),'no'=>_("No")); 
     374        $items = array('yes'=>_("Yes"),'strict'=>_("Strict"),'no'=>_("No")); 
    375375        foreach ($items as $item=>$val) { 
    376376          echo '<option value="'.$item.'" '. ($default == $item ? 'SELECTED' : '').'>'.$val; 
     
    382382 
    383383  <tr> 
    384     <td><a href="#" class="info"><?php echo _("Leave When Empty:")?><span><?php echo _("If you wish to remove callers from the queue if there are no agents present, set this to yes")?></span></a></td> 
     384    <td><a href="#" class="info"><?php echo _("Leave When Empty:")?><span><?php echo _("If you wish to remove callers from the queue if there are no agents present, set this to yes. Set to strict if callers cannot join a queue with no members or only unavailable members")?></span></a></td> 
    385385    <td> 
    386386      <select name="leavewhenempty"/> 
    387387      <?php 
    388388        $default = (isset($leavewhenempty) ? $leavewhenempty : 'no'); 
    389         $items = array('yes'=>_("Yes"),'no'=>_("No")); 
     389        $items = array('yes'=>_("Yes"),'strict'=>_("Strict"),'no'=>_("No")); 
    390390        foreach ($items as $item=>$val) { 
    391391          echo '<option value="'.$item.'" '. ($default == $item ? 'SELECTED' : '').'>'.$val;