Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

further supertemplate test

allo9702d3abba3f
diff --git a/htroot/User_p.html b/htroot/User_p.html
index 61f6661a4..dae3ec7c8 100644
--- a/htroot/User_p.html
+++ b/htroot/User_p.html
@@ -1,13 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>YaCy '#[clientname]#': User Administration</title>
- #%env/templates/metas.template%#
- </head>
- <body>
- #%env/templates/header.template%#
- <br />
- <br />
+<!--HEADER for Lab.html
+ <title>#[clientname]#'s User Administration</title>
+ end of HEADER-->
<h2>User Administration</h2>
#(page)#
<table>
@@ -96,7 +89,3 @@
#(/error)#
<p>If you want to manage more Users, return to the <a href="User_p.html?change_user=true&amp;user=#[username]#">user</a> page.</p>
#(/page)#
-
- #%env/templates/footer.template%#
- </body>
-</html>
diff --git a/htroot/User_p.java b/htroot/User_p.java
index 86a188541..8fbabe366 100644
--- a/htroot/User_p.java
+++ b/htroot/User_p.java
@@ -64,6 +64,7 @@ public class User_p {
serverObjects prop = new serverObjects();
plasmaSwitchboard sb = plasmaSwitchboard.getSwitchboard();
userDB.Entry entry=null;
+ prop.put("SUPERTEMPLATE", "/env/page.html"); //user Supertemplates
//default values
prop.put("page", 0);