ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 10375


Ignore:
Timestamp:
Jan 25, 2009, 3:01:38 PM (11 years ago)
Author:
ogawa
Message:

fixed community list templates for using photoTable parts

Location:
OpenPNE3/trunk/apps/pc_frontend
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/i18n/messages.ja.xml

    r10368 r10375  
    88      </trans-unit>
    99      <trans-unit id="">
     10        <source>Community Members</source>
     11        <target>コミュニティメンバー</target>
     12      </trans-unit>
     13      <trans-unit id="">
    1014        <source>Show all</source>
    1115        <target>全てを見る</target>
  • OpenPNE3/trunk/apps/pc_frontend/modules/community/templates/homeSuccess.php

    r10368 r10375  
    1010<?php
    1111$options = array(
    12   'title' => __('コミュニティメンバー'),
     12  'title' => __('Community Members'),
    1313  'list' => $community->getMembers(9),
    1414  'link_to' => 'member/profile?id=',
  • OpenPNE3/trunk/apps/pc_frontend/modules/community/templates/joinlistSuccess.php

    r9740 r10375  
    1 <?php echo pager_navigation($pager, 'community/joinlist?page=%d&id=' . $sf_params->get('id')); ?>
    2 <ul>
    3 <?php foreach ($pager->getResults() as $community) : ?>
    4 <li><?php echo link_to($community->getName(), 'community/home?id=' . $community->getId()); ?></li>
    5 <?php endforeach; ?>
    6 </ul>
    7 <?php echo pager_navigation($pager, 'community/joinlist?page=%d&id=' . $sf_params->get('id')); ?>
     1<?php
     2$options = array(
     3  'title' => __('Communities List'),
     4  'list' => $pager->getResults(),
     5  'link_to' => 'community/home?id=',
     6  'pager' => $pager,
     7  'link_to_pager' => 'community/joinlist?page=%d&id='.$member->getId(),
     8);
     9op_include_parts('photoTable', 'communityList', $options)
     10?>
  • OpenPNE3/trunk/apps/pc_frontend/modules/community/templates/memberListSuccess.php

    r9740 r10375  
    1 <?php echo pager_navigation($pager, 'community/memberList?page=%d&id=' . $sf_params->get('id')); ?>
    2 <ul>
    3 <?php foreach ($pager->getResults() as $member) : ?>
    4 <li><?php echo link_to($member->getName(), 'member/profile?id=' . $member->getId()); ?></li>
    5 <?php endforeach; ?>
    6 </ul>
    7 <?php echo pager_navigation($pager, 'community/memberList?page=%d&id=' . $sf_params->get('id')); ?>
     1<?php
     2$options = array(
     3  'title' => __('Community Members'),
     4  'list' => $pager->getResults(),
     5  'link_to' => 'member/profile?id=',
     6  'pager' => $pager,
     7  'link_to_pager' => 'community/memberList?page=%d&id='.$community->getId(),
     8);
     9op_include_parts('photoTable', 'communityMembersList', $options)
     10?>
Note: See TracChangeset for help on using the changeset viewer.