diff --git a/modules/websubmit/lib/Fake_Navigation_Functions.php.wml b/modules/websubmit/lib/Fake_Navigation_Functions.php.wml
deleted file mode 100644
index a63a6cfb7..000000000
--- a/modules/websubmit/lib/Fake_Navigation_Functions.php.wml
+++ /dev/null
@@ -1,62 +0,0 @@
-## $Id$
-
-## This file is part of the CERN Document Server Software (CDSware).
-## Copyright (C) 2002 CERN.
-##
-## The CDSware is free software; you can redistribute it and/or
-## modify it under the terms of the GNU General Public License as
-## published by the Free Software Foundation; either version 2 of the
-## License, or (at your option) any later version.
-##
-## The CDSware is distributed in the hope that it will be useful, but
-## WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-## General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with CDSware; if not, write to the Free Software Foundation, Inc.,
-## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-
-
-
-## $Id$
-## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDSware WML SOURCES.
-
-?>
-
-
diff --git a/modules/websubmit/lib/commonPhpFunctions.php.wml b/modules/websubmit/lib/commonPhpFunctions.php.wml
deleted file mode 100644
index 113692066..000000000
--- a/modules/websubmit/lib/commonPhpFunctions.php.wml
+++ /dev/null
@@ -1,109 +0,0 @@
-## $Id$
-
-## This file is part of the CERN Document Server Software (CDSware).
-## Copyright (C) 2002 CERN.
-##
-## The CDSware is free software; you can redistribute it and/or
-## modify it under the terms of the GNU General Public License as
-## published by the Free Software Foundation; either version 2 of the
-## License, or (at your option) any later version.
-##
-## The CDSware is distributed in the hope that it will be useful, but
-## WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-## General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with CDSware; if not, write to the Free Software Foundation, Inc.,
-## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-
-## read config variables:
-#include "config.wml"
-#include "configbis.wml"
-
-
-
-
-## $Id$
-## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDSware WML SOURCES.
-
-
-## load config variables:
-define("DOCS_DATABASE", "");
-define("MYSQLDOCMACHINE","");
-define("MYSQLDOCUSERID","");
-define("MYSQLDOCPASSWORD","");
-define("AUTHENTICATION","");
-define("ADMIN_EMAIL","");
-define("SUMMARYON","");
-define("SUPPORTEMAIL","");
-define("TEST","FALSE");
-$IMAGES="/img";
-$URLPATH="/submit";
-$ACCESSURL="/search.py";
-$ARCHIVE="";
-$COUNTERS="";
-$LINKMANAGER="/archive.php";
-$STORAGE="";
-$LYNX="";
-$GFILE="";
-$GZIP="";
-$TAR="";
-$GUNZIP="";
-$ACROREAD="";
-$DISTILLER="";
-$TMPDIR="";
-$BIBUPLOAD="/bibupload";
-$BIBFORMAT="/bibformat";
-$BIBWORDS="/bibwords";
-$BIBCONVERT="/bibconvert";
-$BIBCONVERTCONF="/submit/bibconvert/config";
-$HTDOCSURL="";
-## okay, config variables loaded, the script can continue:
-
- /********************Includes*************************/
-
- include("/sessinit.inc.php");
- require_once("/php/cdsware/errors/errorHandling.php");
-
- // ******************************
-
- function connectDB($dbname, $host = MYSQLDOCMACHINE, $username = MYSQLDOCUSERID, $password = MYSQLDOCPASSWORD)
- {
- /******************************************************************
- This function is a very simple function that allows a user to
- connect to a mySQL server of their choice. The function uses the
- mysql_connect function provided by php to attempt to connect to
- the server. If connection fails, an appropriate error message is
- displayed, otherwise the connection link is returned.
-
- Function modified on 28/09/2000 to add , , and
- tags, as the message wasn't being printed due to the fact that
- when the die() function was executed, it stopped processing,
- hence the table that contains the pages data was never being
- closed, resulting in it being impossible to display anything in
- this table.
-
- Author: Nicholas Robinson
- Email: Nicholas.Robinson@cern.ch
- Created: 21/08/2000
- Last Modified: 28/09/2000
-
- *****************************************************************/
-
- # Make a connection to the database server...
-
- mysql_connect($host, $username, $password) or
- die('
Unable To '
- . 'Connect To SQL Server. Try Reload Of Page.'
- . '