Add skip_locked and ExecuteInterval
This commit is contained in:
parent
6b18b2889d
commit
ea671a57f8
|
@ -367,6 +367,7 @@ for ( $i=0; $i < count($terms); $i++ ) {
|
||||||
<?php
|
<?php
|
||||||
# Note: The keys need to be actual column names
|
# Note: The keys need to be actual column names
|
||||||
$sort_fields = array(
|
$sort_fields = array(
|
||||||
|
'' => translate('None'),
|
||||||
'Id' => translate('AttrId'),
|
'Id' => translate('AttrId'),
|
||||||
'Name' => translate('AttrName'),
|
'Name' => translate('AttrName'),
|
||||||
'Cause' => translate('AttrCause'),
|
'Cause' => translate('AttrCause'),
|
||||||
|
@ -383,10 +384,18 @@ $sort_fields = array(
|
||||||
);
|
);
|
||||||
echo htmlSelect('filter[Query][sort_field]', $sort_fields, $filter->sort_field());
|
echo htmlSelect('filter[Query][sort_field]', $sort_fields, $filter->sort_field());
|
||||||
$sort_dirns = array(
|
$sort_dirns = array(
|
||||||
'1' => translate('SortAsc'),
|
'1' => translate('SortAsc'),
|
||||||
'0' => translate('SortDesc')
|
'0' => translate('SortDesc')
|
||||||
);
|
);
|
||||||
echo htmlSelect( 'filter[Query][sort_asc]', $sort_dirns, $filter->sort_asc() );
|
echo htmlSelect('filter[Query][sort_asc]', $sort_dirns, $filter->sort_asc());
|
||||||
|
?>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<label for="filter[Query][skip_locked]"><?php echo translate('Skip Locked') ?></label>
|
||||||
|
<?php
|
||||||
|
echo htmlSelect('filter[Query][skip_locked]',
|
||||||
|
array('0'=>translate('No'), '1'=>translate('Yes')),
|
||||||
|
$filter->skip_locked());
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -468,9 +477,13 @@ if ( ZM_OPT_MESSAGE ) {
|
||||||
<div id="optionsTable" class="filterTable">
|
<div id="optionsTable" class="filterTable">
|
||||||
<fieldset><legend><?php echo translate('Options') ?></legend>
|
<fieldset><legend><?php echo translate('Options') ?></legend>
|
||||||
<p>
|
<p>
|
||||||
<label for="background"><?php echo translate('BackgroundFilter') ?></label>
|
<label for="filter[Background]"><?php echo translate('BackgroundFilter') ?></label>
|
||||||
<input type="checkbox" id="filter[Background]" name="filter[Background]" value="1"<?php if ( $filter->Background() ) { ?> checked="checked"<?php } ?> data-on-click-this="updateButtons"/>
|
<input type="checkbox" id="filter[Background]" name="filter[Background]" value="1"<?php if ( $filter->Background() ) { ?> checked="checked"<?php } ?> data-on-click-this="updateButtons"/>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="ExecuteInterval"><?php echo translate('Execute Interval') ?></label>
|
||||||
|
<input type="number" id="filter[ExecuteInterval]" name="filter[ExecuteInterval]" min="0" step="1" value="<?php echo $filter->ExecuteInterval() ?>" />
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<label for="Concurrent"><?php echo translate('ConcurrentFilter') ?></label>
|
<label for="Concurrent"><?php echo translate('ConcurrentFilter') ?></label>
|
||||||
<input type="checkbox" id="filter[Concurrent]" name="filter[Concurrent]" value="1"<?php if ( $filter->Concurrent() ) { ?> checked="checked"<?php } ?> data-on-click-this="updateButtons"/>
|
<input type="checkbox" id="filter[Concurrent]" name="filter[Concurrent]" value="1"<?php if ( $filter->Concurrent() ) { ?> checked="checked"<?php } ?> data-on-click-this="updateButtons"/>
|
||||||
|
|
Loading…
Reference in New Issue