summaryrefslogtreecommitdiff
path: root/demos/controls/protected
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls/protected')
-rw-r--r--demos/controls/protected/pages/HomePage.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
index 322f28a1..1e6f82ea 100644
--- a/demos/controls/protected/pages/HomePage.tpl
+++ b/demos/controls/protected/pages/HomePage.tpl
@@ -5,8 +5,8 @@
<com:TLabel Text="label" /><br/>
<com:System.Web.UI.WebControls.TButton text="Toggle Button" ForeColor="red" Font.size="18" Click="testClick" /> (requires membership)<br/>
<com:TCheckBox Text="Checkbox" /><br/>
-<com:TImage ImageUrl=<%=$this->TemplateControl->getAsset('fungii_logo.gif') %> />
-<com:TImageButton ImageUrl=<%=$this->TemplateControl->getAsset('fungii_logo.gif')%> /><br/>
+<com:TImage ImageUrl=<%=$this->Page->getAsset('fungii_logo.gif') %> />
+<com:TImageButton ImageUrl=<%=$this->Page->getAsset('fungii_logo.gif')%> /><br/>
<com:THyperLink Text="Visit a 'classless' page" NavigateUrl="?sp=page.plain" /> |
<com:THyperLink Text="Visit member only page" NavigateUrl="?sp=page.private.member" />
</com:TForm> \ No newline at end of file