diff --git a/templates/preview.tpl.php b/templates/preview.tpl.php index c9072d21..6d782bf6 100644 --- a/templates/preview.tpl.php +++ b/templates/preview.tpl.php @@ -1,37 +1,32 @@
- -

Steve 模型的皮肤:getTexture('steve') != "") { - echo 'src = "../textures/'.$data['user']->getTexture('steve').'"'; + echo 'src = "../textures/'.$data['user']->getTexture('steve').'"/>

'; } else { - echo 'src = "'.$unuploaded_img.'"'; + echo '/> 未上传

'; } ?> - />

Alex 模型的皮肤:getTexture('alex') != "") { - echo 'src = "../textures/'.$data['user']->getTexture('alex').'"'; + echo 'src = "../textures/'.$data['user']->getTexture('alex').'"/>

'; } else { - echo 'src = "'.$unuploaded_img.'"'; + echo '/> 未上传

'; } ?> - />

披风:getTexture('cape') != "") { - echo 'src = "../textures/'.$data['user']->getTexture('cape').'"'; + echo 'src = "../textures/'.$data['user']->getTexture('cape').'"/>

'; } else { - echo 'src = "'.$unuploaded_img.'"'; + echo '/> 未上传

'; } ?> - />