From b87fd00a62994d24a3708cec5f5613ed2e9a67ed Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 30 May 2006 21:26:29 +0000 Subject: merge from 3.0 branch till 1111. --- demos/blog/protected/Pages/Admin/ConfigMan.page | 10 ++++++++++ demos/blog/protected/Pages/Admin/ConfigMan.php | 2 ++ 2 files changed, 12 insertions(+) (limited to 'demos/blog/protected/Pages/Admin') diff --git a/demos/blog/protected/Pages/Admin/ConfigMan.page b/demos/blog/protected/Pages/Admin/ConfigMan.page index 69ee0899..5c6cd53d 100644 --- a/demos/blog/protected/Pages/Admin/ConfigMan.page +++ b/demos/blog/protected/Pages/Admin/ConfigMan.page @@ -56,6 +56,16 @@ Text="Please enter a number." />
+Number of recent comments shown + + +
+
diff --git a/demos/blog/protected/Pages/Admin/ConfigMan.php b/demos/blog/protected/Pages/Admin/ConfigMan.php index 6443e5a0..e4b89b3c 100644 --- a/demos/blog/protected/Pages/Admin/ConfigMan.php +++ b/demos/blog/protected/Pages/Admin/ConfigMan.php @@ -34,6 +34,7 @@ class ConfigMan extends BlogPage $this->MultipleUser->Checked=TPropertyValue::ensureBoolean($parameters['MultipleUser']); $this->AccountApproval->Checked=TPropertyValue::ensureBoolean($parameters['AccountApproval']); $this->PostPerPage->Text=$parameters['PostPerPage']; + $this->RecentComments->Text=$parameters['RecentComments']; $this->PostApproval->Checked=TPropertyValue::ensureBoolean($parameters['PostApproval']); $themes=$this->Service->ThemeManager->AvailableThemes; $this->ThemeName->DataSource=$themes; @@ -55,6 +56,7 @@ class ConfigMan extends BlogPage $elements[]=$this->createParameter('MultipleUser',$this->MultipleUser->Checked); $elements[]=$this->createParameter('AccountApproval',$this->AccountApproval->Checked); $elements[]=$this->createParameter('PostPerPage',$this->PostPerPage->Text); + $elements[]=$this->createParameter('RecentComments',$this->RecentComments->Text); $elements[]=$this->createParameter('PostApproval',$this->PostApproval->Checked); $themeName=$this->ThemeName->SelectedItem->Text; $elements[]=$this->createParameter('ThemeName',$themeName); -- cgit v1.2.3