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

Changeset 10355


Ignore:
Timestamp:
Jan 24, 2009, 9:27:35 PM (12 years ago)
Author:
ebihara
Message:

#3438:removed navigation for friend/link and friend/unlink

Location:
OpenPNE3/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/profileSuccess.php

    r10350 r10355  
    4848<?php $content = ob_get_clean() ?>
    4949<?php op_include_parts('descriptionBox', 'informationAboutThisIsYourProfilePage', array('body' => $content)) ?>
     50<?php elseif (!$relation->isFriend()): ?>
     51<?php ob_start() ?>
     52<p><?php echo __('%1%さんと知り合いの場合、マイフレンドに追加しましょう!', array('%1%' => $member->getName())) ?><br />
     53<?php echo link_to(__('マイフレンドに追加'), 'friend/link?id='.$member->getId()) ?>
     54</p>
     55<?php $content = ob_get_clean() ?>
     56<?php op_include_parts('descriptionBox', 'informationAboutThisIsYourProfilePage', array('body' => $content)) ?>
    5057<?php endif; ?>
    5158<?php end_slot(); ?>
  • OpenPNE3/trunk/data/fixtures/004_import_navi_menu.yml

    r10277 r10355  
    5959    uri: "friend/list"
    6060    sort_order: 20
    61 
    62   friend_navigation_link:
    63     type: "friend"
    64     uri: "friend/link"
    65     sort_order: 30
    66 
    67   friend_navigation_unlink:
    68     type: "friend"
    69     uri: "friend/unlink"
    70     sort_order: 40
    7161
    7262  community_navigation_home:
     
    146136    culture: "ja_JP"
    147137
    148   friend_navigation_link_i18n:
    149     id: friend_navigation_link
    150     caption: "マイフレンドになる"
    151     culture: "ja_JP"
    152 
    153   friend_navigation_unlink_i18n:
    154     id: friend_navigation_unlink
    155     caption: "マイフレンドをやめる"
    156     culture: "ja_JP"
    157 
    158138  community_navigation_home_i18n:
    159139    id: community_navigation_home
  • OpenPNE3/trunk/lib/task/openpneUpdateTask.class.php

    r10313 r10355  
    5959      $_after = self::formatVersion($versions[1]);
    6060
    61       if (version_compare($beforeVersion, $_before, '<=') && version_compare($afterVersion, $_after, '>='))
     61      if (version_compare($beforeVersion, $_after, '<=') && version_compare($afterVersion, $_after, '>='))
    6262      {
    6363        $className = $prefix.'Update_'.str_replace('.php', '', $file);
Note: See TracChangeset for help on using the changeset viewer.