Skip to content
Snippets Groups Projects
Commit dc5470be authored by Andrea Biancini's avatar Andrea Biancini
Browse files

Merge pull request #13 from malavolti/master

Bug Fixing
parents b75fba85 d0826921
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ if options.checkLdap:
validAttrs = False
# Search a valid string in the SP page and if found return 0 otherwise 2.
if not "Politica della privacy" in html:
if not "Politica della Privacy".lower() in html.lower:
print "CRITICAL error while logging in user"
sys.exit(2)
elif validAttrs:
......
......@@ -18,7 +18,7 @@
<table width="100%" border="0">
<tbody>
<tr>
<td align="left"><a href="lockuser.php" target="_self"><img src="phpldapadmin/images/default/logo-small.png" alt="Logo" class="logo"></a></td>
<td align="left"><a href="<%= @metadata_information[lang]['orgUrl'] %>" target="_self"><img src="phpldapadmin/images/default/logo-small.png" alt="Logo" class="logo"></a></td>
<td class="imagetop">&nbsp;</td>
</tr>
</tbody>
......
......@@ -138,14 +138,14 @@
if v.is_a?(Hash) and lang != "en"
%>
<c:when test="${language == '<%=lang%>'}">
<a id="logolink" class="logo" href="<%= @metadata_information[lang]['idpInfoUrl'] %>"><img id="logoimg" src="<%= @metadata_information[lang]['url_LogoOrg_160x120']%>" alt="<%= @metadata_information[lang]['orgDisplayName']%>"/></a><br/><%= @metadata_information[lang]['orgDisplayName']%>
<a id="logolink" class="logo" href="<%= @metadata_information[lang]['orgUrl'] %>"><img id="logoimg" src="<%= @metadata_information[lang]['url_LogoOrg_160x120']%>" alt="<%= @metadata_information[lang]['orgDisplayName']%>"/></a><br/><%= @metadata_information[lang]['orgDisplayName']%>
</c:when>
<%
end
end
%>
<c:otherwise>
<a id="logolink" class="logo" href="<%= @metadata_information['en']['idpInfoUrl'] %>"><img id="logoimg" src="<%= @metadata_information['en']['url_LogoOrg_160x120']%>" alt="<%= @metadata_information['en']['orgDisplayName']%>"/></a><br/><%= @metadata_information['en']['orgDisplayName']%>
<a id="logolink" class="logo" href="<%= @metadata_information['en']['orgUrl'] %>"><img id="logoimg" src="<%= @metadata_information['en']['url_LogoOrg_160x120']%>" alt="<%= @metadata_information['en']['orgDisplayName']%>"/></a><br/><%= @metadata_information['en']['orgDisplayName']%>
</c:otherwise>
</c:choose>
<%% } %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment