Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #688 from nishizoe/t-4590
(fixed #4590, BP from #4585) スマートフォンプロフィール画面にプロフィール写真ガジェットを追加
- Loading branch information
Showing
5 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
apps/pc_frontend/modules/default/templates/_smtMemberImageBox.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="row"> | ||
<div class="gadget_header span12"><?php echo __('Profile Photo') ?></div> | ||
</div> | ||
<div class="row"> | ||
<div class="span12 center"> | ||
<p class="photo" style="margin-top: 8px;"> | ||
<?php $imgParam = array('size' => '180x180', 'alt' => $member->getName()) ?> | ||
<?php if ($member): ?> | ||
<?php echo op_image_tag_sf_image($member->getImageFileName(), $imgParam) ?> | ||
<?php else: ?> | ||
<?php echo op_image_tag('no_image.gif', $imgParam) ?> | ||
<?php endif; ?> | ||
</p> | ||
<p class="text"><?php echo $member->getNameAndCount() ?></p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters