diff options
Diffstat (limited to 'demos/helloworld/protected')
-rw-r--r-- | demos/helloworld/protected/.htaccess | 1 | ||||
-rw-r--r-- | demos/helloworld/protected/pages/Home.page | 16 | ||||
-rw-r--r-- | demos/helloworld/protected/pages/Home.php | 11 |
3 files changed, 28 insertions, 0 deletions
diff --git a/demos/helloworld/protected/.htaccess b/demos/helloworld/protected/.htaccess new file mode 100644 index 00000000..e0198322 --- /dev/null +++ b/demos/helloworld/protected/.htaccess @@ -0,0 +1 @@ +deny from all
diff --git a/demos/helloworld/protected/pages/Home.page b/demos/helloworld/protected/pages/Home.page new file mode 100644 index 00000000..97702e67 --- /dev/null +++ b/demos/helloworld/protected/pages/Home.page @@ -0,0 +1,16 @@ +<html>
+
+<head>
+<title>Hello World Demo - Prado</title>
+</head>
+
+<body>
+
+<com:TForm>
+
+<com:TButton Text="Click me" OnClick="buttonClicked" />
+
+</com:TForm>
+
+</body>
+</html>
\ No newline at end of file diff --git a/demos/helloworld/protected/pages/Home.php b/demos/helloworld/protected/pages/Home.php new file mode 100644 index 00000000..432c2ee7 --- /dev/null +++ b/demos/helloworld/protected/pages/Home.php @@ -0,0 +1,11 @@ +<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $sender->Text="Hello World!";
+ }
+}
+
+?>
\ No newline at end of file |