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.' - . '

' - . ''); - - mysql_select_db($dbname); - - } // END function connectDB($host, $username, $password) - - // ****************************** - - /*************End of header file commonPhpFunctions.php*************/ -?> diff --git a/modules/websubmit/lib/specialchars.php.wml b/modules/websubmit/lib/specialchars.php.wml deleted file mode 100644 index 6c1765918..000000000 --- a/modules/websubmit/lib/specialchars.php.wml +++ /dev/null @@ -1,41 +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. - - -function specialchars($text) -{ - $text = str_replace("“","\042",$text); - $text = str_replace("”","\042",$text); - $text = str_replace("’","\047",$text); - $text = str_replace("—","\055",$text); - $text = str_replace("\221","\047",$text); #single-quote left - $text = str_replace("\222","\047",$text); #apostrophe - $text = str_replace("\223","\042",$text); #double quote left - $text = str_replace("\224","\042",$text); #double quote right - $text = str_replace("\226","\055",$text); #long dash - $text = str_replace("\205","\056\056\056",$text); #ellipse - $text = str_replace("…","\056\056\056",$text); - return $text; -} -?> \ No newline at end of file