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