-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-03-09 14:11:56
+<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-03-10 11:33:06
compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/list.html" */ ?>
<?php /*%%SmartyHeaderCode:33593880254c05ab8e362a8-88978550%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'4c287ca0e4946b3d644e61950c851e98e8906d49' =>
array (
0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/list.html',
- 1 => 1425924469,
+ 1 => 1426001563,
2 => 'file',
),
),
<form class="glm-right" onSubmit="return false;">
<span<?php if ($_smarty_tpl->tpl_vars['haveFilter']->value) {?> class="glm-notice"<?php }?>><b>List Filters:</b> </span>
- <span class="glm-item-container"><input type="checkbox" id="filterArchived" class="listFilter"<?php if ($_smarty_tpl->tpl_vars['filterArchived']->value) {?> checked<?php }?>>Only show Archived</span>
+ <span class="glm-item-container"><input type="checkbox" id="filterArchived" class="listFilter"<?php if ($_smarty_tpl->tpl_vars['filterArchived']->value) {?> checked<?php }?>>Show Archived</span>
<span class="glm-item-container"><input type="checkbox" id="filterPending" class="listFilter"<?php if ($_smarty_tpl->tpl_vars['filterPending']->value) {?> checked<?php }?>>Only show Pending Information</span>
<span class="glm-item-container"><input type="text" id="filterName" class="listFilter" value="<?php echo $_smarty_tpl->tpl_vars['filterName']->value;?>
"> Search</span>
$haveFilter = true;
}
+ // Check if this is a request to show archived members
if (isset($_REQUEST['filterArchived'])) {
$where .= " T.access = ".$this->config['memb_access_numb']['Archived'];
$filterArchived = true;
$haveFilter = true;
+
+ // If not, don't show them
+ } else {
+ $where .= " T.access != ".$this->config['memb_access_numb']['Archived'];
}
// Get a current list of members
<form class="glm-right" onSubmit="return false;">
<span{if $haveFilter} class="glm-notice"{/if}><b>List Filters:</b> </span>
- <span class="glm-item-container"><input type="checkbox" id="filterArchived" class="listFilter"{if $filterArchived} checked{/if}>Only show Archived</span>
+ <span class="glm-item-container"><input type="checkbox" id="filterArchived" class="listFilter"{if $filterArchived} checked{/if}>Show Archived</span>
<span class="glm-item-container"><input type="checkbox" id="filterPending" class="listFilter"{if $filterPending} checked{/if}>Only show Pending Information</span>
<span class="glm-item-container"><input type="text" id="filterName" class="listFilter" value="{$filterName}"> Search</span>
</form>