diff options
author | xue <> | 2007-05-14 11:40:22 +0000 |
---|---|---|
committer | xue <> | 2007-05-14 11:40:22 +0000 |
commit | 82621f4f0a7e47314222fa3b21a0745425e1248b (patch) | |
tree | 9569f0c1aa7f6a4d52743c4f568bc5c2665d5067 /demos/providers/protected/pages | |
parent | 7429863609d6c5708b4414d3619bdf152de2ea16 (diff) |
moving unfinished files to dev branch.
Diffstat (limited to 'demos/providers/protected/pages')
-rw-r--r-- | demos/providers/protected/pages/Home.page | 55 | ||||
-rw-r--r-- | demos/providers/protected/pages/Home.php | 27 |
2 files changed, 0 insertions, 82 deletions
diff --git a/demos/providers/protected/pages/Home.page b/demos/providers/protected/pages/Home.page deleted file mode 100644 index 5fb47aa3..00000000 --- a/demos/providers/protected/pages/Home.page +++ /dev/null @@ -1,55 +0,0 @@ -<h1>Provider Demo</h1> -<com:TForm> -<fieldset> -<legend>Vertical - TextOnLeft</legend> - <com:TValidationSummary - HeaderText="Login Failed Because:" - Display="None" - ValidationGroup="LoginCtrlVerticalTextOnLeft"/> - <com:TLogin - ID="LoginCtrlVerticalTextOnLeft" - Orientation="Vertical" - TextLayout="TextOnLeft" - MembershipProvider="SqlMembershipProvider"/> -</fieldset> - -<fieldset> -<legend>Vertical - TextOnTop</legend> - <com:TValidationSummary - HeaderText="Login Failed Because:" - Display="None" - ValidationGroup="LoginCtrlVerticalTextOnTop"/> - <com:TLogin - ID="LoginCtrlVerticalTextOnTop" - Orientation="Vertical" - TextLayout="TextOnTop" - MembershipProvider="SqlMembershipProvider"/> -</fieldset> - -<fieldset> -<legend>Horizontal - TextOnLeft</legend> - <com:TValidationSummary - HeaderText="Login Failed Because:" - Display="None" - ValidationGroup="LoginCtrlHorizontalTextOnLeft"/> - <com:TLogin - ID="LoginCtrlHorizontalTextOnLeft" - Orientation="Horizontal" - TextLayout="TextOnLeft" - MembershipProvider="SqlMembershipProvider"/> -</fieldset> - -<fieldset> -<legend>Horizontal - TextOnTop</legend> - <com:TValidationSummary - HeaderText="Login Failed Because:" - Display="None" - ValidationGroup="LoginCtrlHorizontalTextOnTop"/> - <com:TLogin - ID="LoginCtrlHorizontalTextOnTop" - Orientation="Horizontal" - TextLayout="TextOnTop" - MembershipProvider="SqlMembershipProvider"/> -</fieldset> - -</com:TForm>
\ No newline at end of file diff --git a/demos/providers/protected/pages/Home.php b/demos/providers/protected/pages/Home.php deleted file mode 100644 index 0c6320e4..00000000 --- a/demos/providers/protected/pages/Home.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -class Home extends TPage -{ - public function OnLoad($param) - { - Prado::using('System.Util.TVarDumper'); - Prado::using('System.Web.Security.TSqlMembershipProvider'); - Prado::using('System.Configuration.TProtectedConfiguration'); - - // Access by provider id - // $MembershipProvider = $this->Application->getModule('MembershipProvider')->getProvider('SqlMembershipProvider'); - - - /* @VAR $MembershipProvider TSqlMembershipProvider */ - // $MembershipProvider = $this->Application->getModule('MembershipProvider')->Provider; - // echo TVarDumper::dump($MembershipProvider,10,true); - - /* @VAR $RoleProvider TSqlRoleProvider */ - // $RoleProvider = $this->Application->getModule('RoleProvider')->Provider; - // echo TVarDumper::dump($RoleProvider,10,true); - - /* @VAR $FormsAuthentication TFormsAuthenticationModule */ - $FormsAuthentication = $this->Application->getModule('FormsAuthentication'); - // echo TVarDumper::dump($FormsAuthentication,10,true); - } -} -?>
\ No newline at end of file |