"
                    <?php 
                    echo $this->_tpl_vars['Column']['Attributes'];
                    ?>

                    <?php 
                    $this->_tag_stack[] = array('style_block', array());
                    $_block_repeat = true;
                    smarty_block_style_block($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        echo $this->_tpl_vars['Column']['Styles'];
                        $_block_content = ob_get_contents();
                        ob_end_clean();
                        $_block_repeat = false;
                        echo smarty_block_style_block($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
                    }
                    array_pop($this->_tag_stack);
                    ?>
                    data-sort-url="<?php 
                    echo is_array($_tmp = $this->_tpl_vars['Column']['SortUrl']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp);
                    ?>
"
                    data-field-caption="<?php 
                    echo $this->_tpl_vars['Column']['Caption'];
                    ?>
"
                    data-comment="<?php 
                    echo $this->_tpl_vars['Column']['Comment'];
                    ?>
">
コード例 #2
0
        <?php if ($this->_tpl_vars['Band']['ConsolidateHeader'] && $this->_tpl_vars['Band']['ColumnCount'] > 0): ?>
            <th colspan="<?php echo $this->_tpl_vars['Band']['ColumnCount']; ?>
">
                <?php echo $this->_tpl_vars['Band']['Caption']; ?>

            </th>
        <?php else: ?>
            <?php $_from = $this->_tpl_vars['Band']['Columns']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['Column']):
?>
                <th class="<?php echo $this->_tpl_vars['Column']['Classes']; ?>
"
                    <?php echo $this->_tpl_vars['Column']['Attributes']; ?>

                    <?php $this->_tag_stack[] = array('style_block', array()); $_block_repeat=true;smarty_block_style_block($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo $this->_tpl_vars['Column']['Styles']; ?>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_style_block($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
                    data-field-caption="<?php echo $this->_tpl_vars['Column']['Caption']; ?>
"
                    data-field-name="<?php echo $this->_tpl_vars['Column']['Name']; ?>
"
                    data-sort-index="<?php echo $this->_tpl_vars['Column']['SortIndex']; ?>
"
                    data-comment="<?php echo $this->_tpl_vars['Column']['Comment']; ?>
">
                    <i class="additional-info-icon"></i>
                    <span <?php if ($this->_tpl_vars['Column']['Comment']): ?>class="commented"<?php endif; ?>><?php echo $this->_tpl_vars['Column']['Caption']; ?>
</span>
                    <i class="sort-icon"></i>
                </th>
            <?php endforeach; endif; unset($_from); ?>
        <?php endif; ?>