<li class="active">

                    <a href="#" title="<?php 
            echo $this->_tpl_vars['PageListPage']['Hint'];
            ?>
" onclick="return false;" style="cursor: default;">
                        <i class="page-list-icon"></i>
                        <?php 
            echo $this->_tpl_vars['PageListPage']['Caption'];
            ?>

                        <?php 
            if ($this->_tpl_vars['List']['RSSLink']) {
                ?>
                        <span class="pull-right" style="cursor: pointer;" onclick="window.location.href=<?php 
                echo smarty_function_jsstring(array('value' => $this->_tpl_vars['List']['RSSLink']), $this);
                ?>
;">
                            <i class="pg-icon-rss"></i>
                        </span>
                        <?php 
            }
            ?>
                    </a>

                </li>
            <?php 
        } else {
            ?>
                <li><a href="<?php 
            echo is_array($_tmp = $this->_tpl_vars['PageListPage']['Href']) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp);
                <?php 
$_from = $this->_tpl_vars['FilterBuilder']['Fields'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['FilterBuilderField']) {
        ?>
                filterBuilder.addField(
                        <?php 
        echo smarty_function_jsstring(array('value' => $this->_tpl_vars['FilterBuilderField']['Name']), $this);
        ?>
,
                        <?php 
        echo smarty_function_jsstring(array('value' => $this->_tpl_vars['FilterBuilderField']['Caption']), $this);
        ?>
,
                        fb.FieldType.<?php 
        echo $this->_tpl_vars['FilterBuilderField']['Type'];
        ?>
,
                        fb.<?php 
        echo $this->_tpl_vars['FilterBuilderField']['EditorClass'];
        ?>
,
                        <?php 
        echo $this->_tpl_vars['FilterBuilderField']['EditorOptions'];
        ?>
);
                <?php 
                <?php 
$_from = $this->_tpl_vars['FilterBuilder']['Fields'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
if (count($_from)) {
    foreach ($_from as $this->_tpl_vars['FilterBuilderField']) {
        ?>
                filterBuilder.addField(
                        <?php 
        echo smarty_function_jsstring(array('value' => $this->_tpl_vars['FilterBuilderField']['Name'], 'charset' => $this->_tpl_vars['Page']->GetContentEncoding()), $this);
        ?>
,
                        <?php 
        echo smarty_function_jsstring(array('value' => $this->_tpl_vars['FilterBuilderField']['Caption'], 'charset' => $this->_tpl_vars['Page']->GetContentEncoding()), $this);
        ?>
,
                        fb.FieldType.<?php 
        echo $this->_tpl_vars['FilterBuilderField']['Type'];
        ?>
,
                        fb.<?php 
        echo $this->_tpl_vars['FilterBuilderField']['EditorClass'];
        ?>
,
                        <?php 
        echo $this->_tpl_vars['FilterBuilderField']['EditorOptions'];
        ?>
);
                <?php