Exemple #1
0
" class="inputbox" onchange="document.getElementById('adminForm').submit();" />
        <?php 
}
?>

        <?php 
echo $this->form->monthField;
?>
        <?php 
echo $this->form->yearField;
?>
        <?php 
echo $this->form->limitField;
?>
        <button type="submit" class="button"><?php 
echo JText::_('JGLOBAL_FILTER_BUTTON');
?>
</button>
    </div>
    <input type="hidden" name="view" value="archive" />
    <input type="hidden" name="option" value="com_content" />
    <input type="hidden" name="limitstart" value="0" />
    </fieldset>
<?php 
echo artxPost(array('header-text' => $component->pageHeading, 'content' => ob_get_clean()));
echo $this->loadTemplate('items');
?>
</form>
<?php 
echo $component->endPageContainer();
Exemple #2
0
        $row = $counter / $this->columns;
        if ($rowcount == 1) {
            echo '<div class="items-row cols-' . (int) $this->columns . ' row-' . $row . '">';
        }
        echo '<div class="item column-' . $rowcount . ($item->state == 0 ? ' system-unpublished"' : '') . '">';
        $this->item = $item;
        echo $this->loadTemplate('item');
        echo '</div>';
        $counter++;
        if ($rowcount == $this->columns || $counter == $introcount) {
            echo '<span class="row-separator"></span></div>';
        }
    }
}
if (!empty($this->link_items)) {
    ob_start();
    echo '<div class="items-more">' . $this->loadTemplate('links') . '</div>';
    echo artxPost(ob_get_clean());
}
if ($this->params->def('show_pagination', 2) == 1 || $this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1) {
    ob_start();
    echo '<div class="pagination">';
    if ($this->params->def('show_pagination_results', 1)) {
        echo '<p class="counter">' . $this->pagination->getPagesCounter() . '</p>';
    }
    echo $this->pagination->getPagesLinks();
    echo '</div>';
    echo artxPost(ob_get_clean());
}
echo $view->endPageContainer();