diff options
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 |