コード例 #1
0
<?php

op_mobile_page_title(__('Activities of %my_friend%', array('%my_friend%' => $op_term['my_friend']->pluralize()->titleize())));
if ($pager->getNbResults() || isset($form)) {
    if ($pager->getNbResults()) {
        ?>
<center>
<?php 
        op_include_pager_total($pager);
        ?>
</center>
<?php 
    }
    $params = array('title' => '', 'activities' => $pager->getResults());
    if (isset($form)) {
        $params['form'] = $form;
    }
    include_partial('default/activityBox', $params);
    if ($pager->getNbResults()) {
        op_include_pager_navigation($pager, 'friend/showActivity?page=%d');
    }
} else {
    op_include_parts('box', 'ActivityBox', array('body' => __('There is no activity.'), 'title' => ''));
}
コード例 #2
0
<?php

op_mobile_page_title($id === $sf_user->getMemberId() ? __('My Activities') : __('Activities of %0%', array('%0%' => $member->getName())));
if ($pager->getNbResults()) {
    ?>
<center>
<?php 
    op_include_pager_total($pager);
    ?>
</center>
<?php 
    include_partial('default/activityBox', array('title' => '', 'activities' => $pager->getResults()));
    op_include_pager_navigation($pager, 'member/showActivity?page=%d&id=' . $id);
} else {
    op_include_parts('box', 'ActivityBox', array('body' => __('There is no activity.')));
}
コード例 #3
0
</tr>
<tr>
<th><?php 
        echo __('Public flag');
        ?>
</th>
<td colspan="2"><?php 
        echo $album->getPublicFlagLabel();
        ?>
</td>
</tr>
<tr>
<th><?php 
        echo __('Created at');
        ?>
</th>
<td colspan="2"><?php 
        echo $album->getCreatedAt();
        ?>
</td>
</tr>
</table>
<?php 
    }
    echo op_include_pager_navigation($pager, 'album/listMember?page=%d&id=' . $member->getId());
    ?>
</div></div>
<?php 
} else {
    op_include_box('albumList', __('There are no albums'), array('title' => $title));
}
コード例 #4
0
<?php

use_helper('Date');
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading">
<h3><?php 
    echo __('Recently Posted %Community% Topics');
    ?>
</h3>
</div>

<?php 
    ob_start();
    op_include_pager_navigation($pager, '@communityTopic_recently_topic_list?page=%d');
    $pager_navi = ob_get_contents();
    ob_end_flush();
    ?>

