1 <?php
if (!defined('CIVI_SETUP')): exit("Installation plugins must only be loaded by the installer.\n");
3 <h2 id
="components"><?php
echo ts('Components'); ?
></h2
>
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
>
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.'); ?
>