Add embedded and public view compatibility.
Remove Utils method
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||||
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%
|
||||
User user = Utils.getUser(request);
|
||||
User user = Utils.getUser(false);
|
||||
request.setAttribute("principal", user);
|
||||
|
||||
UserAgent userAgent = null;
|
||||
|
@@ -45,12 +45,12 @@
|
||||
</div>
|
||||
<label><spring:message code="BLOG_SNIPPET"/></label>
|
||||
<pre id="embedCode"><iframe style="width:600px;height:400px;border: 1px
|
||||
solid black" src="http://www.wisemapping.com/c/maps/${mindmap.id}/embed?zoom=1"> </iframe></pre>
|
||||
solid black" src="${baseUrl}/c/maps/${mindmap.id}/embed?zoom=1"> </iframe></pre>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="publicUrlTab">
|
||||
<spring:message code="URL"/>:
|
||||
<input name="url" value="???"
|
||||
<input name="url" value="${baseUrl}/c/maps/${mindmap.id}/public"
|
||||
style="width:400px"
|
||||
readonly="readonly"/>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user