<?php 
    foreach ($pager->getResults() as $topic) {
        ?>
<dl>
<dt><?php 
        echo format_datetime($topic->getUpdatedAt(), 'f');
        ?>
</dt>
<dd>
<?php 
        echo sprintf('%s (%s)', link_to(sprintf('%s(%d)', $topic->getName(), $topic->getCommunityTopicComment()->count()), 'communityTopic_show', $topic), $topic->getCommunity()->getName());
コード例 #5
0
ファイル: listSuccess.php プロジェクト: nagata/OpenPNE3
<?php

op_mobile_page_title(__('%Friend% list'));
?>

<center>
<?php 
op_include_pager_total($pager);
?>
</center>

<?php 
$list = array();
foreach ($pager->getResults() as $member) {
    $list[] = op_link_to_member($member->getId(), '@obj_member_profil', array('link_target' => sprintf('%s(%d)', $member->getName(), $member->countFriends())));
}
$option = array('border' => true);
op_include_list('friendList', $list, $option);
?>

<?php 
op_include_pager_navigation($pager, 'friend/list?page=%d&id=' . $id, array('is_total' => false));
?>
<br>

<?php 
if ($relation->isSelf()) {
    slot('op_mobile_footer_menu');
    echo link_to(__('Manage %friend%'), 'friend/manage');
    end_slot();
}
コード例 #6
0
?>

<?php 
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading">
<h3><?php 
    echo __('List of topics');
    ?>
</h3>
</div>

<?php 
    ob_start();
    op_include_pager_navigation($pager, '@communityTopic_list_community?page=%d&id=' . $community->getId());
    $pager_navi = ob_get_contents();
    ob_end_flush();
    ?>

<?php 
    foreach ($pager->getResults() as $topic) {
        ?>
<dl>
<dt><?php 
        echo format_datetime($topic->getUpdatedAt(), 'f');
        ?>
</dt>
<dd><?php 
        echo link_to(sprintf($topic->getName() . '(%d)', $topic->getCommunityTopicComment()->count()), '@communityTopic_show?id=' . $topic->getId());
        ?>
コード例 #7
0
    $communityMember = Doctrine::getTable('communityMember')->retrieveByMemberIdAndCommunityId($member->getId(), $community->getId());
    $list_str = op_link_to_member($member);
    $operation = array();
    if (!($communityMember->hasPosition(array('admin', 'sub_admin')) || $communityMember->getMemberId() === $sf_user->getMemberId())) {
        $operation[] = link_to(__('Drop this member'), 'community/dropMember?id=' . $community->getId() . '&member_id=' . $member->getId());
    }
    if ($isAdmin) {
        if (!$communityMember->hasPosition(array('admin', 'admin_confirm', 'sub_admin'))) {
            if ($communityMember->hasPosition('sub_admin_confirm')) {
                $operation[] = __("You are requesting this %community%'s sub-administrator to this member now.");
            } else {
                $operation[] = link_to(__("Request this %community%'s sub-administrator to this member"), 'community/subAdminRequest?id=' . $community->getId() . '&member_id=' . $member->getId());
            }
        } elseif ($communityMember->hasPosition('sub_admin')) {
            $operation[] = link_to(__("Demotion from this %community%'s sub-administrator"), 'community/removeSubAdmin?id=' . $community->getId() . '&member_id=' . $member->getId());
        }
        if (!$communityMember->hasPosition('admin')) {
            $operation[] = link_to(__("Take over this %community%'s administrator to this member"), 'community/changeAdminRequest?id=' . $community->getId() . '&member_id=' . $member->getId());
        } elseif ($communityMember->hasPosition('admin_confirm')) {
            $operation[] = __("You are taking over this %community%'s administrator to this member now.");
        }
    }
    $list[] = $list_str . (count($operation) ? '<br><br>' . implode('<br>', $operation) : '');
}
$option = array('border' => true);
op_include_list('memberList', $list, $option);
?>

<?php 
op_include_pager_navigation($pager, '@community_memberManage?page=%d&id=' . $id, array('is_total' => false));
コード例 #8
0
<?php

op_mobile_page_title($community->getName(), __('Event Members'));
?>

<center>
<?php 
op_include_pager_total($pager);
?>
</center>

<?php 
$list = array();
foreach ($pager->getResults() as $member) {
    $list[] = link_to(sprintf('%s(%d)', $member->getName(), $member->countFriends()), 'member/profile?id=' . $member->getId());
}
$option = array('border' => true);
op_include_list('memberList', $list, $option);
?>

<?php 
op_include_pager_navigation($pager, '@communityEvent_memberList?page=%d&id=' . $communityEvent->getId(), array('is_total' => false));
コード例 #9
0
ファイル: searchSuccess.php プロジェクト: kawahara/OpenPNE3
if ($isResult) {
    if ($pager->getNbResults()) {
        ?>
<center>
<?php 
        op_include_pager_total($pager);
        ?>
</center>
<?php 
        $list = array();
        foreach ($pager->getResults() as $community) {
            $list[] = link_to(sprintf('%s(%d)', $community->getName(), $community->countCommunityMembers()), '@community_home?id=' . $community->getId());
        }
        $option = array('border' => true);
        op_include_list('communityList', $list, $option);
        op_include_pager_navigation($pager, 'community/search?page=%d', array('is_total' => false, 'use_current_query_string' => true));
    } else {
        echo __('Your search queries did not match any communities.');
    }
}
?>

<?php 
$options = array('url' => url_for('community/search'), 'button' => __('Search'), 'method' => 'get', 'align' => 'center');
if (!$isResult) {
    $options['moreInfo'] = array(link_to(__('Create a new %community%'), '@community_edit'));
}
op_include_form('searchCommunity', $filters, $options);
?>

<?php 
コード例 #10
0
ファイル: manageSuccess.php プロジェクト: nagata/OpenPNE3
<?php

op_mobile_page_title(__('Manage %friend%'));
?>

<center>
<?php 
op_include_pager_total($pager);
?>
</center>

<?php 
$list = array();
foreach ($pager->getResults() as $member) {
    $vars = array('id' => $member->getId());
    $list[] = get_customizes('id_name', 'before', $vars) . op_link_to_member($member->getId(), '@obj_member_profile', array('link_target' => sprintf('%s(%d)', $member->getName(), $member->countFriends()))) . '<br>' . get_customizes('id_name', 'after', $vars) . get_customizes('id_friend', 'before', $vars) . ' [' . link_to(__('Removes this %friend%'), 'friend/unlink?id=' . $member->getId()) . ']' . get_customizes('id_friend', 'after', $vars);
}
$option = array('border' => true);
op_include_list('friendList', $list, $option);
?>

<?php 
op_include_pager_navigation($pager, 'friend/manage?page=%d&id=' . $sf_params->get('id'), array('is_total' => false));
コード例 #11
0
<?php

op_mobile_page_title($member->getName());
?>

<center>
<?php 
op_include_pager_total($pager);
?>
</center>

<?php 
$list = array();
foreach ($pager->getResults() as $community) {
    $list[] = link_to(sprintf('%s(%d)', $community->getName(), $community->countCommunityMembers()), 'community/home?id=' . $community->getId());
}
$option = array('border' => true);
op_include_list('communityList', $list, $option);
?>

<?php 
op_include_pager_navigation($pager, 'community/joinlist?page=%d&id=' . $member->getId(), array('is_total' => false));
コード例 #12
0
if ($pager->getNbResults()) {
    ?>

<center>
<?php 
    op_include_pager_total($pager);
    ?>
</center>
<?php 
    $list = array();
    foreach ($pager->getResults() as $diary) {
        $list[] = sprintf("%s<br>%s (%s)", op_format_date($diary->created_at, 'XDateTime'), link_to(op_diary_get_title_and_count($diary, false, 28), 'diary_show', $diary), $diary->Member->name);
    }
    $options = array('border' => true);
    op_include_list('diaryList', $list, $options);
    echo op_include_pager_navigation($pager, $pagerLink, array('is_total' => false));
    ?>

<?php 
} else {
    ?>

<?php 
    echo !isset($keyword) ? __('There are no diaries.') : __('Your search "%1%" did not match any diaries.', array('%1%' => $keyword));
    ?>

<?php 
}
?>

<?php 
コード例 #13
0
<td>
<form action="<?php 
    echo url_for('package_manageMember', $package);
    ?>
" method="post">
<?php 
    $form = new opPluginMemberManageForm(array('member_id' => $item->id, 'package_id' => $package->id, 'position' => Doctrine::getTable('PluginMember')->getPosition($item->id, $package->id)));
    echo $form['position']->render();
    echo $form->renderHiddenFields();
    ?>
<input type="submit" value="<?php 
    echo __('Save');
    ?>
" class="input_submit" />
</form>
</td>

</tr>
<?php 
}
?>
</tbody></table></div>

