summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Portlets/LoginPortlet.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog/protected/Portlets/LoginPortlet.tpl')
-rw-r--r--demos/blog/protected/Portlets/LoginPortlet.tpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/demos/blog/protected/Portlets/LoginPortlet.tpl b/demos/blog/protected/Portlets/LoginPortlet.tpl
index 6f8c5d4a..f2ac7f36 100644
--- a/demos/blog/protected/Portlets/LoginPortlet.tpl
+++ b/demos/blog/protected/Portlets/LoginPortlet.tpl
@@ -23,13 +23,19 @@ Password
<br/>
<com:TTextBox ID="Password" TextMode="Password" />
-<br/>
+<br/><br/>
+
<com:TLinkButton
ID="LoginButton"
Text="Login"
ValidationGroup="login"
+ CssClass="link-button"
OnClick="loginButtonClicked" />
-| <a href="<%= $this->Service->constructUrl('Users.NewUser') %>">Register</a>
+<com:THyperLink
+ Text="Register"
+ NavigateUrl=<%= $this->Service->constructUrl('Users.NewUser') %>
+ Visible=<%= TPropertyValue::ensureBoolean($this->Application->Parameters['MultipleUser']) %>
+ CssClass="link-button" />
</com:TPanel><!-- end of portlet-content -->