mirror of https://github.com/zlatinb/muwire
Merge branch 'hotfix/0.8.7'
commit
2f1217c1b5
|
@ -13,6 +13,7 @@ String pagetitle=Util._t("About Me");
|
|||
String helptext = Util._t("This page shows information about your MuWire identity.");
|
||||
|
||||
Core core = (Core) application.getAttribute("core");
|
||||
String shortId = Util.escapeHTMLinXML(core.getMe().getHumanReadableName());
|
||||
|
||||
%>
|
||||
|
||||
|
@ -36,7 +37,7 @@ openAccordion = 3;
|
|||
</aside>
|
||||
<section class="main foldermain">
|
||||
<h3><%=Util._t("MuWire ID")%></h3>
|
||||
<p><%=Util._t("Your short MuWire ID: {0}", core.getMe().getHumanReadableName())%></p>
|
||||
<p><%=Util._t("Your short MuWire ID: {0}", shortId)%></p>
|
||||
<p><%=Util._t("Your full MuWire ID:")%></p>
|
||||
<p><textarea class="fullId" id="full-id" readonly><%=core.getMe().toBase64()%></textarea></p>
|
||||
<p><a href='#' onclick="window.copyFullId();return false;"><%=Util._t("Copy to clipboard")%></a></p>
|
||||
|
|
|
@ -14,7 +14,7 @@ String helptext = Util._t("Use this page to browse the files shared by other MuW
|
|||
String currentBrowse = null;
|
||||
if (request.getParameter("currentHost") != null) {
|
||||
Persona host = new Persona(new ByteArrayInputStream(Base64.decode(request.getParameter("currentHost"))));
|
||||
currentBrowse = host.getHumanReadableName();
|
||||
currentBrowse = Util.escapeHTMLinXML(host.getHumanReadableName());
|
||||
}
|
||||
|
||||
%>
|
||||
|
|
|
@ -11,7 +11,7 @@ String helptext = Util._t("View details about the selected shared file here.");
|
|||
|
||||
String path = request.getParameter("path");
|
||||
File file = Util.getFromPathElements(path);
|
||||
|
||||
String filePath = Util.escapeHTMLinXML(file.getAbsolutePath());
|
||||
%>
|
||||
|
||||
<html>
|
||||
|
@ -31,7 +31,7 @@ File file = Util.getFromPathElements(path);
|
|||
<%@include file="sidebar.jsi"%>
|
||||
</aside>
|
||||
<section class="main foldermain">
|
||||
<h2><%=Util._t("Details for {0}", file.getAbsolutePath())%></h2>
|
||||
<h2><%=Util._t("Details for {0}", filePath)%></h2>
|
||||
<h3><%=Util._t("Search Hits")%></h3>
|
||||
<div id="table-wrapper">
|
||||
<div id="table-scroll">
|
||||
|
|
Loading…
Reference in New Issue