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

Changeset 12814


Ignore:
Timestamp:
Sep 4, 2009, 12:33:34 AM (13 years ago)
Author:
urabe
Message:

#3878 Timing in which the birthday banner is displayed is changed.

Location:
OpenPNE3/trunk
Files:
2 edited

Legend:

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

    r12761 r12814  
    5252<?php $content = ob_get_clean() ?>
    5353<?php op_include_parts('descriptionBox', 'informationAboutThisIsYourProfilePage', array('body' => $content)) ?>
    54 <?php elseif (!$relation->isFriend() && opConfig::get('enable_friend_link')): ?>
     54<?php else: ?>
    5555<?php include_partial('member/birthdayBox', array('targetDay' => $targetDay)); ?>
     56<?php if (!$relation->isFriend() && opConfig::get('enable_friend_link')): ?>
    5657<?php ob_start() ?>
    5758<p><?php echo __('If %1% is your friend, let us add to friends it!', array('%1%' => $member->getName())) ?><br />
     
    6061<?php $content = ob_get_clean() ?>
    6162<?php op_include_parts('descriptionBox', 'informationAboutThisIsYourProfilePage', array('body' => $content)) ?>
     63<?php endif; ?>
    6264<?php endif; ?>
    6365<?php if (isset($topGadgets)): ?>
  • OpenPNE3/trunk/lib/action/sfOpenPNEMemberAction.class.php

    r12740 r12814  
    166166    $this->crownIds = Doctrine::getTable('CommunityMember')->getCommunityIdsOfAdminByMemberId($id);
    167167
    168     $birthday = Doctrine::getTable('MemberProfile')->retrieveByMemberIdAndProfileName($id, 'birthday');
     168    $birthday = Doctrine::getTable('MemberProfile')->retrieveByMemberIdAndProfileName($id, 'op_preset_birthday');
    169169    $this->targetDay = opToolkit::extractTargetDay((string)$birthday);
    170170
Note: See TracChangeset for help on using the changeset viewer.