summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page
diff options
context:
space:
mode:
authorxue <>2007-05-28 00:58:40 +0000
committerxue <>2007-05-28 00:58:40 +0000
commit82a351192f38cc73268ea7de7a48e2e0425d5cbf (patch)
tree2d91629f8e5c48bb1e26aef8f420d0e95b4f2bb9 /demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page
parent87b0b5735f95afb8a59124e3007bd6e6d95d3e48 (diff)
Fixed a bug when using renderer in TWizard's sidebar.
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page')
-rw-r--r--demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page6
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page b/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page
index 055ea62b..c2e2db86 100644
--- a/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page
+++ b/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page
@@ -15,6 +15,10 @@ To determine which user account is to be editted, we use the following policy:
<li>If the current user is a normal user, he can only edit his own account information, and he cannot modify his role data.</li>
</ul>
+<p>
+We create two files <tt>protected/pages/users/EditUser.page</tt> and <tt>protected/pages/users/EditUser.php</tt> to save the page template and page class, respectively.
+</p>
+
<h2>Creating Page Template</h2>
<p>
As you may have guessed, the page template <tt>EditUser</tt> is largely the same as that of <tt>NewUser</tt>. Besides the difference in page title and the caption of the submit button, there are three main differences.
@@ -30,7 +34,7 @@ As you may have guessed, the page template <tt>EditUser</tt> is largely the same
&lt;%@ Title="My Blog - Edit User" %>
&lt;com:TContent ID="Main">
-
+
<h1>Edit User</h1>
<span>Username:</span>