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

Changeset 10298


Ignore:
Timestamp:
Jan 21, 2009, 5:30:10 PM (11 years ago)
Author:
ogawa
Message:

#3448:moved partsInfo and moreInfo to _partsLayout

Location:
OpenPNE3/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/community/templates/_joinListBox.php

    r10292 r10298  
    44  'list' => $communities,
    55  'link_to' => 'community/home?id=',
    6   'moreInfo' => array(sprintf('%s(%d)', __('全てを見る'), $member->countCommunityMembers()) => 'community/joinlist'),
     6  'moreInfo' => array(link_to(sprintf('%s(%d)', __('全てを見る'), $member->countCommunityMembers()), 'community/joinlist')),
    77  'type' => $sf_data->getRaw('gadget')->getConfig('type'),
    88  'row' => $row,
  • OpenPNE3/trunk/apps/pc_frontend/modules/community/templates/homeSuccess.php

    r10292 r10298  
    1414  'list' => $community->getMembers(9),
    1515  'link_to' => 'member/profile?id=',
    16   'moreInfo' => array(sprintf('%s(%d)', __('全てを見る'), $community->countCommunityMembers()) => 'community/memberList?id='.$community->getId()),
     16  'moreInfo' => array(link_to(sprintf('%s(%d)', __('全てを見る'), $community->countCommunityMembers()), 'community/memberList?id='.$community->getId())),
    1717);
    1818if ($isAdmin)
    1919{
    20   $options['moreInfo'][__('メンバー管理')] = 'community/memberManage?id='.$community->getId();
     20  $options['moreInfo'][] = link_to(__('メンバー管理'), 'community/memberManage?id='.$community->getId());
    2121}
    2222op_include_parts('nineTable', 'frendList', $options);
  • OpenPNE3/trunk/apps/pc_frontend/modules/friend/templates/_friendListBox.php

    r10292 r10298  
    44  'list' => $friends,
    55  'link_to' => 'member/profile?id=',
    6   'moreInfo' => array(sprintf('%s(%d)', __('全てを見る'), $member->countFriends()) => 'friend/list?id='.$member->getId()),
     6  'moreInfo' => array(link_to(sprintf('%s(%d)', __('全てを見る'), $member->countFriends()), 'friend/list?id='.$member->getId())),
    77  'type' => $sf_data->getRaw('gadget')->getConfig('type'),
    88  'row' => $row,
     
    1212if ($member->getId() == $sf_user->getMember()->getId())
    1313{
    14   $options['moreInfo'][__('フレンド管理')] = 'friend/manage';
     14  $options['moreInfo'][] = link_to(__('フレンド管理'), 'friend/manage');
    1515}
    1616
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/profileSuccess.php

    r10292 r10298  
    2424  'list' => $member->getFriends(9),
    2525  'link_to' => 'member/profile?id=',
    26   'moreInfo' => array(sprintf('%s(%d)', __('全てを見る'), $member->countFriends()) => 'friend/list?id='.$member->getId()),
     26  'moreInfo' => array(link_to(sprintf('%s(%d)', __('全てを見る'), $member->countFriends()), 'friend/list?id='.$member->getId())),
    2727);
    2828op_include_parts('nineTable', 'frendList', $options);
     
    3434  'list' => $communities,
    3535  'link_to' => 'community/home?id=',
    36   'moreInfo' => array(sprintf('%s(%d)', __('全てを見る'), $member->countCommunityMembers()) => 'community/joinlist'),
     36  'moreInfo' => array(link_to(sprintf('%s(%d)', __('全てを見る'), $member->countCommunityMembers()), 'community/joinlist')),
    3737);
    3838op_include_parts('nineTable', 'communityList', $options);
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/registerMobileToRegisterEndSuccess.php

    r10297 r10298  
    66<li><?php echo __('ドメイン指定受信機能などをお使いの方は、携帯電話で「%1%」からのメールを受信できるように設定してください。', array('%1%' => $op_config['admin_mail_address'])) ?></li>
    77</ul>
    8 <?php $info = ob_get_clean() ?>
     8<?php $partsInfo = ob_get_clean() ?>
    99<?php
    1010$options = array(
    1111  'title' => __('携帯電話の登録'),
    12   'info' => $info,
     12  'partsInfo' => $partsInfo,
    1313);
    1414op_include_form('registerMobile', $form, $options);
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsForm.php

    r10297 r10298  
    55), (array)$sf_data->getRaw('options'));
    66?>
    7 <?php if (!empty($options['info'])): ?>
    8 <div class="partsInfo">
    9 <div class="body">
    10 <?php include_customizes($id, 'bodyTop') ?>
    11 <?php echo $options['info'] ?>
    12 <?php include_customizes($id, 'bodyBottom') ?>
    13 </div>
    14 </div>
    15 <?php endif; ?>
    167
    178<form action="<?php echo url_for($options['url']) ?>" method="post"<?php if (!empty($options['isMultipart'])): ?> enctype="multipart/form-data"<?php endif; ?>>
     
    6556</table>
    6657
    67 <?php if (!empty($options['moreInfo'])) : ?>
    68 <div class="block moreInfo">
    69 <ul class="moreInfo">
    70 <?php foreach ($options['moreInfo'] as $key => $value): ?>
    71 <li><?php echo $value ?></li>
    72 <?php endforeach; ?>
    73 </ul>
    74 </div>
    75 <?php endif; ?>
    7658<div class="operation">
    7759<ul class="moreInfo button">
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsLayout.php

    r10258 r10298  
    1212<?php endif; ?>
    1313
     14<?php if (isset($options['partsInfo'])): ?>
     15<div class="partsInfo">
     16<div class="body">
     17<?php echo $options->getRaw('partsInfo') ?>
     18</div>
     19</div>
     20<?php endif; ?>
     21
    1422<?php include_customizes($id, 'top') ?>
     23
    1524<?php echo $sf_data->getRaw('op_content') ?>
     25
    1626<?php include_customizes($id, 'bottom') ?>
     27
     28<?php if (isset($options['moreInfo'])): ?>
     29<div class="moreInfo">
     30<ul class="moreInfo">
     31<?php foreach ($options['moreInfo'] as $key => $value): ?>
     32<li><?php echo $options['moreInfo']->getRaw($key) ?></li>
     33<?php endforeach; ?>
     34</ul>
     35</div>
     36<?php endif; ?>
    1737
    1838</div><!-- parts -->
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsListBox.php

    r10292 r10298  
    88<?php include_customizes($id, 'lastRow') ?>
    99</table>
    10 
    11 <?php if (isset($options['moreInfo'])): ?>
    12 <div class="block moreInfo">
    13 <ul class="moreInfo">
    14 <?php foreach ($options['moreInfo'] as $key => $value) : ?>
    15 <li><?php echo $options['moreInfo']->getRaw($key); ?></li>
    16 <?php endforeach; ?>
    17 </ul>
    18 </div>
    19 <?php endif; ?>
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsMemberImageBox.php

    r10286 r10298  
    88</p>
    99<p class="text"><?php echo $options['name'] ?></p>
    10 <?php if (!empty($options['moreInfo'])): ?>
    11 <ul>
    12 <?php foreach ($options['moreInfo'] as $key => $value): ?>
    13 <li><?php echo $options['moreInfo']->getRaw($key) ?></li>
    14 <?php endforeach; ?>
    15 </ul>
    16 <?php endif; ?>
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsNineTable.php

    r10292 r10298  
    3030<?php endfor; ?>
    3131</table>
    32 <?php if ($options['moreInfo']): ?>
    33 <div class="block moreInfo">
    34 <ul class="moreInfo">
    35 <?php foreach ($options['moreInfo'] as $key => $value): ?>
    36 <li><?php echo link_to($key, $value) ?></li>
    37 <?php endforeach; ?>
    38 </ul>
    39 </div>
    4032<?php endif; ?>
    41 <?php endif; ?>
  • OpenPNE3/trunk/web/css/main.css

    r10297 r10298  
    820820  text-align: center;
    821821}
     822
    822823.nineTable tr.photo td p.crown {
    823824  text-align: center;
    824825}
     826
    825827.nineTable tr.text td {
    826828  padding: 2px;
    827829  text-align: center;
    828830}
     831
     832.nineTable div.moreInfo {
     833  border-top: solid 1px #CCCCCC;
     834}
     835
    829836.nineTable div.moreInfo ul.moreInfo {
    830837  width: 11em;
Note: See TracChangeset for help on using the changeset viewer.