diff --git a/templates/preview.tpl.php b/templates/preview.tpl.php index 2f5cd0ce..c9072d21 100644 --- a/templates/preview.tpl.php +++ b/templates/preview.tpl.php @@ -1,8 +1,15 @@
Steve 模型的皮肤:getTexture('steve'); ?>" />
Steve 模型的皮肤:getTexture('steve') != "") {
+ echo 'src = "../textures/'.$data['user']->getTexture('steve').'"';
+ } else {
+ echo 'src = "'.$unuploaded_img.'"';
+ } ?>
+ />
Alex 模型的皮肤:getTexture('alex') != "") {
echo 'src = "../textures/'.$data['user']->getTexture('alex').'"';