diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 23:40:28 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 23:40:28 +0000 |
commit | e7155c09c53be09d84b85ad57a8dc58529c10672 (patch) | |
tree | e57b06b261c060bb7a1a9bc9433e3876c1d409c9 /core/views | |
parent | aa437293e6e5404b3beb86a3d0801b509930201c (diff) |
Implement Item_Controller::put() and delete()
Adjust/simplify photo::create
Add image uploading to the scaffolding
Diffstat (limited to 'core/views')
-rw-r--r-- | core/views/welcome.html.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 73620269..19001db6 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -153,6 +153,14 @@ <? endforeach ?> ] photos and albums </p> + <form method="post" action="<?= url::site("album/1") ?>" enctype="multipart/form-data"> + <p> + Upload: <input name="file" type="file"/> + <input type="hidden" name="type" value="photo"/> + <input type="hidden" name="__action" value="put"/> + <input type="submit"/> + </p> + </form> </div> <div id="info" class="activity"> @@ -174,6 +182,7 @@ <? else: ?> <?= html::anchor("welcome/profiler?use_profiler=1", "on") ?> <b>off</b> <? endif ?> + </li> </ul> </div> |