summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/uploads/civicrm/templates_c/es_ES/%%E7/E78/E787C8BC%%CommunicationPreferences.tpl.php
blob: d60f24cd6e269ac5f368eda41ace5e912037ecbb (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?php /* Smarty version 2.6.31, created on 2019-08-30 19:47:35
         compiled from CRM/Contact/Form/Edit/CommunicationPreferences.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/Contact/Form/Edit/CommunicationPreferences.tpl', 1, false),array('block', 'ts', 'CRM/Contact/Form/Edit/CommunicationPreferences.tpl', 60, false),array('function', 'help', 'CRM/Contact/Form/Edit/CommunicationPreferences.tpl', 37, false),array('modifier', 'crmAddClass', 'CRM/Contact/Form/Edit/CommunicationPreferences.tpl', 58, 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(); ?>
<div class="crm-accordion-wrapper crm-commPrefs-accordion collapsed">
 <div class="crm-accordion-header">
    <?php echo $this->_tpl_vars['title']; ?>

  </div><!-- /.crm-accordion-header -->
<div id="commPrefs" class="crm-accordion-body">
    <table class="form-layout-compressed" >
        <?php if (! empty ( $this->_tpl_vars['form']['communication_style_id'] )): ?>
            <tr><td colspan='4'>
                <span class="label"><?php echo $this->_tpl_vars['form']['communication_style_id']['label']; ?>
 <?php echo smarty_function_help(array('id' => "id-communication_style",'file' => "CRM/Contact/Form/Contact.hlp"), $this);?>
</span>
                <span class="value"><?php echo $this->_tpl_vars['form']['communication_style_id']['html']; ?>
</span>
            </td><tr>
        <?php endif; ?>
        <tr>
            <?php if (! empty ( $this->_tpl_vars['form']['email_greeting_id'] )): ?>
                <td><?php echo $this->_tpl_vars['form']['email_greeting_id']['label']; ?>
</td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['postal_greeting_id'] )): ?>
                <td><?php echo $this->_tpl_vars['form']['postal_greeting_id']['label']; ?>
</td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['addressee_id'] )): ?>
                <td><?php echo $this->_tpl_vars['form']['addressee_id']['label']; ?>
</td>
            <?php endif; ?>
      <?php if (! empty ( $this->_tpl_vars['form']['email_greeting_id'] ) || ! empty ( $this->_tpl_vars['form']['postal_greeting_id'] ) || ! empty ( $this->_tpl_vars['form']['addressee_id'] )): ?>
                <td>&nbsp;&nbsp;<?php echo smarty_function_help(array('id' => "id-greeting",'file' => "CRM/Contact/Form/Contact.hlp"), $this);?>
</td>
      <?php endif; ?>
        </tr>
        <tr>
            <?php if (! empty ( $this->_tpl_vars['form']['email_greeting_id'] )): ?>
                <td>
                    <span id="email_greeting" <?php if (! empty ( $this->_tpl_vars['email_greeting_display'] ) && $this->_tpl_vars['action'] == 2): ?> class="hiddenElement"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['email_greeting_id']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'big') : smarty_modifier_crmAddClass($_tmp, 'big')); ?>
</span>
                    <?php if (! empty ( $this->_tpl_vars['email_greeting_display'] ) && $this->_tpl_vars['action'] == 2): ?>
                      <div data-id="email_greeting" class="replace-plain" title="<?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(); ?>Click to edit<?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); ?>">
                        <?php echo $this->_tpl_vars['email_greeting_display']; ?>

                      </div>
                    <?php endif; ?>
                </td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['postal_greeting_id'] )): ?>
                <td>
                    <span id="postal_greeting" <?php if (! empty ( $this->_tpl_vars['postal_greeting_display'] ) && $this->_tpl_vars['action'] == 2): ?> class="hiddenElement"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['postal_greeting_id']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'big') : smarty_modifier_crmAddClass($_tmp, 'big')); ?>
</span>
                    <?php if (! empty ( $this->_tpl_vars['postal_greeting_display'] ) && $this->_tpl_vars['action'] == 2): ?>
                      <div data-id="postal_greeting" class="replace-plain" title="<?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(); ?>Click to edit<?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); ?>">
                        <?php echo $this->_tpl_vars['postal_greeting_display']; ?>

                      </div>
                    <?php endif; ?>
                </td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['addressee_id'] )): ?>
                <td>
                    <span id="addressee" <?php if (! empty ( $this->_tpl_vars['addressee_display'] ) && $this->_tpl_vars['action'] == 2): ?> class="hiddenElement"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['addressee_id']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'big') : smarty_modifier_crmAddClass($_tmp, 'big')); ?>
</span>
                    <?php if (! empty ( $this->_tpl_vars['addressee_display'] ) && $this->_tpl_vars['action'] == 2): ?>
                      <div data-id="addressee" class="replace-plain" title="<?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(); ?>Click to edit<?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); ?>">
                        <?php echo $this->_tpl_vars['addressee_display']; ?>

                      </div>
                    <?php endif; ?>
                </td>
            <?php endif; ?>
        </tr>
        <tr id="greetings1" class="hiddenElement">
            <?php if (! empty ( $this->_tpl_vars['form']['email_greeting_custom'] )): ?>
                <td><span id="email_greeting_id_label" class="hiddenElement"><?php echo $this->_tpl_vars['form']['email_greeting_custom']['label']; ?>
</span></td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['postal_greeting_custom'] )): ?>
                <td><span id="postal_greeting_id_label" class="hiddenElement"><?php echo $this->_tpl_vars['form']['postal_greeting_custom']['label']; ?>
</span></td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['addressee_custom'] )): ?>
                <td><span id="addressee_id_label" class="hiddenElement"><?php echo $this->_tpl_vars['form']['addressee_custom']['label']; ?>
</span></td>
            <?php endif; ?>
        </tr>
        <tr id="greetings2" class="hiddenElement">
            <?php if (! empty ( $this->_tpl_vars['form']['email_greeting_custom'] )): ?>
                <td><span id="email_greeting_id_html" class="hiddenElement"><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['email_greeting_custom']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'big') : smarty_modifier_crmAddClass($_tmp, 'big')); ?>
</span></td>
            <?php endif; ?>
             <?php if (! empty ( $this->_tpl_vars['form']['postal_greeting_custom'] )): ?>
                <td><span id="postal_greeting_id_html" class="hiddenElement"><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['postal_greeting_custom']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'big') : smarty_modifier_crmAddClass($_tmp, 'big')); ?>
</span></td>
            <?php endif; ?>
            <?php if (! empty ( $this->_tpl_vars['form']['addressee_custom'] )): ?>
                <td><span id="addressee_id_html" class="hiddenElement"><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['addressee_custom']['html'])) ? $this->_run_mod_handler('crmAddClass', true, $_tmp, 'big') : smarty_modifier_crmAddClass($_tmp, 'big')); ?>
</span></td>
            <?php endif; ?>
        </tr>
        <tr>
          <?php $_from = $this->_tpl_vars['commPreference']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
            <td>
              <br/><span class="label"><?php echo $this->_tpl_vars['form'][$this->_tpl_vars['key']]['label']; ?>
</span> <?php echo smarty_function_help(array('id' => "id-".($this->_tpl_vars['key']),'file' => "CRM/Contact/Form/Contact.hlp"), $this);?>

              <br/><?php echo $this->_tpl_vars['form'][$this->_tpl_vars['key']]['html']; ?>

            </td>
          <?php endforeach; endif; unset($_from); ?>
          <td>
            <br/><span class="label"><?php echo $this->_tpl_vars['form']['preferred_language']['label']; ?>
</span>
            <br/><?php echo $this->_tpl_vars['form']['preferred_language']['html']; ?>

          </td>
        </tr>
        <tr>
            <td><?php echo $this->_tpl_vars['form']['is_opt_out']['html']; ?>
 <?php echo $this->_tpl_vars['form']['is_opt_out']['label']; ?>
 <?php echo smarty_function_help(array('id' => "id-optOut",'file' => "CRM/Contact/Form/Contact.hlp"), $this);?>
</td>
            <?php if (! empty ( $this->_tpl_vars['form']['preferred_mail_format'] )): ?>
                <td><?php echo $this->_tpl_vars['form']['preferred_mail_format']['label']; ?>
 &nbsp;
                    <?php echo $this->_tpl_vars['form']['preferred_mail_format']['html']; ?>
 <?php echo smarty_function_help(array('id' => "id-emailFormat",'file' => "CRM/Contact/Form/Contact.hlp"), $this);?>

                </td>
            <?php endif; ?>
        </tr>
    </table>
 </div><!-- /.crm-accordion-body -->
</div><!-- /.crm-accordion-wrapper -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CRM/Contact/Form/Edit/CommunicationPreferences.js.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?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); ?>