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

Changeset 9547


Ignore:
Timestamp:
Dec 12, 2008, 4:40:57 PM (11 years ago)
Author:
ebihara
Message:

#3211:added no_image.gif

Location:
OpenPNE3/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsMemberImageBox.php

    r9546 r9547  
    11<div class="dparts memberImageBox">
    22<div class="parts">
    3 <p class="photo"><?php echo image_tag_sf_image($option['image'], array('size' => '180x180')) ?></p>
     3<p class="photo">
     4<?php $imgParam = array('size' => '180x180', 'alt' => $option['name']) ?>
     5<?php if ($option['image']) : ?>
     6<?php echo image_tag_sf_image($option['image'], $imgParam) ?>
     7<?php else : ?>
     8<?php echo image_tag('no_image.gif', $imgParam) ?>
     9<?php endif; ?>
     10</p>
    411</div>
    512<p class="text"><?php echo $option['name'] ?></p>
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsMemberImageUploadBox.php

    r9544 r9547  
    1717]
    1818<?php else: ?>
    19 <img src="({t_img_url_skin filename=no_image w=180 h=180})" alt="" />
     19<?php echo image_tag('no_image.gif', array('size' => '180x180', 'alt' => '')) ?>
    2020<?php endif; ?>
    2121</td>
Note: See TracChangeset for help on using the changeset viewer.