<?php 
op_include_pager_navigation($pager, '@package_manageMember?name=' . $package->name);
?>

</div>
</div>
コード例 #14
0
}
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading"><h3><?php 
    echo $title;
    ?>
</h3></div>
<?php 
    echo op_include_pager_navigation($pager, 'diary/listMember?page=%d&id=' . $member->id . ($year && $month ? '&year=' . $year . '&month=' . $month . ($day ? '&day=' . $day : '') : ''));
    foreach ($pager->getResults() as $diary) {
        ?>
<dl>
<dt><?php 
        echo op_format_date($diary->created_at, 'XDateTimeJa');
        ?>
</dt>
<dd><?php 
        echo op_diary_link_to_show($diary, false);
        ?>
</dd>
</dl>
<?php 
    }
    echo op_include_pager_navigation($pager, 'diary/listMember?page=%d&id=' . $member->id . ($year && $month ? '&year=' . $year . '&month=' . $month . ($day ? '&day=' . $day : '') : ''));
    ?>
</div></div>
<?php 
} else {
    op_include_box('diaryList', __('There are no diaries.'), array('title' => $title));
}
コード例 #15
0
echo $form->renderFormTag(url_for('communityTopic/eventMemberList'), array('method' => 'get'));
?>
<table>
<?php 
echo $form;
?>
<tr>
<td colspan="2"><input type="submit" value="<?php 
echo __('Search');
?>
" /></td>
</table>
</form>

