summaryrefslogtreecommitdiff
path: root/demos/blog
diff options
context:
space:
mode:
authorxue <>2006-05-31 01:47:08 +0000
committerxue <>2006-05-31 01:47:08 +0000
commit652bffab24bab354d9e3022b22866640f4fd4a0e (patch)
tree4af511b9928387713f68a3ab279e7e3dc2980021 /demos/blog
parentbf900e824f2c661df6380fd0360c13377da58bae (diff)
Fixed a bug that newly created controls during postbacks may get their initial states reset during loadStateRecursive.
Diffstat (limited to 'demos/blog')
-rw-r--r--demos/blog/protected/Pages/ErrorReport.page2
-rw-r--r--demos/blog/protected/Pages/Posts/ListPost.php1
-rw-r--r--demos/blog/protected/Pages/SearchPost.page2
3 files changed, 5 insertions, 0 deletions
diff --git a/demos/blog/protected/Pages/ErrorReport.page b/demos/blog/protected/Pages/ErrorReport.page
index 3a068e3c..90c659e8 100644
--- a/demos/blog/protected/Pages/ErrorReport.page
+++ b/demos/blog/protected/Pages/ErrorReport.page
@@ -1,3 +1,5 @@
+<%@ Title="Error" %>
+
<com:TContent ID="Main">
<h2>Error</h2>
diff --git a/demos/blog/protected/Pages/Posts/ListPost.php b/demos/blog/protected/Pages/Posts/ListPost.php
index 8c51546f..c3b2bcc9 100644
--- a/demos/blog/protected/Pages/Posts/ListPost.php
+++ b/demos/blog/protected/Pages/Posts/ListPost.php
@@ -36,6 +36,7 @@ class ListPost extends BlogPage
$this->_category=$this->DataAccess->queryCategoryByID($catID);
$this->CategoryPanel->Visible=true;
}
+ $this->Title=$this->Application->Parameters['SiteTitle'];
}
private function getPageOffset()
diff --git a/demos/blog/protected/Pages/SearchPost.page b/demos/blog/protected/Pages/SearchPost.page
index e3a71d44..6a4b2e04 100644
--- a/demos/blog/protected/Pages/SearchPost.page
+++ b/demos/blog/protected/Pages/SearchPost.page
@@ -1,3 +1,5 @@
+<%@ Title="Search Results" %>
+
<com:TContent ID="Main">
<div class="search-title">