diff options
author | xue <> | 2007-04-08 21:33:23 +0000 |
---|---|---|
committer | xue <> | 2007-04-08 21:33:23 +0000 |
commit | ff32eed01f783ee33caeacb0f7315612f0994f8f (patch) | |
tree | 7b42ed14181d56632160f88f8063b54b17f176af /demos/blog-tutorial/protected/pages/Day1/ShareLayout.page | |
parent | 773bf1d0299246d936dcad2ac2ca01bca9d64ca4 (diff) |
Added Day 2 tutorial.
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day1/ShareLayout.page')
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day1/ShareLayout.page | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page b/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page index 548cec1c..d3d1f553 100644 --- a/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page +++ b/demos/blog-tutorial/protected/pages/Day1/ShareLayout.page @@ -17,7 +17,7 @@ It is also possible to share common layout via <a href="http://www.pradosoft.com We now create the master control <tt>MainLayout</tt> to represent the common layout shared by our blog pages. The <tt>MainLayout</tt> control is a template control extending from <tt>TTemplateControl</tt>. It requires a template file <tt>MainLayout.tpl</tt> and a class file <tt>MainLayout.php</tt> located under the same directory. To facilitate maintenance, we create a new directory <tt>protected/layouts</tt> to hold them.
</p>
-<img src="<%~ directories3.gif %>" />
+<img src="<%~ directories3.gif %>" class="output" />
<p>
For the moment, <tt>MainLayout</tt> only contains a simple header and a footer, as shown in the following. In future, we will add a side-bar to it. Readers are also encouraged to enhance the layout with other features.
@@ -38,7 +38,7 @@ For the moment, <tt>MainLayout</tt> only contains a simple header and a footer, </div>
<div id="footer">
-Powered by <%= PRADO::poweredByPrado() %>
+<%= PRADO::poweredByPrado() %>
</div>
</com:TForm>
|