<?php
/**
* @copyright Copyright (C) 2009-2011 ACYBA SARL - All rights reserved.
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
?>
<div id="page-queue">
<br style="font-size:1px;" />
<fieldset class="adminform">
<legend><?php echo JText::_( 'QUEUE_PROCESS' ); ?></legend>
<table class="admintable" cellspacing="1" >
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('MAX_EMAIL_BATCH_DESC'), JText::_('MAX_EMAIL_BATCH'), '', JText::_('MAX_EMAIL_BATCH')); ?>
</td>
<td>
<input class="inputbox" type="text" name="config[queue_nbmail]" size="10" value="<?php echo $this->config->get('queue_nbmail') ?>">
</td>
</tr>
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('QUEUE_PAUSE_DESC'), JText::_('QUEUE_PAUSE'), '', JText::_('QUEUE_PAUSE')); ?>
</td>
<td>
<input class="inputbox" type="text" name="config[queue_pause]" size="10" value="<?php echo $this->config->get('queue_pause') ?>"> <?php echo JText::_('ACY_SECONDS'); ?>
</td>
</tr>
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('REQUEUE_DELAY_DESC'), JText::_('REQUEUE_DELAY'), '', JText::_('REQUEUE_DELAY')); ?>
</td>
<td>
<?php echo $this->elements->queue_delay; ?>
</td>
</tr>
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('MAX_NB_TRY_DESC'), JText::_('MAX_NB_TRY'), '', JText::_('MAX_NB_TRY')); ?>
</td>
<td>
<input class="inputbox" type="text" name="config[queue_try]" size="10" value="<?php echo $this->config->get('queue_try') ?>">
<?php echo acymailing::tooltip(JText::_('MAX_TRY_ACTION_DESC'), JText::_('MAX_TRY_ACTION'), '', JText::_('MAX_TRY_ACTION')).' ';
echo $this->bounceaction->display('maxtry',$this->config->get('bounce_action_maxtry')); ?>
</td>
</tr>
<?php if(acymailing::level(1)){?>
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('QUEUE_PROCESSING_DESC'), JText::_('QUEUE_PROCESSING'), '', JText::_('QUEUE_PROCESSING')); ?>
</td>
<td>
<?php echo $this->elements->queue_type; ?>
</td>
</tr>
<?php } ?>
</table>
</fieldset>
<?php if(acymailing::level(3)){ ?>
<fieldset class="adminform">
<legend><?php echo JText::_( 'PRIORITY' ); ?></legend>
<table class="admintable" cellspacing="1">
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('NEWS_PRIORITY_DESC'), JText::_('NEWS_PRIORITY'), '', JText::_('NEWS_PRIORITY')); ?>
</td>
<td>
<input class="inputbox" type="text" name="config[priority_newsletter]" size="10" value="<?php echo $this->config->get('priority_newsletter',3) ?>">
</td>
</tr>
<tr>
<td class="key">
<?php echo acymailing::tooltip(JText::_('FOLLOW_PRIORITY_DESC'), JText::_('FOLLOW_PRIORITY'), '', JText::_('FOLLOW_PRIORITY')); ?>
</td>
<td>
<input class="inputbox" type="text" name="config[priority_followup]" size="10" value="<?php echo $this->config->get('priority_followup',2) ?>">
</td>
</tr>
</table>
</fieldset>
<?php } ?>
</div>