From 05869f23f798c9393e2bc6d310d56a97a11d1acd Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 29 May 2006 02:05:19 +0000 Subject: Added blog demo (not done yet) --- demos/blog/protected/Pages/Admin/AdminMenu.php | 7 ++ demos/blog/protected/Pages/Admin/AdminMenu.tpl | 16 +++ demos/blog/protected/Pages/Admin/ConfigMan.page | 56 ++++++++++ demos/blog/protected/Pages/Admin/ConfigMan.php | 15 +++ demos/blog/protected/Pages/Admin/PostMan.page | 76 ++++++++++++++ demos/blog/protected/Pages/Admin/PostMan.php | 56 ++++++++++ demos/blog/protected/Pages/Admin/Settings.page | 4 + demos/blog/protected/Pages/Admin/UserMan.page | 95 +++++++++++++++++ demos/blog/protected/Pages/Admin/UserMan.php | 58 +++++++++++ demos/blog/protected/Pages/Admin/config.xml | 8 ++ demos/blog/protected/Pages/ErrorReport.page | 15 +++ demos/blog/protected/Pages/ErrorReport.php | 12 +++ demos/blog/protected/Pages/Posts/EditCategory.page | 36 +++++++ demos/blog/protected/Pages/Posts/EditCategory.php | 44 ++++++++ demos/blog/protected/Pages/Posts/EditPost.page | 41 ++++++++ demos/blog/protected/Pages/Posts/EditPost.php | 51 ++++++++++ demos/blog/protected/Pages/Posts/ListPost.page | 27 +++++ demos/blog/protected/Pages/Posts/ListPost.php | 44 ++++++++ demos/blog/protected/Pages/Posts/MyPost.page | 46 +++++++++ demos/blog/protected/Pages/Posts/MyPost.php | 34 +++++++ demos/blog/protected/Pages/Posts/NewCategory.page | 36 +++++++ demos/blog/protected/Pages/Posts/NewCategory.php | 24 +++++ demos/blog/protected/Pages/Posts/NewPost.page | 41 ++++++++ demos/blog/protected/Pages/Posts/NewPost.php | 34 +++++++ demos/blog/protected/Pages/Posts/ViewPost.page | 113 +++++++++++++++++++++ demos/blog/protected/Pages/Posts/ViewPost.php | 73 +++++++++++++ demos/blog/protected/Pages/Posts/config.xml | 7 ++ demos/blog/protected/Pages/Users/EditUser.page | 74 ++++++++++++++ demos/blog/protected/Pages/Users/EditUser.php | 43 ++++++++ demos/blog/protected/Pages/Users/NewUser.page | 104 +++++++++++++++++++ demos/blog/protected/Pages/Users/NewUser.php | 31 ++++++ demos/blog/protected/Pages/Users/ViewUser.page | 21 ++++ demos/blog/protected/Pages/Users/ViewUser.php | 19 ++++ demos/blog/protected/Pages/Users/config.xml | 7 ++ 34 files changed, 1368 insertions(+) create mode 100644 demos/blog/protected/Pages/Admin/AdminMenu.php create mode 100644 demos/blog/protected/Pages/Admin/AdminMenu.tpl create mode 100644 demos/blog/protected/Pages/Admin/ConfigMan.page create mode 100644 demos/blog/protected/Pages/Admin/ConfigMan.php create mode 100644 demos/blog/protected/Pages/Admin/PostMan.page create mode 100644 demos/blog/protected/Pages/Admin/PostMan.php create mode 100644 demos/blog/protected/Pages/Admin/Settings.page create mode 100644 demos/blog/protected/Pages/Admin/UserMan.page create mode 100644 demos/blog/protected/Pages/Admin/UserMan.php create mode 100644 demos/blog/protected/Pages/Admin/config.xml create mode 100644 demos/blog/protected/Pages/ErrorReport.page create mode 100644 demos/blog/protected/Pages/ErrorReport.php create mode 100644 demos/blog/protected/Pages/Posts/EditCategory.page create mode 100644 demos/blog/protected/Pages/Posts/EditCategory.php create mode 100644 demos/blog/protected/Pages/Posts/EditPost.page create mode 100644 demos/blog/protected/Pages/Posts/EditPost.php create mode 100644 demos/blog/protected/Pages/Posts/ListPost.page create mode 100644 demos/blog/protected/Pages/Posts/ListPost.php create mode 100644 demos/blog/protected/Pages/Posts/MyPost.page create mode 100644 demos/blog/protected/Pages/Posts/MyPost.php create mode 100644 demos/blog/protected/Pages/Posts/NewCategory.page create mode 100644 demos/blog/protected/Pages/Posts/NewCategory.php create mode 100644 demos/blog/protected/Pages/Posts/NewPost.page create mode 100644 demos/blog/protected/Pages/Posts/NewPost.php create mode 100644 demos/blog/protected/Pages/Posts/ViewPost.page create mode 100644 demos/blog/protected/Pages/Posts/ViewPost.php create mode 100644 demos/blog/protected/Pages/Posts/config.xml create mode 100644 demos/blog/protected/Pages/Users/EditUser.page create mode 100644 demos/blog/protected/Pages/Users/EditUser.php create mode 100644 demos/blog/protected/Pages/Users/NewUser.page create mode 100644 demos/blog/protected/Pages/Users/NewUser.php create mode 100644 demos/blog/protected/Pages/Users/ViewUser.page create mode 100644 demos/blog/protected/Pages/Users/ViewUser.php create mode 100644 demos/blog/protected/Pages/Users/config.xml (limited to 'demos/blog/protected/Pages') diff --git a/demos/blog/protected/Pages/Admin/AdminMenu.php b/demos/blog/protected/Pages/Admin/AdminMenu.php new file mode 100644 index 00000000..40f40b88 --- /dev/null +++ b/demos/blog/protected/Pages/Admin/AdminMenu.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/demos/blog/protected/Pages/Admin/AdminMenu.tpl b/demos/blog/protected/Pages/Admin/AdminMenu.tpl new file mode 100644 index 00000000..596f3ed2 --- /dev/null +++ b/demos/blog/protected/Pages/Admin/AdminMenu.tpl @@ -0,0 +1,16 @@ +
\ No newline at end of file diff --git a/demos/blog/protected/Pages/Admin/ConfigMan.page b/demos/blog/protected/Pages/Admin/ConfigMan.page new file mode 100644 index 00000000..ad728284 --- /dev/null +++ b/demos/blog/protected/Pages/Admin/ConfigMan.page @@ -0,0 +1,56 @@ ++<%= $this->ErrorMessage %> +
+ ++Please report to us +if you believe this error is caused by our system. Thanks! +
+ + +
Comments
+ +Leave your comment
+ +Name ++
+ +Email address +
+
+ +Personal website +
+
+ +Comment +
+
+ +