Merge pull request #16595 from seamuslee001/refactor_payment_processor_radio
[civicrm-core.git] / setup / plugins / blocks / components.tpl.php
1 <?php if (!defined('CIVI_SETUP')): exit("Installation plugins must only be loaded by the installer.\n");
2 endif; ?>
3 <h2 id="components"><?php echo ts('Components'); ?></h2>
4
5 <div>
6 <?php foreach ($model->getField('components', 'options') as $comp => $label): ?>
7 <input class="comp-cb sr-only" style="display: none;" type="checkbox" name="civisetup[components][<?php echo $comp; ?>]" id="civisetup[components][<?php echo $comp; ?>]" <?php echo in_array($comp, $model->components) ? 'checked' : '' ?>>
8 <label class="comp-box" for="civisetup[components][<?php echo $comp; ?>]">
9 <span class="comp-label"><?php echo $label; ?></span>
10 <span class="comp-desc"><?php echo $_tpl_block['component_labels'][$comp] ?></span>
11 </label>
12 <?php endforeach; ?>
13 </div>
14
15 <p class="tip">
16 <strong><?php echo ts('Tip'); ?></strong>:
17 <?php echo ts('Not sure? That\'s OK. After installing, you can enable and disable components at any time.'); ?>
18 </p>