<?php 
if (!$pager->getNbResults()) {
    echo __('There are no event members matches search condition.');
} else {
    ob_start();
    ?>
<p><?php 
    op_include_pager_navigation($pager, 'communityTopic/eventMemberList?page=%d', array('use_current_query_string' => true));
    ?>
</p>
<?php 
    $pagerNavi = ob_get_flush();
    foreach ($pager->getResults() as $eventMember) {
        include_partial('communityTopic/eventMemberInfo', array('eventMember' => $eventMember, 'moreInfo' => array(link_to(__('Delete'), 'communityTopic/eventMemberDelete?id=' . $eventMember->getId()))));
    }
    echo $pagerNavi;
}
コード例 #16
0
echo $form->renderFormTag(url_for('communityTopic/eventMemberList'));
?>
<table>
<?php 
echo $form;
?>
<tr>
<td colspan="2"><input type="submit" value="<?php 
echo __('Search');
?>
" /></td>
</table>
</form>

<?php 
if (!$pager->getNbResults()) {
    echo __('There are no event members matches search condition.');
} else {
    ob_start();
    ?>
<p><?php 
    op_include_pager_navigation($pager, 'communityTopic/eventMemberList?page=%d');
    ?>
</p>
<?php 
    $pagerNavi = ob_get_flush();
    foreach ($pager->getResults() as $eventMember) {
        include_partial('communityTopic/eventMemberInfo', array('eventMember' => $eventMember, 'moreInfo' => array(link_to(__('Delete'), 'communityTopic/eventMemberDelete?id=' . $eventMember->getId()))));
    }
    echo $pagerNavi;
}
コード例 #17
0
<?php

slot('pager');
op_include_pager_navigation($pager, 'community/memberManage?page=%d&id=' . $sf_params->get('id'));
end_slot();
?>

