diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TFileUpload')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TFileUpload/Home.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TFileUpload/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TFileUpload/Home.php index d5cf990a..29d05a1c 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TFileUpload/Home.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TFileUpload/Home.php @@ -1,21 +1,21 @@ -<?php
-
-class Home extends TPage
-{
- public function fileUploaded($sender,$param)
- {
- if($sender->HasFile)
- {
- $this->Result->Text="
- You just uploaded a file:
- <br/>
- Name: {$sender->FileName}
- <br/>
- Size: {$sender->FileSize}
- <br/>
- Type: {$sender->FileType}";
- }
- }
-}
-
+<?php + +class Home extends TPage +{ + public function fileUploaded($sender,$param) + { + if($sender->HasFile) + { + $this->Result->Text=" + You just uploaded a file: + <br/> + Name: {$sender->FileName} + <br/> + Size: {$sender->FileSize} + <br/> + Type: {$sender->FileType}"; + } + } +} + ?>
\ No newline at end of file |