diff options
Diffstat (limited to 'demos/controls/protected')
-rw-r--r-- | demos/controls/protected/pages/HomePage.tpl | 2 | ||||
-rw-r--r-- | demos/controls/protected/pages/private/MemberPage.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl index 3e31801f..c7b35f02 100644 --- a/demos/controls/protected/pages/HomePage.tpl +++ b/demos/controls/protected/pages/HomePage.tpl @@ -1,5 +1,5 @@ <com:TForm>
-<h1>Welcome! <%=$this->Application->User->Name %></h1>
+<h1>Welcome! <%=$this->User->Name %></h1>
<com:TLiteral Text="literal" />
<com:TTextBox Text="textbox" />
<com:TLabel Text="label" /><br/>
diff --git a/demos/controls/protected/pages/private/MemberPage.tpl b/demos/controls/protected/pages/private/MemberPage.tpl index cf92f22c..a19c934c 100644 --- a/demos/controls/protected/pages/private/MemberPage.tpl +++ b/demos/controls/protected/pages/private/MemberPage.tpl @@ -1,5 +1,5 @@ <com:TForm>
-Congratulations, <com:TLabel Text=<%=$this->Application->User->Name%> />!<br/>
+Congratulations, <com:TLabel Text=<%=$this->User->Name%> />!<br/>
<%=
$this->Application->User->Name;
%>
|