forked from I2P_Developers/i2p.i2p
i2ptunnel: Version the proxy CSS in more places
This commit is contained in:
@@ -12,6 +12,7 @@ import java.util.Map;
|
|||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import net.i2p.I2PAppContext;
|
import net.i2p.I2PAppContext;
|
||||||
|
import net.i2p.CoreVersion;
|
||||||
import net.i2p.client.I2PSession;
|
import net.i2p.client.I2PSession;
|
||||||
import net.i2p.client.I2PSessionException;
|
import net.i2p.client.I2PSessionException;
|
||||||
import net.i2p.client.naming.NamingService;
|
import net.i2p.client.naming.NamingService;
|
||||||
@@ -295,7 +296,7 @@ public abstract class LocalHTTPServer {
|
|||||||
.append(_t("Your new encryption key"))
|
.append(_t("Your new encryption key"))
|
||||||
.append("</title>\n" +
|
.append("</title>\n" +
|
||||||
"<link rel=\"shortcut icon\" href=\"http://proxy.i2p/themes/console/images/favicon.ico\" >\n" +
|
"<link rel=\"shortcut icon\" href=\"http://proxy.i2p/themes/console/images/favicon.ico\" >\n" +
|
||||||
"<link href=\"http://proxy.i2p/themes/console/default/proxy.css\" rel=\"stylesheet\" type=\"text/css\" >\n" +
|
"<link href=\"http://proxy.i2p/themes/console/default/proxy.css?" + CoreVersion.VERSION + "\" rel=\"stylesheet\" type=\"text/css\" >\n" +
|
||||||
"</head><body>\n" +
|
"</head><body>\n" +
|
||||||
"<div class=logo>\n" +
|
"<div class=logo>\n" +
|
||||||
"<a href=\"")
|
"<a href=\"")
|
||||||
@@ -369,7 +370,7 @@ public abstract class LocalHTTPServer {
|
|||||||
"<html><head>"+
|
"<html><head>"+
|
||||||
"<title>" + _t("Redirecting to {0}", idn) + "</title>\n" +
|
"<title>" + _t("Redirecting to {0}", idn) + "</title>\n" +
|
||||||
"<link rel=\"shortcut icon\" href=\"http://proxy.i2p/themes/console/images/favicon.ico\" >\n" +
|
"<link rel=\"shortcut icon\" href=\"http://proxy.i2p/themes/console/images/favicon.ico\" >\n" +
|
||||||
"<link href=\"http://proxy.i2p/themes/console/default/proxy.css\" rel=\"stylesheet\" type=\"text/css\" >\n" +
|
"<link href=\"http://proxy.i2p/themes/console/default/proxy.css?" + CoreVersion.VERSION + "\" rel=\"stylesheet\" type=\"text/css\" >\n" +
|
||||||
"<meta http-equiv=\"Refresh\" content=\"1; url=" + url + "\">\n" +
|
"<meta http-equiv=\"Refresh\" content=\"1; url=" + url + "\">\n" +
|
||||||
"</head><body>\n" +
|
"</head><body>\n" +
|
||||||
"<div class=logo>\n" +
|
"<div class=logo>\n" +
|
||||||
@@ -403,7 +404,7 @@ public abstract class LocalHTTPServer {
|
|||||||
"<html><head>"+
|
"<html><head>"+
|
||||||
"<title>" + _t("Redirecting to {0}", idn) + "</title>\n" +
|
"<title>" + _t("Redirecting to {0}", idn) + "</title>\n" +
|
||||||
"<link rel=\"shortcut icon\" href=\"http://proxy.i2p/themes/console/images/favicon.ico\" >\n" +
|
"<link rel=\"shortcut icon\" href=\"http://proxy.i2p/themes/console/images/favicon.ico\" >\n" +
|
||||||
"<link href=\"http://proxy.i2p/themes/console/default/proxy.css\" rel=\"stylesheet\" type=\"text/css\" >\n" +
|
"<link href=\"http://proxy.i2p/themes/console/default/proxy.css?" + CoreVersion.VERSION + "\" rel=\"stylesheet\" type=\"text/css\" >\n" +
|
||||||
"<meta http-equiv=\"Refresh\" content=\"1; url=" + url + "\">\n" +
|
"<meta http-equiv=\"Refresh\" content=\"1; url=" + url + "\">\n" +
|
||||||
"</head><body>\n" +
|
"</head><body>\n" +
|
||||||
"<div class=logo>\n" +
|
"<div class=logo>\n" +
|
||||||
|
Reference in New Issue
Block a user