<div class="parts">
<div class="partsHeading"><h3><?php 
echo __('Management member');
?>
</h3></div>
<?php 
include_slot('pager');
?>
<div class="item">
<table>
<tbody>
<?php 
foreach ($pager->getResults() as $member) {
    $customizeOption = array('member' => $member, 'community' => $community);
    $communityMember = Doctrine::getTable('CommunityMember')->retrieveByMemberIdAndCommunityId($member->getId(), $community->getId());
    ?>

<tr>
<?php 
    include_customizes('id_member', 'before', $customizeOption);
    ?>
<td class="member"><?php 
    echo op_link_to_member($member->getId());
    ?>
コード例 #18
0
<?php

use_helper('OpenSocial');
?>

<div class="partsHeading"><h3><?php 
echo __('Apps Installed by You');
?>
</h3></div>
<?php 
slot('pager');
op_include_pager_navigation($pager, '@application_installed_list?page=%d');
end_slot();
include_slot('pager');
?>
<div class="applicationList">
<?php 
foreach ($pager->getResults() as $application) {
    op_include_application_information_box('item_' . $application->getId(), $application);
}
?>
</div>
<?php 
include_slot('pager');
コード例 #19
0
<?php

op_include_box('vote_question_create_box', '選択肢つきの質問を作成することができます!', array('title' => '質問作成', 'moreInfo' => array(link_to('質問作成', '@vote_new'))));
?>


<?php 
if ($pager->getNbResults()) {
    ?>

<?php 
    slot('pager');
    op_include_pager_navigation($pager, '@vote_list?page=%d');
    end_slot();
    ?>

<div class="dparts recentList"><div class="parts">
<div class="partsHeading">
<h3>質問リスト</h3>
</div>
<?php 
    include_slot('pager');
    foreach ($pager->getResults() as $item) {
        ?>
<dl>
<dt><?php 
        echo op_format_date($item->getUpdatedAt(), 'f');
        ?>
</dt>
<dd><?php 
        echo link_to(sprintf("%s(%d)", $item->getTitle(), count($item->getVoteAnswers())), '@vote_show?id=' . $item->getId());
コード例 #20
0
?>

<?php 
if ($pager->getNbResults()) {
    ?>

<center>
<?php 
    op_include_pager_total($pager);
    ?>
</center>
<?php 
    $list = array();
    foreach ($pager->getResults() as $diary) {
        $list[] = sprintf("%s<br>%s (%s)", op_format_date($diary->created_at, 'XDateTime'), link_to(op_diary_get_title_and_count($diary, false, 28), 'diary_show', $diary), $diary->Member->name);
    }
    $options = array('border' => true);
    op_include_list('diaryList', $list, $options);
    echo op_include_pager_navigation($pager, '@diary_list_friend?page=%d', array('is_total' => false));
    ?>

<?php 
} else {
    ?>

<?php 
    echo __('There are no diaries.');
    ?>

<?php 
}
コード例 #21
0
    ?>
</p>
<?php 
} else {
    $params = array();
    $params['uri'] = url_for('monitoring/fileList');
    $params['method'] = 'get';
    $params['title'] = __('表示件数');
    $params['params'] = array(20, 50, 100, 500);
    $params['unit'] = '件';
    $params['name'] = 'size';
    $params['default'] = $size;
    include_partial('global/changePageSize', array('params' => $params));
    ?>

<p><?php 
    op_include_pager_navigation($pager, 'monitoring/fileList?page=%d&size=' . $size);
    ?>
</p>
<div class="fileListTable">
<?php 
    include_partial('fileInfo', array('files' => $pager->getResults(), 'deleteBtn' => true));
    ?>
</div>
<br class="clear"/>
<p><?php 
    op_include_pager_navigation($pager, 'monitoring/fileList?page=%d&size=' . $size);
    ?>
</p>
<?php 
}
コード例 #22
0
<?php

use_helper('Date');
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading">
<h3><?php 
    echo __('Recently Posted Community Events');
    ?>
</h3>
</div>

<?php 
    ob_start();
    op_include_pager_navigation($pager, '@communityEvent_recently_event_list?page=%d');
    $pager_navi = ob_get_contents();
    ob_end_flush();
    ?>

<?php 
    foreach ($pager->getResults() as $event) {
        ?>
<dl>
<dt><?php 
        echo format_datetime($event->getUpdatedAt(), 'f');
        ?>
</dt>
<dd>
<?php 
        echo sprintf('%s (%s)', link_to(sprintf('%s(%d)', $event->getName(), $event->getCommunityEventComment()->count()), '@communityEvent_show?id=' . $event->getId()), $event->getCommunity()->getName());
コード例 #23
0
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading"><h3><?php 
    echo $title;
    ?>
</h3></div>
<?php 
    op_include_pager_navigation($pager, '@diary_comment_history?page=%d');
    foreach ($pager->getResults() as $diaryCommentUpdate) {
        $diary = $diaryCommentUpdate->Diary;
        ?>
<dl>
<dt><?php 
        echo op_format_date($diaryCommentUpdate->last_comment_time, 'XDateTimeJa');
        ?>
</dt>
<dd><?php 
        echo op_diary_link_to_show($diary, true, false);
        ?>
</dd>
</dl>
<?php 
    }
    op_include_pager_navigation($pager, '@diary_comment_history?page=%d');
    ?>
</div></div>
<?php 
} else {
    op_include_box('diaryList', __('There are no diaries.'), array('title' => $title));
}
コード例 #24
0
ファイル: listSuccess.php プロジェクト: te-koyama/openpne
    echo image_tag('backend/icn_blacklist.gif', array('alt' => __('Add mobile UID to blacklist')));
    ?>
: <?php 
    echo __('Add mobile UID to blacklist');
    ?>
</p>

<table>

<tr>
<td colspan="<?php 
    echo 7 + count($profiles) + 4;
    ?>
">
<?php 
    op_include_pager_navigation($pager, 'member/list?page=%d', array('use_current_query_string' => true));
    ?>
</td>
</tr>

<tr>
<th colspan="4"><?php 
    echo __('Operation');
    ?>
</th>
<th><?php 
    echo __('ID');
    ?>
</th>
<th><?php 
    echo __('Nickname');
コード例 #25
0
ファイル: listSuccess.php プロジェクト: nothan/opDiaryPlugin
    foreach ($pager->getResults() as $diaryComment) {
        ?>
<table>
<?php 
        include_partial('diaryComment', array('diaryComment' => $diaryComment));
        ?>
<tr><td colspan="2"><form action="<?php 
        echo url_for('@monitoring_diary_comment_delete_confirm?id=' . $diaryComment->id);
        ?>
" method="get"><input type="submit" value="<?php 
        echo __('Delete');
        ?>
" /></form></td></tr>
</table>
<?php 
    }
    ?>
<p><?php 
    echo op_include_pager_navigation($pager, $pagerLink);
    ?>
</p>
</div>
<?php 
} else {
    ?>
<p><?php 
    echo !isset($keyword) ? __('There are no diary comments.') : __('Your search "%1%" did not match any diary comments.', array('%1%' => $keyword));
    ?>
</p>
<?php 
}
コード例 #26
0
op_mobile_page_title(__('Recently Posted %Community% Events'));
?>

<?php 
if ($pager->getNbResults()) {
    use_helper('Date');
    ?>

<center>
<?php 
    echo pager_total($pager);
    ?>
</center>

<?php 
    $list = array();
    foreach ($pager->getResults() as $event) {
        $list[] = sprintf("%s<br>%s (%s)", op_format_date($event->getUpdatedAt(), 'XDateTime'), link_to(sprintf("%s(%d)", op_truncate($event->getName(), 28), $event->getCommunityEventComment()->count()), '@communityEvent_show?id=' . $event->getId()), op_truncate($event->getCommunity()->getName(), 28));
    }
    $options = array('border' => true);
    op_include_list('communityList', $list, $options);
    ?>

<?php 
    if ($pager->haveToPaginate()) {
        op_include_pager_navigation($pager, '@communityEvent_recently_event_list?page=%d', array('is_total' => false));
    }
    ?>

<?php 
}
コード例 #27
0
<?php

slot('pager');
op_include_pager_navigation($options['pager'], $options['link_to_page'], array('use_current_query_string' => true));
end_slot();
include_slot('pager');
?>

<div class="block">
<?php 
foreach ($options['pager']->getResults() as $key => $result) {
    $list = $options->list->getRaw($key);
    ?>
<div class="ditem"><div class="item"><table><tbody><tr>
<td rowspan="<?php 
    echo count($options['list'][$key]) + 1;
    ?>
" class="photo">
<?php 
    echo link_to(image_tag_sf_image($result->getImageFilename(), array('size' => '76x76')), sprintf($options['link_to_detail'], $result->getId()));
    ?>
<br />
<?php 
    echo link_to(__('Details'), sprintf($options['link_to_detail'], $result->getId()));
    ?>
</td>
<th>
<?php 
    reset($list);
    echo key($list);
    ?>
コード例 #28
0
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading"><h3><?php 
    echo $title;
    ?>
</h3></div>
<?php 
    echo op_include_pager_navigation($pager, 'diaryComment/history?page=%d');
    foreach ($pager->getResults() as $diaryCommentUpdate) {
        $diary = $diaryCommentUpdate->Diary;
        ?>
<dl>
<dt><?php 
        echo op_format_date($diaryCommentUpdate->last_comment_time, 'XDateTimeJa');
        ?>
</dt>
<dd><?php 
        echo op_diary_link_to_show($diary, true, false);
        ?>
</dd>
</dl>
<?php 
    }
    echo op_include_pager_navigation($pager, 'diaryComment/history?page=%d');
    ?>
</div></div>
<?php 
} else {
    op_include_box('diaryList', __('There are no diaries.'), array('title' => $title));
}
コード例 #29
0
slot('submenu');
include_partial('submenu');
end_slot();
?>

<?php 
slot('title');
echo __('Inactive Apps');
end_slot();
?>

<?php 
if ($pager->getNbResults()) {
    slot('pager');
    op_include_pager_navigation($pager, '@op_opensocial_inactive_list?page=%d');
    end_slot();
    include_slot('pager');
    ?>
<ul>
<?php 
    foreach ($pager->getResults() as $application) {
        ?>
<li><?php 
        echo link_to($application->getTitle(), '@op_opensocial_info?id=' . $application->getId());
        ?>
</li>
<?php 
    }
    ?>
</ul>
コード例 #30
0
ファイル: fileListSuccess.php プロジェクト: phenom/OpenPNE3
    echo __('アップロードファイルは存在しません。');
    ?>
</p>
<?php 
} else {
    $params = array();
    $params['uri'] = url_for('monitoring/fileList');
    $params['method'] = 'get';
    $params['title'] = __('表示件数');
    $params['params'] = array(20, 50, 100, 500);
    $params['unit'] = '件';
    $params['name'] = 'size';
    include_partial('global/changePageSize', array('params' => $params));
    ?>

<p><?php 
    op_include_pager_navigation($pager, 'monitoring/fileList?page=%d');
    ?>
</p>
<div class="fileListTable">
<?php 
    include_partial('fileInfo', array('files' => $pager->getResults(), 'deleteBtn' => true));
    ?>
</div>
<br class="clear"/>
<p><?php 
    op_include_pager_navigation($pager, 'monitoring/fileList?page=%d');
    ?>
</p>
<?php 
}