summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/uploads/civicrm/templates_c/en_US/%%13/13E/13E26DB5%%displaySearchCriteria.tpl.php
blob: c2887d31072915cd97885cf4e9fb285966df066e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php /* Smarty version 2.6.31, created on 2019-08-30 19:23:34
         compiled from CRM/common/displaySearchCriteria.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/common/displaySearchCriteria.tpl', 1, false),array('block', 'ts', 'CRM/common/displaySearchCriteria.tpl', 36, false),array('modifier', 'escape', 'CRM/common/displaySearchCriteria.tpl', 34, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_from = $this->_tpl_vars['qill']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['sets'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['sets']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['setKey'] => $this->_tpl_vars['orClauses']):
        $this->_foreach['sets']['iteration']++;
?>
    <?php if ($this->_foreach['sets']['total'] > 2): ?>
                <?php if (count ( $this->_tpl_vars['orClauses'] ) > 0): ?>
        <ul>
        <li>
        <?php $_from = $this->_tpl_vars['orClauses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['criteria'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['criteria']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['criteria']['iteration']++;
?>
            <?php echo ((is_array($_tmp=$this->_tpl_vars['item'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>

            <?php if (! ($this->_foreach['criteria']['iteration'] == $this->_foreach['criteria']['total'])): ?>
                <span class="font-italic">...<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>AND<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>...</span>
            <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?>
        </li>
        </ul>

                <?php if (! ($this->_foreach['sets']['iteration'] == $this->_foreach['sets']['total'])): ?>
            <ul class="menu"><li class="no-display">
            <?php if ($this->_tpl_vars['setKey'] == 0): ?>AND<br />
            <?php else: ?>OR<br />
            <?php endif; ?>
            </li></ul>
        <?php endif; ?>
        <?php endif; ?>

    <?php else: ?>
        <?php $_from = $this->_tpl_vars['orClauses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['criteria'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['criteria']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['criteria']['iteration']++;
?>
            <div class="qill">
            <?php echo ((is_array($_tmp=$this->_tpl_vars['item'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>

            <?php if (! ($this->_foreach['criteria']['iteration'] == $this->_foreach['criteria']['total'])): ?>
                <?php if ($this->_tpl_vars['operator']): ?>
                  <span class="font-italic">...<?php echo ((is_array($_tmp=$this->_tpl_vars['operator'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
...</span>
                <?php else: ?>
                  <span class="font-italic">...<?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>AND<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>...</span>
                <?php endif; ?>
            <?php endif; ?>
            </div>
        <?php endforeach; endif; unset($_from); ?>
    <?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>