From 8d156610be187427d43f4d033b258f060f8968ad Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 9 Feb 2007 19:02:43 +0000 Subject: reorganize personal demo. --- demos/personal/protected/Pages/Home.page | 22 +--- demos/personal/protected/Pages/Layout.php | 5 - demos/personal/protected/Pages/Layout.tpl | 66 +++++------- demos/personal/protected/Pages/Links.page | 116 ++++++++++---------- demos/personal/protected/Pages/Register.page | 149 +++++++++++++++++++------- demos/personal/protected/Pages/Register.php | 19 ++++ demos/personal/protected/Pages/Resume.page | 126 +++++++++++----------- demos/personal/protected/Pages/UserLogin.page | 19 +--- 8 files changed, 278 insertions(+), 244 deletions(-) create mode 100644 demos/personal/protected/Pages/Register.php (limited to 'demos/personal/protected/Pages') diff --git a/demos/personal/protected/Pages/Home.page b/demos/personal/protected/Pages/Home.page index 2c374229..2ae46032 100644 --- a/demos/personal/protected/Pages/Home.page +++ b/demos/personal/protected/Pages/Home.page @@ -1,27 +1,9 @@ -
-

Login to Site

- - - + - - - - -
- -
- - - or - Create a new account -

-
-
-
+

My Latest Piece of Work

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

diff --git a/demos/personal/protected/Pages/Layout.php b/demos/personal/protected/Pages/Layout.php index f5009542..ba96038b 100644 --- a/demos/personal/protected/Pages/Layout.php +++ b/demos/personal/protected/Pages/Layout.php @@ -2,11 +2,6 @@ class Layout extends TTemplateControl { - public function logout($sender,$param) - { - $this->Application->getModule('auth')->logout(); - $this->Response->redirect($this->Service->constructUrl('Home',null,false)); - } } ?> \ No newline at end of file diff --git a/demos/personal/protected/Pages/Layout.tpl b/demos/personal/protected/Pages/Layout.tpl index 8236be4c..3ffb5306 100644 --- a/demos/personal/protected/Pages/Layout.tpl +++ b/demos/personal/protected/Pages/Layout.tpl @@ -1,60 +1,44 @@ + +
-

Your Name Here

-

My Personal Site

- - - +

Your Name Here

+

My Personal Site

+ + +
- +
- -
- -
+ + + +
+ +
+
- +
- \ No newline at end of file diff --git a/demos/personal/protected/Pages/Links.page b/demos/personal/protected/Pages/Links.page index 2b2e85bc..05d19d3b 100644 --- a/demos/personal/protected/Pages/Links.page +++ b/demos/personal/protected/Pages/Links.page @@ -1,68 +1,68 @@ -

About the Links

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod - tincidunt ut laoreet dolore magna erat volutpat.

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod - tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis - nostrud exercitation consequat. esse molestie consequat, vel willum.

-

Top 5

-
-
Linked site name
+

About the Links

+

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod +tincidunt ut laoreet dolore magna erat volutpat.

+

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod +tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis +nostrud exercitation consequat. esse molestie consequat, vel willum.

+

Top 5

+
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
-

Cool Site Designs

-
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
+

Cool Site Designs

+
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
-

Photo Sites

-
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
+

Photo Sites

+
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
-

Resources

-
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
+

Resources

+
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
Linked site name
-
A description of the web site goes here.
-
Linked site name
-
A description of the web site goes here.
-
+
A description of the web site goes here.
+
Linked site name
+
A description of the web site goes here.
+
\ No newline at end of file diff --git a/demos/personal/protected/Pages/Register.page b/demos/personal/protected/Pages/Register.page index 090d9e65..e8dd2d6f 100644 --- a/demos/personal/protected/Pages/Register.page +++ b/demos/personal/protected/Pages/Register.page @@ -5,46 +5,113 @@

Request an Account

-

Accounts will be activated pending the approval of the Administrator.

- - - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - -
Sign Up for Your New Account
- - - - -
+ +

Accounts will be activated pending the approval of the Administrator.

+ + + +Username +
+ + + + + +
+ +Full name +
+ + +
+ +Password +
+ + + + +
+ +Re-type Password +
+ + + +
+ +Email Address +
+ + + + +
+ +Personal Website +
+ + +
+
+ +
\ No newline at end of file diff --git a/demos/personal/protected/Pages/Register.php b/demos/personal/protected/Pages/Register.php new file mode 100644 index 00000000..b699d859 --- /dev/null +++ b/demos/personal/protected/Pages/Register.php @@ -0,0 +1,19 @@ +IsValid to false if the username is already taken + } + + public function createUser($sender,$param) + { + if($this->IsValid) + { + // create new user account + } + } +} + +?> \ No newline at end of file diff --git a/demos/personal/protected/Pages/Resume.page b/demos/personal/protected/Pages/Resume.page index 06ed845c..d34f105b 100644 --- a/demos/personal/protected/Pages/Resume.page +++ b/demos/personal/protected/Pages/Resume.page @@ -1,80 +1,80 @@ - - - - - - - - - +
Resume Photo
+ + + + + + + + - - - - - - - -
Resume Photo
+ + + + + + + +

Your Name Here

-

resume 1/23/04

-

555-555-1212 fax
- 555-555-1212 voice
- someone@example.com
- www.example.com
- City, State  Country

+

resume 1/23/04

+

555-555-1212 fax
+555-555-1212 voice
+someone@example.com
+www.example.com
+City, State  Country

-

download resume in word format

-

Objective

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

-

Experience

-

1999 - 2004  Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Sed diam nonummy nibh euismod

+

download resume in word format

+

Objective

+

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

+

Experience

+

1999 - 2004  Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+ Sed diam nonummy nibh euismod

- -

1995 - 1999   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+

+

1995 - 1999   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Sed diam nonummy nibh euismod

- -

1993 - 1995   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+ Sed diam nonummy nibh euismod

+ +

1993 - 1995   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Sed diam nonummy nibh euismod

- -

1987 - 1993   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+ Sed diam nonummy nibh euismod

+ +

1987 - 1993   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Sed diam nonummy nibh euismod

- -

Education

+ Sed diam nonummy nibh euismod

+ +

Education

-

1984 - 1987   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Sed diam nonummy nibh euismod

- +

1984 - 1987   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+Sed diam nonummy nibh euismod

+ -

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

+

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

\ No newline at end of file diff --git a/demos/personal/protected/Pages/UserLogin.page b/demos/personal/protected/Pages/UserLogin.page index 8fb6019b..b87aa8fb 100644 --- a/demos/personal/protected/Pages/UserLogin.page +++ b/demos/personal/protected/Pages/UserLogin.page @@ -1,18 +1,5 @@ -Username: - - -
-Password:
- - - + + +
\ No newline at end of file -- cgit v1.2.3