while ($_block_repeat) {
            ob_start();
            ?>
Update the status for each participant individually, OR change all statuses to:<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
        array_pop($this->_tag_stack);
        ?>
        <?php 
        echo $this->_tpl_vars['form']['status_change']['html'];
        ?>
  <?php 
        echo smarty_function_help(array('id' => "id-status_change"), $this);
        ?>

        <div class="status">
          <?php 
        $this->_tag_stack[] = array('ts', array());
        $_block_repeat = true;
        smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
Participants whose status is changed FROM Pending Pay Later TO Registered or Attended will receive a confirmation email and their payment status will be set to completed. If this is not what you want to do, you can change their participant status by editing their event registration record directly.<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
 echo '<script type="text/template" id="crm-vol-define-layout-tpl"><div id="help">';
 echo '';
 $this->_tag_stack[] = array('ts', array('domain' => 'org.civicrm.volunteer'));
 $_block_repeat = true;
 smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
 while ($_block_repeat) {
     ob_start();
     echo 'Use this form to specify the number of volunteers needed for each role and time slot. If no needs are specified, volunteers will be considered to be generally available.';
     $_block_content = ob_get_contents();
     ob_end_clean();
     $_block_repeat = false;
     echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
 }
 array_pop($this->_tag_stack);
 echo '';
 echo smarty_function_help(array('id' => "volunteer-define", 'file' => "CRM/Volunteer/Form/Manage/Define.hlp", 'isModulePermissionSupported' => $this->_tpl_vars['isModulePermissionSupported']), $this);
 echo '</div><form class="crm-block crm-form-block crm-event-manage-volunteer-form-block"><div id="crm-vol-define-scheduled-needs-region"><div class="crm-loading-element">';
 $this->_tag_stack[] = array('ts', array('domain' => 'org.civicrm.volunteer'));
 $_block_repeat = true;
 smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
 while ($_block_repeat) {
     ob_start();
     echo 'Loading';
     $_block_content = ob_get_contents();
     ob_end_clean();
     $_block_repeat = false;
     echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
 }
 array_pop($this->_tag_stack);
 echo '...</div></div><div id="crm-vol-define-flexible-needs-region"></div></form></script><script type="text/template" id="crm-vol-define-table-tpl"><table id="crm-vol-define-needs-table"><thead><tr><th id="role_id">';
 $this->_tag_stack[] = array('ts', array('domain' => 'org.civicrm.volunteer'));
            <?php 
        echo smarty_function_help(array('id' => "id-smog-criteria"), $this);
        ?>

        <?php 
    } elseif ($this->_tpl_vars['context'] == 'amtg') {
        ?>
            <?php 
        echo smarty_function_help(array('id' => "id-amtg-criteria"), $this);
        ?>

        <?php 
    } else {
        ?>
            <?php 
        echo smarty_function_help(array('id' => "id-basic-criteria"), $this);
        ?>

        <?php 
    }
    ?>
    <?php 
} elseif ($this->_tpl_vars['action'] == 512) {
    ?>
        <a href="<?php 
    echo $this->_tpl_vars['searchBuilderURL'];
    ?>
">&raquo; <?php 
    $this->_tag_stack[] = array('ts', array());
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
<?php

/* Smarty version 2.6.26, created on 2010-04-27 15:22:29
   compiled from CRM/common/accesskeys.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('block', 'ts', 'CRM/common/accesskeys.tpl', 28, false), array('function', 'help', 'CRM/common/accesskeys.tpl', 28, false))), $this);
if (!$this->_tpl_vars['urlIsPublic']) {
    ?>
 <div class="footer" id="access">
 <?php 
    $this->_tag_stack[] = array('ts', array());
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Access Keys:<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    }
    array_pop($this->_tag_stack);
    echo smarty_function_help(array('id' => 'accesskeys'), $this);
    ?>

 </div>
<?php 
}
        $this->_tag_stack[] = array('ts', array());
        $_block_repeat = true;
        smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
Bulk Mailings?<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
        array_pop($this->_tag_stack);
        ?>
 <?php 
        echo smarty_function_help(array('id' => "id-bulkmail", 'file' => "CRM/Contact/Form/Contact.hlp"), $this);
        ?>
</td>
	    <td id="Email-Primary" class="hiddenElement"><?php 
        $this->_tag_stack[] = array('ts', array());
        $_block_repeat = true;
        smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
Primary?<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
&nbsp;<img src="/templates/admin/images/star.gif" width="16" height="16" alt="Лидер"><?php 
                }
                if ($this->_tpl_vars['items'][$this->_sections['i']['index']]['new'] == 'Y') {
                    ?>
&nbsp;<img src="/templates/admin/images/new.gif" width="16" height="16" alt="Новинка"><?php 
                }
                ?>
</td>
<?php 
                if (!$_GET['idcat'] || $this->_tpl_vars['childcats'] > 1) {
                    ?>
<td class="gray"><span<?php 
                    if ($this->_tpl_vars['items'][$this->_sections['i']['index']]['catpath'] != $this->_tpl_vars['items'][$this->_sections['i']['index']]['category']) {
                        ?>
 <?php 
                        echo smarty_function_help(array('text' => $this->_tpl_vars['items'][$this->_sections['i']['index']]['catpath'], 'width' => 450), $this);
                    }
                    ?>
><?php 
                    echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['category'];
                    ?>
</span></td><?php 
                }
                ?>
<td width="100"><?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['art'];
                ?>
</td>
<td align="left" width="110" nowrap><nobr><input type="text" name="price_<?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['id'];
                ?>
    $this->_tag_stack[] = array('ts', array());
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Select the HTML WYSIWYG Editor provided for fields that allow HTML formatting. Select 'Textarea' if you don't want to provide a WYSIWYG Editor (users will type text and / or HTML code into plain text fields).<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    }
    array_pop($this->_tag_stack);
    ?>
 <?php 
    echo smarty_function_help(array('id' => "id-editor_id"), $this);
    ?>

      </td>
    </tr>
    <tr class="crm-preferences-display-form-block-ajaxPopupsEnabled">
      <td class="label"><?php 
    echo $this->_tpl_vars['form']['ajaxPopupsEnabled']['label'];
    ?>
</td>
      <td><?php 
    echo $this->_tpl_vars['form']['ajaxPopupsEnabled']['html'];
    ?>
</td>
    </tr>
    <tr class="crm-preferences-display-form-block-description">
    <?php 
$this->_tag_stack[] = array('tr', array());
$_block_repeat = true;
smarty_block_tr($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    echo $this->_tpl_vars['crumbs'][$this->_tpl_vars['crumb']]->description;
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_tr($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
?>
    <?php 
echo smarty_function_help(array('crumb' => $this->_tpl_vars['crumbs'][$this->_tpl_vars['crumb']]), $this);
?>

  </div>
  <div class="cbox-data">
    <table width="100%"><tr>
    </tr><tr>
      <td width="33%" style="text-align:center;"><a title="Features"
          href="tiki-admin.php?page=features" class="link"><img border="0"
          src="img/icons/admin_features.png" alt="icon" /><br />
          Features</a></td>
      <td width="33%"  style="text-align:center;"><a title="General"
          href="tiki-admin.php?page=general" class="link"><img border="0"
          src="img/icons/admin_general.png" alt="icon" /><br />
          General</a></td>
      <td width="33%"  style="text-align:center;">
                    while ($_block_repeat) {
                        ob_start();
                        ?>
If you want to associate this record with a campaign, you can <a %1>create a campaign here</a>.<?php 
                        $_block_content = ob_get_contents();
                        ob_end_clean();
                        $_block_repeat = false;
                        echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
                    }
                    array_pop($this->_tag_stack);
                    ?>
            <?php 
                }
                ?>
 <?php 
                echo smarty_function_help(array('id' => "id-campaign_id", 'file' => "CRM/Campaign/Form/addCampaignToComponent.hlp"), $this);
                ?>

            </div>
          <?php 
            }
            ?>
        </td>
    </tr>


<?php 
            echo '
<script type="text/javascript">
function includePastCampaigns()
{
Beispiel #10
0
    $this->_tag_stack[] = array('ts', array());
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Use Groups to organize contacts (e.g. these contacts are members of our 'Steering Committee'). You can also create 'smart' groups whose membership is based on contact characteristics (e.g. this group consists of all people in our database who live in a specific locality).<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    }
    array_pop($this->_tag_stack);
    ?>
 <?php 
    echo smarty_function_help(array('id' => 'manage_groups'), $this);
    ?>

</div>
<?php 
    if ($this->_tpl_vars['action'] != 1 && $this->_tpl_vars['action'] != 2 && $this->_tpl_vars['action'] != 8 && $this->_tpl_vars['groupPermission'] == 1) {
        ?>
    <div class="action-link">
        <a accesskey="N" href="<?php 
        echo CRM_Utils_System::crmURL(array('p' => 'civicrm/group/add', 'q' => 'reset=1'), $this);
        ?>
" id="newGroup" class="button"><span>&raquo; <?php 
        $this->_tag_stack[] = array('ts', array());
        $_block_repeat = true;
        smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
</td>
    </tr>
    <tr class="html-adjust">
        <td class="label"><?php 
    echo $this->_tpl_vars['form']['help_post']['label'];
    ?>
 <!--<?php 
    if ($this->_tpl_vars['action'] == 2) {
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => 'CRM/Core/I18n/Dialog.tpl', 'smarty_include_vars' => array('table' => 'civicrm_custom_group', 'field' => 'help_post', 'id' => $this->_tpl_vars['gid'])));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
    }
    ?>
--><?php 
    echo smarty_function_help(array('id' => "id-help_post"), $this);
    ?>
</td>
        <td><?php 
    echo $this->_tpl_vars['form']['help_post']['html'];
    ?>
</td>
    </tr>
    </table>
    <div class="crm-submit-buttons"><?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/formButtons.tpl", 'smarty_include_vars' => array('location' => 'bottom')));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
    ?>
</div>
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'Slider/CRM/Custom/Form/Field.tpl', 1, false), array('block', 'ts', 'Slider/CRM/Custom/Form/Field.tpl', 6, false), array('function', 'help', 'Slider/CRM/Custom/Form/Field.tpl', 4, false))), $this);
$this->_tag_stack[] = array('crmScope', array('extensionKey' => ""));
$_block_repeat = true;
smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
<table class="hiddenElement">
  <tbody>
    <tr class="crm-volunteer-slider-custom-field-form-block-is_slider_widget">
      <td class="label"><?php 
    echo $this->_tpl_vars['form']['is_slider_widget']['label'];
    ?>
 <?php 
    echo smarty_function_help(array('id' => "volunteer-slider", 'file' => "Slider/CRM/Custom/Form/Field.hlp"), $this);
    ?>
</td>
      <td class="html-adjust"><?php 
    echo $this->_tpl_vars['form']['is_slider_widget']['html'];
    ?>

        <span class="description"><?php 
    $this->_tag_stack[] = array('ts', array());
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Display option set as a slider? (This functionality is provided by CiviVolunteer.)<?php 
        $_block_content = ob_get_contents();
        $_block_repeat = true;
        smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
Edit Complete Street Address<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
        array_pop($this->_tag_stack);
        ?>
</a>
                  <?php 
        echo smarty_function_help(array('id' => "id-edit-complete-street", 'file' => "CRM/Contact/Form/Contact.hlp"), $this);
        ?>
 
               </td>
           </tr>
    <?php 
    }
    ?>

<?php 
    if ($this->_tpl_vars['parseStreetAddress'] == 1) {
        echo '
<script type="text/javascript">
function processAddressFields( name, blockId, loadData ) {

	if ( loadData ) { 
</a>
            </td>
        <?php 
}
?>
     </tr>
     <?php 
if ($this->_tpl_vars['form']['use_household_address']) {
    ?>
 
     <tr>
        <td>
            <?php 
    echo $this->_tpl_vars['form']['use_household_address']['html'];
    echo $this->_tpl_vars['form']['use_household_address']['label'];
    echo smarty_function_help(array('id' => "id-usehousehold"), $this);
    ?>
<br />
            <div id="share_household" style="display:none">
                <?php 
    echo $this->_tpl_vars['form']['shared_household']['label'];
    ?>
<br />
                <?php 
    echo is_array($_tmp = $this->_tpl_vars['form']['shared_household']['html']) ? $this->_run_mod_handler('crmReplace', true, $_tmp, 'class', 'huge') : smarty_modifier_crmReplace($_tmp, 'class', 'huge');
    ?>
&nbsp;&nbsp;<span id="show_address"></span>
				<?php 
    if ($this->_tpl_vars['mailToHouseholdID']) {
        ?>
<div id="shared_address"><?php 
    ?>
</label>
    <br />
    <?php 
    echo $this->_tpl_vars['form']['participant_role_id']['html'];
    ?>

  </td>
</tr>
<tr>
  <td class="crm-event-form-block-participant_test">
  <?php 
    echo $this->_tpl_vars['form']['participant_test']['label'];
    ?>
 <?php 
    echo smarty_function_help(array('id' => "is-test", 'file' => "CRM/Contact/Form/Search/Advanced"), $this);
    ?>

    &nbsp; <?php 
    echo $this->_tpl_vars['form']['participant_test']['html'];
    ?>

  </td>
  <td class="crm-event-form-block-participant_pay_later">
  <?php 
    echo $this->_tpl_vars['form']['participant_is_pay_later']['label'];
    ?>
 <?php 
    echo $this->_tpl_vars['form']['participant_is_pay_later']['html'];
    ?>
<?php /* Smarty version 2.6.27, created on 2015-08-08 15:04:11
         compiled from CRM/common/accesskeys.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'CRM/common/accesskeys.tpl', 1, false),array('block', 'ts', 'CRM/common/accesskeys.tpl', 28, false),array('function', 'help', 'CRM/common/accesskeys.tpl', 28, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php if (! $this->_tpl_vars['urlIsPublic']): ?>
 <div class="footer" id="access">
 <?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Access Keys:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?><?php echo smarty_function_help(array('id' => 'accesskeys','file' => 'CRM/common/accesskeys'), $this);?>

 </div>
<?php endif; ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
        while ($_block_repeat) {
            ob_start();
            ?>
Actual participant count<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
        array_pop($this->_tag_stack);
        ?>
 : <?php 
        echo $this->_tpl_vars['participantCount'];
        ?>
 <?php 
        echo smarty_function_help(array('id' => "id-actual_participant_count", 'file' => "CRM/Event/Form/Search/Results.hlp"), $this);
        ?>
 &nbsp;
    <?php 
    }
    ?>
    </td>
    <td>
                <?php 
    if ($this->_tpl_vars['qill']) {
        ?>
            <?php 
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "CRM/common/displaySearchCriteria.tpl", 'smarty_include_vars' => array()));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
    $_block_repeat = true;
    smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
Get iCalendar feed for current and future public events.<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    }
    array_pop($this->_tag_stack);
    ?>
" />
  </a>&nbsp;&nbsp;&nbsp;<?php 
    echo smarty_function_help(array('id' => 'icalendar'), $this);
    ?>

</div>
<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "CRM/Event/Form/SearchEvent.tpl", 'smarty_include_vars' => array()));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
    ?>

<div class="action-link">
  <a accesskey="N" href="<?php 
    echo $this->_tpl_vars['newEventURL'];
    ?>
" id="newManageEvent" class="button crm-popup">
 <?php 
echo $this->_tpl_vars['form']['is_opt_out']['label'];
?>
 <?php 
echo smarty_function_help(array('id' => "id-optOut"), $this);
?>
</td>
            <td><?php 
echo $this->_tpl_vars['form']['preferred_mail_format']['label'];
?>
 &nbsp;
                <?php 
echo $this->_tpl_vars['form']['preferred_mail_format']['html'];
?>
 <?php 
echo smarty_function_help(array('id' => "id-emailFormat"), $this);
?>

            </td>

        </tr>
    </table>
    </fieldset>
</div>
<?php 
echo '
<script type="text/javascript">
cj( function( ) {
    var fields = new Array( \'postal_greeting\', \'addressee\', \'email_greeting\');
    for ( var i = 0; i < 3; i++ ) {
        cj( "#" + fields[i] + "_id").change( function( ) {
    ?>
            </td>
        </tr>
       <?php 
    if ($this->_tpl_vars['form']['in_selector']) {
        ?>
       <tr class='crm-custom-field-form-block-in_selector'>
          <td class='label'><?php 
        echo $this->_tpl_vars['form']['in_selector']['label'];
        ?>
</td>
          <td class='html-adjust'><?php 
        echo $this->_tpl_vars['form']['in_selector']['html'];
        ?>
 <?php 
        echo smarty_function_help(array('id' => "id-in_selector"), $this);
        ?>
</td>
       </tr>
       <?php 
    }
    ?>
       <tr class="crm-custom-field-form-block-text_length"  id="textLength" <?php 
    if (!($this->_tpl_vars['action'] == 1 || $this->_tpl_vars['action'] == 2) && $this->_tpl_vars['form']['data_type']['value']['0']['0'] != 0) {
        ?>
class="hiddenElement"<?php 
    }
    ?>
>
            <td class="label"><?php 
    echo $this->_tpl_vars['form']['text_length']['label'];
while ($_block_repeat) {
    ob_start();
    if (!$this->_tpl_vars['urlIsPublic']) {
        ?>
 <div class="footer" id="access">
 <?php 
        $this->_tag_stack[] = array('ts', array());
        $_block_repeat = true;
        smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
Access Keys:<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        }
        array_pop($this->_tag_stack);
        echo smarty_function_help(array('id' => 'accesskeys', 'file' => 'CRM/common/accesskeys'), $this);
        ?>

 </div>
<?php 
    }
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
<div align="right" style="margin-top:10px">
<?php 
echo smarty_function_button(array('caption' => "Загрузить", 'onclick' => "files_upload()"), $this);
?>

<?php 
echo smarty_function_button(array('caption' => "Отмена", 'onclick' => "files_cancel()"), $this);
?>

</div>
</div>
<div id="files_registerbox" class="box" style="display:none">
<table class="invisiblegrid" width="100%">
<tr>
<td width="20%"><span <?php 
echo smarty_function_help(array('text' => "Файлы загруженные в каталог /ifiles/"), $this);
?>
>Файл:</span></td>
<td width="80%">Описание:</td>
</tr>
<tr>
<td width="20%"><select id="files_path" name="files_path" style="width:100%"><?php 
echo smarty_function_html_options(array('options' => $this->_tpl_vars['files']), $this);
?>
</select></td>
<td width="80%"><input type="text" id="files_caption2" name="files_caption2" style="width:100%"></td>
</tr>
</table>
<div align="right" style="margin-top:10px">
<?php 
echo smarty_function_button(array('caption' => "Выбрать", 'onclick' => "files_register()"), $this);