(dev/core#1615) Import civicrm-setup code
[civicrm-core.git] / setup / plugins / blocks / opt-in.tpl.php
CommitLineData
4bcd4c62
TO
1<?php if (!defined('CIVI_SETUP')): exit("Installation plugins must only be loaded by the installer.\n"); endif; ?>
2<h2 id="settings"><?php echo ts('Opt-in'); ?></h2>
3
4<p>
5 <?php echo ts('CiviCRM is provided for free -- built with donations and volunteerism. We don\'t have the marketing or data-analytics prowess of a large corporation, so we rely on users to keep us informed -- and to spread the word.'); ?>
6 <?php echo ts('Of course, not everyone can help in these ways. But if you can, opt-in to help enrich the product and community.'); ?>
7</p>
8
9<div>
10 <input class="optin-cb sr-only" style="display: none;" type="checkbox" name="civisetup[opt-in][versionCheck]" id="civisetup[opt-in][versionCheck]" value="1" <?php echo $model->extras['opt-in']['versionCheck'] ? 'checked' : ''; ?>>
11 <label class="optin-box" for="civisetup[opt-in][versionCheck]">
12 <span class="optin-label"><?php echo ts('Version pingback'); ?></span>
13 <span class="optin-desc"><?php echo ts('Check for CiviCRM version updates. Report anonymous usage statistics.'); ?></span>
14 </label>
15
16 <input class="optin-cb sr-only" style="display: none;" type="checkbox" name="civisetup[opt-in][empoweredBy]" id="civisetup[opt-in][empoweredBy]" value="1" <?php echo $model->extras['opt-in']['empoweredBy'] ? 'checked' : ''; ?>>
17 <label class="optin-box" for="civisetup[opt-in][empoweredBy]">
18 <span class="optin-label"><?php echo ts('Empowered by CiviCRM'); ?></span>
19 <span class="optin-desc"><?php echo ts('Display "Empowered by CiviCRM" in the footer of public forms.'); ?></span>
20 </label>
21</div>