Changeset 12814
- Timestamp:
- Sep 4, 2009, 12:33:34 AM (13 years ago)
- Location:
- OpenPNE3/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/profileSuccess.php
r12761 r12814 52 52 <?php $content = ob_get_clean() ?> 53 53 <?php op_include_parts('descriptionBox', 'informationAboutThisIsYourProfilePage', array('body' => $content)) ?> 54 <?php else if (!$relation->isFriend() && opConfig::get('enable_friend_link')): ?>54 <?php else: ?> 55 55 <?php include_partial('member/birthdayBox', array('targetDay' => $targetDay)); ?> 56 <?php if (!$relation->isFriend() && opConfig::get('enable_friend_link')): ?> 56 57 <?php ob_start() ?> 57 58 <p><?php echo __('If %1% is your friend, let us add to friends it!', array('%1%' => $member->getName())) ?><br /> … … 60 61 <?php $content = ob_get_clean() ?> 61 62 <?php op_include_parts('descriptionBox', 'informationAboutThisIsYourProfilePage', array('body' => $content)) ?> 63 <?php endif; ?> 62 64 <?php endif; ?> 63 65 <?php if (isset($topGadgets)): ?> -
OpenPNE3/trunk/lib/action/sfOpenPNEMemberAction.class.php
r12740 r12814 166 166 $this->crownIds = Doctrine::getTable('CommunityMember')->getCommunityIdsOfAdminByMemberId($id); 167 167 168 $birthday = Doctrine::getTable('MemberProfile')->retrieveByMemberIdAndProfileName($id, ' birthday');168 $birthday = Doctrine::getTable('MemberProfile')->retrieveByMemberIdAndProfileName($id, 'op_preset_birthday'); 169 169 $this->targetDay = opToolkit::extractTargetDay((string)$birthday); 170 170
Note: See TracChangeset
for help on using the changeset viewer.