Mercurial > hg > Members > shoshi > webvirt
diff app/views/icon/edit_icon.ctp @ 4:c3adb28473d6 default tip
modified icon feature
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 16 Aug 2011 18:31:36 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/icon/edit_icon.ctp Tue Aug 16 18:31:36 2011 +0900 @@ -0,0 +1,14 @@ +<h2>Icon::EditIcon</h2> +<h4>Current icon</h4> +<img src="index?uuid=<?php echo $uuid; ?>" /> +<h4>Upload icon</h4> +<form action="./SaveIcon" method="POST" enctype="multipart/form-data"> + <input type="hidden" name="uuid" value="<?php echo $uuid; ?>"/> + <input type="file" name="icon"/> + <input type="submit" name="submit" value="upload"/> +</form> +<h4>Delete icon</h4> +<form action="./DeleteIcon" method="POST"> + <input type="hidden" name="uuid" value="<?php echo $uuid; ?>"/> + <input type="submit" name="submit" value="delete"/> +</form>