1 <?php
if (!defined('CIVI_SETUP')): exit("Installation plugins must only be loaded by the installer.\n");
3 <h2
><?php
echo ts('Sample Data'); ?
></h2
>
6 <label
for="loadGenerated"><span
>Load sample data
:</span
><input id
="loadGenerated" type
="checkbox" name
="civisetup[loadGenerated]" value
=1 <?php
echo $model->loadGenerated ?
"checked='checked'" : ""; ?
> /></label
> <br
/>
7 <span
class="advancedTip"><?php
echo ts("Check this box to pre-populate CiviCRM with sample English contact records, online contribution pages, profile forms, etc. These examples can help you learn about CiviCRM features."); ?
></span
><br
/>
10 <script type
="text/javascript">
13 if (csj$
('[name=lang]').val() == 'en_US') {
14 csj$
('#loadGenerated').prop('disabled', false);
17 csj$
('#loadGenerated').prop('disabled', true).prop('checked', false);
19 setTimeout(hideLang
, 100);
21 setTimeout(hideLang
, 100);