summaryrefslogtreecommitdiff
path: root/demos/hangman/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'demos/hangman/protected/pages')
-rw-r--r--demos/hangman/protected/pages/Home.page (renamed from demos/hangman/protected/pages/HomePage.tpl)2
-rw-r--r--demos/hangman/protected/pages/Home.php (renamed from demos/hangman/protected/pages/HomePage.php)2
-rw-r--r--demos/hangman/protected/pages/words.txt27
3 files changed, 29 insertions, 2 deletions
diff --git a/demos/hangman/protected/pages/HomePage.tpl b/demos/hangman/protected/pages/Home.page
index 69f7f4d2..03aed1d3 100644
--- a/demos/hangman/protected/pages/HomePage.tpl
+++ b/demos/hangman/protected/pages/Home.page
@@ -1,4 +1,4 @@
-<%@ MasterClass="Pages.Layout" Title="Prado Hangman Game" %>
+<%@ MasterClass="Application.pages.Layout" Title="Prado Hangman Game" %>
<com:TContent ID="body" >
<com:TForm>
<h1>Prado Hangman Game</h1>
diff --git a/demos/hangman/protected/pages/HomePage.php b/demos/hangman/protected/pages/Home.php
index 6e0388bc..0c87d12f 100644
--- a/demos/hangman/protected/pages/HomePage.php
+++ b/demos/hangman/protected/pages/Home.php
@@ -1,6 +1,6 @@
<?php
-class HomePage extends TPage
+class Home extends TPage
{
const EASY_LEVEL=10;
const MEDIUM_LEVEL=5;
diff --git a/demos/hangman/protected/pages/words.txt b/demos/hangman/protected/pages/words.txt
new file mode 100644
index 00000000..80814580
--- /dev/null
+++ b/demos/hangman/protected/pages/words.txt
@@ -0,0 +1,27 @@
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+PRADO is an event-driven and component-based framework
+for Web application development in PHP 5.
+
+Components following the PRADO protocol are highly
+configurable and reusable. Properties defining
+the basic features of a component can be configured
+in specifications, templates or code.
+New components can be developed by either inheriting
+an existing component class or composing several
+components together. The work of using a component
+amounts to placing the component tag on the page template,
+configuring component properties, and writing handler
+functions to respond to component events.
+
+PRADO shares many similarities with ASP.NET and other
+RAD tools for Windows GUI development, such as Borland Delphi.
+In particular, it supports event-driven programming,
+viewstate maintenance, javascript, template, form validations, etc. \ No newline at end of file