Add Concurrent

pull/1315/head
Isaac Connor 2016-02-05 11:59:05 -05:00
parent a07dee8a34
commit e106a86f5e
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,8 @@ foreach ( dbFetchAll( "select * from Filters order by Name" ) as $row )
$filterNames[$row['Name']] = $row['Name'];
if ( $row['Background'] )
$filterNames[$row['Name']] .= "*";
if ( $row['Concurrent'] )
$filterNames[$row['Name']] .= "&";
if ( !empty($_REQUEST['reload']) && isset($_REQUEST['filterName']) && $_REQUEST['filterName'] == $row['Name'] )
$dbFilter = $row;
}

View File

@ -76,6 +76,9 @@ xhtmlHeaders(__FILE__, translate('SaveFilter') );
<p>
<label for="background"><?php echo translate('BackgroundFilter') ?></label><input type="checkbox" id="background" name="background" value="1"<?php if ( !empty($filterData['Background']) ) { ?> checked="checked"<?php } ?>/>
</p>
<p>
<label for="concurrent"><?php echo translate('ConcurrentFilter') ?></label><input type="checkbox" id="concurrent" name="concurrent" value="1"<?php if ( !empty($filterData['Concurrent']) ) { ?> checked="checked"<?php } ?>/>
</p>
<div id="contentButtons">
<input type="submit" value="<?php echo translate('Save') ?>"<?php if ( !canEdit( 'Events' ) ) { ?> disabled="disabled"<?php } ?>/><input type="button" value="<?php echo translate('Cancel') ?>" onclick="closeWindow();"/>
</div>