hotspotlogin 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/lib/hotspotlogin/app.rb
CHANGED
@@ -195,6 +195,7 @@ module HotSpotLogin
|
|
195
195
|
:custom_text => HotSpotLogin.config['custom-text'],
|
196
196
|
:custom_footer => HotSpotLogin.config['custom-footer'],
|
197
197
|
:logoext => logoext,
|
198
|
+
:logo_link => HotSpotLogin.config['logo-link'],
|
198
199
|
:result => result,
|
199
200
|
:reply => params['reply'] # Reply-Message
|
200
201
|
}
|
data/views/hotspotlogin.erb
CHANGED
@@ -11,7 +11,11 @@
|
|
11
11
|
<h1><%= custom_headline %></h1>
|
12
12
|
<% end %>
|
13
13
|
<% if logoext %>
|
14
|
-
<div id="logo-container"
|
14
|
+
<div id="logo-container">
|
15
|
+
<% if logo_link =~ /\S/ %><a href="<%= logo_link %>" target="_blank"><% end %>
|
16
|
+
<img src="/hotspotlogin/logo<%= logoext %>"/>
|
17
|
+
<% if logo_link =~ /\S/ %></a><% end %>
|
18
|
+
</div>
|
15
19
|
<% end %>
|
16
20
|
|
17
21
|
<h2 id="headline"><%= titel %></h2>
|