<commit_before>{*
 +--------------------------------------------------------------------+
 | CiviCRM version 4.6                                                |
 +--------------------------------------------------------------------+
 | Copyright CiviCRM LLC (c) 2004-2015                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 | CiviCRM is free software; you can copy, modify, and distribute it  |
 | under the terms of the GNU Affero General Public License           |
 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
 |                                                                    |
 | CiviCRM is distributed in the hope that it will be useful, but     |
 | WITHOUT ANY WARRANTY; without even the implied warranty of         |
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
 | See the GNU Affero General Public License for more details.        |
 |                                                                    |
 | You should have received a copy of the GNU Affero General Public   |
 | License and the CiviCRM Licensing Exception along                  |
 | with this program; if not, contact CiviCRM LLC                     |
 | at info[AT]civicrm[DOT]org. If you have questions about the        |
 | GNU Affero General Public License or the licensing of CiviCRM,     |
 | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
 +--------------------------------------------------------------------+
*}

<div class="crm-block crm-form-block crm-event-manage-eventinfo-form-block">
  <!-- ##These buttons need to be present -->
  <div class="crm-submit-buttons">
  {include file="CRM/common/formButtons.tpl" location="top"}
  </div>


  <table class="form-layout-compressed">         
    <!--##TODO: Create a new class for the enable tracking checkbox-->
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.enable_tracking.html} {$form.enable_tracking.label}</td>
    </tr>
    <tr class="crm-event-manage-eventinfo-form-block-title" id="tracking-params">
      <td>{$form.tracking_id.label}</td>
      <td>{$form.tracking_id.html} </br></td>
    </tr>
  </table>
   
    <!--## Custom Event Tracking.. registration link was clicked how many times etc.-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.custom_event_tracking.html} {$form.custom_event_tracking.label}</td>
    </tr>
    -->
    <!--## E-Commerce Tracking.. will tell you the revenue from FB/LinkedIn/ etc.-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.ecommerce_tracking.html} {$form.ecommerce_tracking.label}</td>
    </tr>
    -->
    <!--## Primary Page Of Experiment?-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.primary_page_experiment.html} {$form.primary_page_experiment.label}</td>
    </tr>
    -->
    <!--## Experiment ID-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-title">
      <td>{$form.experiment_id.label}</td>
      <td>{$form.experiment_id.html} </br></td>
    </tr>
    -->
  </table>
  <!-- ##These buttons need to be present -->
  <div class="crm-submit-buttons">
     {include file="CRM/common/formButtons.tpl" location="bottom"}
  </div>
</div>

{include file="CRM/common/showHide.tpl"}



<commit_msg>Basic dynamic div in webtracking form<commit_after>{*
 +--------------------------------------------------------------------+
 | CiviCRM version 4.6                                                |
 +--------------------------------------------------------------------+
 | Copyright CiviCRM LLC (c) 2004-2015                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 | CiviCRM is free software; you can copy, modify, and distribute it  |
 | under the terms of the GNU Affero General Public License           |
 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
 |                                                                    |
 | CiviCRM is distributed in the hope that it will be useful, but     |
 | WITHOUT ANY WARRANTY; without even the implied warranty of         |
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
 | See the GNU Affero General Public License for more details.        |
 |                                                                    |
 | You should have received a copy of the GNU Affero General Public   |
 | License and the CiviCRM Licensing Exception along                  |
 | with this program; if not, contact CiviCRM LLC                     |
 | at info[AT]civicrm[DOT]org. If you have questions about the        |
 | GNU Affero General Public License or the licensing of CiviCRM,     |
 | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
 +--------------------------------------------------------------------+
*}

<div class="crm-block crm-form-block crm-event-manage-eventinfo-form-block">
  <!-- ##These buttons need to be present -->
  <div class="crm-submit-buttons">
  {include file="CRM/common/formButtons.tpl" location="top"}
  </div>


  <table class="form-layout-compressed">         
    <!--##TODO: Create a new class for the enable tracking checkbox-->
    <tr class="crm-event-manage-webtracking-form-block-enable_tracking" id="enable-tracking">
      <td>&nbsp;</td>
      <td>{$form.enable_tracking.html} {$form.enable_tracking.label}</td>
    </tr>
  </table>  

  <div id="tracking-params">  
    <table class="form-layout-compressed">  
      <tr class="crm-event-manage-webtracking-form-block-tracking_params">
        <td>{$form.tracking_id.label}</td>
        <td>{$form.tracking_id.html} </br></td>
      </tr>
      <tr>
        <td>Hi</td>
        <td>Vishal</td>  
      </tr>  
    </table>
  </div>
   
    <!--## Custom Event Tracking.. registration link was clicked how many times etc.-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.custom_event_tracking.html} {$form.custom_event_tracking.label}</td>
    </tr>
    -->
    <!--## E-Commerce Tracking.. will tell you the revenue from FB/LinkedIn/ etc.-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.ecommerce_tracking.html} {$form.ecommerce_tracking.label}</td>
    </tr>
    -->
    <!--## Primary Page Of Experiment?-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-is_active">
      <td>&nbsp;</td>
      <td>{$form.primary_page_experiment.html} {$form.primary_page_experiment.label}</td>
    </tr>
    -->
    <!--## Experiment ID-->
    <!--
    <tr class="crm-event-manage-eventinfo-form-block-title">
      <td>{$form.experiment_id.label}</td>
      <td>{$form.experiment_id.html} </br></td>
    </tr>
    -->
  </table>
  <!-- ##These buttons need to be present -->
  <div class="crm-submit-buttons">
     {include file="CRM/common/formButtons.tpl" location="bottom"}
  </div>
</div>

{include file="CRM/common/showHide.tpl"}

{literal}
<script type="text/javascript">
cj(document).ready(function(){
      cj('#enable_tracking').change(function() {
        cj('.crm-event-manage-webtracking-form-block-tracking_params').toggle();
      });
});    
</script>
{/literal}


{'fraction_non_alphanumeric': 0.20574964548150057, 'fraction_numerical': 0.004383137811009411, 'mean_word_length': 1.6351902173913044, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6433813', 'n_tokens_mistral': 2230, 'n_tokens_neox': 2138, 'n_words': 515}