help text for each page

This commit is contained in:
Zlatin Balevsky
2020-03-28 23:33:11 +00:00
parent 50148e5603
commit d111983d68
15 changed files with 37 additions and 8 deletions

View File

@ -10,6 +10,8 @@
<%
String pagetitle=Util._t("About Me");
String helptext = Util._t("This page shows information about your MuWire identity");
Core core = (Core) application.getAttribute("core");
%>

View File

@ -6,6 +6,7 @@
<%
String pagetitle=Util._t("Advanced Sharing");
String helptext = Util._t("On this page you can configure advanced settings for each shared directory.");
%>

View File

@ -9,6 +9,7 @@
<%
String pagetitle=Util._t("Browse Host");
String helptext = Util._t("On this page you can browse the files shared by other MuWire users");
String currentBrowse = null;
if (request.getParameter("currentHost") != null) {

View File

@ -12,6 +12,8 @@
<%
String pagetitle=Util._t("Configuration");
String helptext = Util._t("On this page you can change various MuWire options");
Core core = (Core) application.getAttribute("core");
String inboundLength = core.getI2pOptions().getProperty("inbound.length");

View File

@ -10,7 +10,10 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="initcode.jsi"%>
<% String pagetitle=Util._t("Downloads"); %>
<%
String pagetitle=Util._t("Downloads");
String helptext = Util._t("This page shows files which you are currently downloading from other MuWire users.");
%>
<html>
<head>

View File

@ -6,6 +6,10 @@
<%
String pagetitle=Util._t("Feeds");
String helptext = Util._t("Every MuWire user can have a file feed to which they can publish shared files of their choosing. " +
"You can subscribe to the feeds of other users. That is similar to following someone on a social network.");
helptext += "<br/>" + Util._t("On this page you can view the file feeds of users you are subscribed to. You can configure each feed " +
"separately with various options, and you can download the published files.");
%>

View File

@ -7,6 +7,7 @@
<%
String pagetitle=Util._t("File Details");
String helptext = Util._t("Details about the selected shared file.");
String path = request.getParameter("path");
File file = Util.getFromPathElements(path);

View File

@ -9,6 +9,10 @@
<%@include file="initcode.jsi"%>
<%
String pagetitle=Util._t("Home");
String helptext = Util._t("On this page you can search for files shared by other MuWire users");
helptext += "<br/>" + Util._t("You can group the results by sender or by file");
session.setAttribute("persona", persona);
session.setAttribute("version", version);

View File

@ -6,7 +6,9 @@
<%
String pagetitle=Util._t("MuWire Status");
String pagetitle=Util._t("MuWire Status");
String helptext = Util._t("This page shows various internal MuWire metrics");
Core core = (Core) application.getAttribute("core");
String buildNumber = (String)application.getAttribute("buildNumber");

View File

@ -7,6 +7,7 @@
<%
String pagetitle = Util._t("Initial Setup");
String helptext = Util._t("On this page you can set up your MuWire nickname and download locations");
%>
<html>

View File

@ -5,6 +5,10 @@
<%
String pagetitle= Util._t("Shared Files");
String helptext = Util._t("Shared files are those files you decide to share with other MuWire users.");
helptext += "<br/>" + Util._t("To share a file, enter it's path in the box to the left.");
helptext += "<br/>" + Util._t("You can view your shared files as a tree or as a table.");
helptext += "<br/>" + Util._t("The \"Actions\" menu lets you perform various actions on the shared file.");
String viewAs = request.getParameter("viewAs");
if (viewAs == null)

View File

@ -5,7 +5,7 @@
<%
String pagetitle=Util._t("Subscriptions");
String helptext = Util._t("This page shows the trust lists of users whom you have subscribed to.");
%>
<html>

View File

@ -5,7 +5,8 @@
<%
String pagetitle=Util._t("Users");
String helptext = Util._t("This page shows the users you have marked as Trusted or Distrusted.");
helptext += "<br/>" + Util._t("You can subscribe to the trust lists of the users you trust and see who they trust or distrust in turn.");
%>
<html>

View File

@ -10,7 +10,10 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="initcode.jsi"%>
<% String pagetitle=Util._t("Uploads"); %>
<%
String pagetitle=Util._t("Uploads");
String helptext = Util._t("This page shows files which you are currently uploading to other MuWire users.");
%>
<html>
<head>

View File

@ -9,12 +9,12 @@
<br>
</div>
<div class="title-and-help">
<div class="pagetitle">
<span class="pagetitle">
<%=pagetitle%>
</div>
</span>
<span class="pagehelp">
<div class="tooltip"><%=Util._t("Help")%>
<span class="tooltiptext">Help text goes here</span>
<span class="tooltiptext"><%=helptext%></span>
</div>
</span>
</div>