op_mobile_page_title(__('Invite App'), $application->getTitle());
?>

<?php 
if ($pager && $pager->getRawValue() instanceof sfPager && $pager->getNbResults()) {
    echo __('Select the member who wants to invite to this App.');
    ?>

<hr color="<?php 
    echo $op_color['core_color_12'];
    ?>
">
<center>
<?php 
    op_include_pager_total($pager);
    ?>
</center>
<?php 
    if (count($ids)) {
        if (1 === count($ids)) {
            echo __('1 member has been selected.');
        } else {
            echo __('%0% members has been selected.', array('%0%' => count($ids)));
        }
    }
    ?>

<?php 
    echo $form->renderFormTag(url_for('@application_invite?id=' . $memberApplication->getId()));
    $list = array();
Beispiel #2
0
<?php

if ($commentPager->getNbResults()) {
    ?>
<hr color="<?php 
    echo $op_color['core_color_11'];
    ?>
">
<center>
<?php 
    echo __('Comments', array(), 'form_community');
    ?>
<br>
<?php 
    op_include_pager_total($commentPager);
    ?>
</center>

<?php 
    foreach ($commentPager->getResults() as $comment) {
        $list[] = get_partial('communityTopicComment/comment', array('comment' => $comment));
    }
    op_include_list('commentList', $list, array('border' => true));
    if ($commentPager->haveToPaginate()) {
        op_include_pager_navigation($commentPager, '@communityTopic_show?id=' . $communityTopic->getId() . '&page=%d');
    }
}