Themes for HTTP Proxy error pages
This commit is contained in:
@ -831,6 +831,9 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
|
||||
} catch (IOException ioe) {}
|
||||
return;
|
||||
}
|
||||
// theme hack
|
||||
if (filename.startsWith("themes/console/default/"))
|
||||
filename = filename.replaceFirst("default", I2PAppContext.getGlobalContext().getProperty("routerconsole.theme", "light"));
|
||||
File file = new File(_errorDir, filename);
|
||||
if (file.exists() && !file.isDirectory()) {
|
||||
String type;
|
||||
|
@ -1,3 +1,6 @@
|
||||
2009-07-16 zzz
|
||||
* HTTP Proxy: Themes for error pages
|
||||
|
||||
2009-07-16 sponge
|
||||
* ministreaming:
|
||||
- small pedantic fix
|
||||
|
@ -7,7 +7,7 @@ Proxy-Connection: close
|
||||
<html><head>
|
||||
<title>Destination key conflict</title>
|
||||
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico" />
|
||||
<link href="http://proxy.i2p/themes/console/console.css" rel="stylesheet" type="text/css" />
|
||||
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class=logo>
|
||||
|
@ -7,7 +7,7 @@ Proxy-Connection: close
|
||||
<html><head>
|
||||
<title>Eepsite not reachable</title>
|
||||
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico" />
|
||||
<link href="http://proxy.i2p/themes/console/console.css" rel="stylesheet" type="text/css" />
|
||||
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class=logo>
|
||||
|
@ -7,7 +7,7 @@ Proxy-Connection: close
|
||||
<html><head>
|
||||
<title>Invalid eepsite destination</title>
|
||||
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico" />
|
||||
<link href="http://proxy.i2p/themes/console/console.css" rel="stylesheet" type="text/css" />
|
||||
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class=logo>
|
||||
|
@ -7,7 +7,7 @@ Proxy-Connection: close
|
||||
<html><head>
|
||||
<title>Eepsite unknown</title>
|
||||
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico" />
|
||||
<link href="http://proxy.i2p/themes/console/console.css" rel="stylesheet" type="text/css" />
|
||||
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class=logo>
|
||||
|
@ -7,7 +7,7 @@ Proxy-Connection: close
|
||||
<html><head>
|
||||
<title>Outproxy Not Found</title>
|
||||
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico" />
|
||||
<link href="http://proxy.i2p/themes/console/console.css" rel="stylesheet" type="text/css" />
|
||||
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class=logo>
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 13;
|
||||
public final static long BUILD = 14;
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||
|
Reference in New Issue
Block a user