Author: dgoette Date: Sat Apr 18 10:49:24 2009 New Revision: 379
URL: http://svn.reactos.org/svn/reactos?rev=379&view=rev Log: * remove folder (nocomp) I missed in one of my last commits * remove logging of clicks to external urls * remove support for translations for now (they where very incomplete implemented)
Removed: branches/danny-web/www/www.reactos.org/compat/lang/ branches/danny-web/www/www.reactos.org/compat/nocomp/ branches/danny-web/www/www.reactos.org/compat/url.php Modified: branches/danny-web/www/www.reactos.org/compat/lang.php branches/danny-web/www/www.reactos.org/compat/lib/HTML.class.php branches/danny-web/www/www.reactos.org/compat/lib/view/About.class.php branches/danny-web/www/www.reactos.org/compat/lib/view/HTML_Search.class.php branches/danny-web/www/www.reactos.org/compat/lib/view/Help.class.php branches/danny-web/www/www.reactos.org/compat/lib/view/Rank.class.php branches/danny-web/www/www.reactos.org/compat/lib/view/Submit_Item.class.php branches/danny-web/www/www.reactos.org/compat/rsdb_config.php
Modified: branches/danny-web/www/www.reactos.org/compat/lang.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lang.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lang.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -92,8 +92,6 @@ $rpm_lang="en"; - require("lang/en.php"); // preload the english language text - require("lang/".$rpm_lang.".php"); // load the and overwrite the language text
ini_set ('session.name', 'roscms');
Modified: branches/danny-web/www/www.reactos.org/compat/lib/HTML.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lib/HTML.class.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lib/HTML.class.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -83,14 +83,13 @@ */ protected function header( ) { - global $RSDB_langres; global $RSDB_intern_path_server; global $RSDB_intern_path; global $RSDB_intern_user_id;
echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - <html lang="'.$RSDB_langres['lang_code'].'"> + <html lang="EN"> <head> <title>ReactOS '.$this->title.'</title> <base href="'.$RSDB_intern_path_server.$RSDB_intern_path.'" /> @@ -100,7 +99,7 @@ <meta name="Keywords" content="ReactOS, Compatibility, application, driver, RSDB, support, database, DB, test, report, rating, Ros32, Ros64, Win32, Win64, W32, W64, Wine, vendor, release, version" /> <meta name="Copyright" content="ReactOS Foundation" /> <meta name="Generator" content="CompatDB" /> - <meta name="Content-language" content="'.$RSDB_langres['lang_code'].'" /> + <meta name="Content-language" content="EN" /> <meta name="Robots" content="index,follow" /> <link rel="SHORTCUT ICON" href="../favicon.ico" />';
@@ -124,11 +123,11 @@ <body> <div id="top"> <div id="topMenu"> - <a href="'.$RSDB_intern_path_server.'?page=index">'.$RSDB_langres['Home'].'</a> | - <a href="'.$RSDB_intern_path_server.'?page=about">'.$RSDB_langres['Info'].'</a> | - <a href="'.$RSDB_intern_path_server.'?page=community">'.$RSDB_langres['Community'].'</a> | - <a href="'.$RSDB_intern_path_server.'?page=dev">'.$RSDB_langres['Dev'].'</a> | - <a href="'.$RSDB_intern_path_server.'roscms/?page=user">'.$RSDB_langres['myReactOS'].'</a> + <a href="'.$RSDB_intern_path_server.'?page=index">Home</a> | + <a href="'.$RSDB_intern_path_server.'?page=about">Info</a> | + <a href="'.$RSDB_intern_path_server.'?page=community">Community</a> | + <a href="'.$RSDB_intern_path_server.'?page=dev">Development</a> | + <a href="'.$RSDB_intern_path_server.'roscms/?page=user">myReactOS</a> </div> </div>'; } // end of member function header @@ -151,13 +150,13 @@ <table style="border: none; width:100%;" cellpadding="0" cellspacing="0"> <tr style="vertical-align:top;"> <td style="width:147px" id="leftNav"> - <div class="navTitle">'.$RSDB_langres['Navigation'].'</div> - <ol> - <li><a href="'.$RSDB_intern_path_server.'?page=index">'.$RSDB_langres['Home'].'</a></li> - <li><a href="'.$RSDB_intern_path_server.'?page=about">'.$RSDB_langres['Info'].'</a></li> - <li><a href="'.$RSDB_intern_path_server.'?page=community">'.$RSDB_langres['Community'].'</a></li> - <li><a href="'.$RSDB_intern_path_server.'?page=dev">'.$RSDB_langres['Dev'].'</a></li> - <li><a href="'.$RSDB_intern_path_server.'roscms/?page=user">'.$RSDB_langres['myReactOS'].'</a></li> + <div class="navTitle">Navigation</div> + <ol> + <li><a href="'.$RSDB_intern_path_server.'?page=index">Home</a></li> + <li><a href="'.$RSDB_intern_path_server.'?page=about">Info</a></li> + <li><a href="'.$RSDB_intern_path_server.'?page=community">Community</a></li> + <li><a href="'.$RSDB_intern_path_server.'?page=dev">Development</a></li> + <li><a href="'.$RSDB_intern_path_server.'roscms/?page=user">myReactOS</a></li> </ol> <br />
Modified: branches/danny-web/www/www.reactos.org/compat/lib/view/About.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lib/view/About.class.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lib/view/About.class.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -26,17 +26,16 @@
protected function body( ) { - global $RSDB_langres; global $RSDB_intern_index_php;
echo ' - <h1><a href="'.$RSDB_intern_index_php.'?page=about">ReactOS Compatability Database</a> > '.$RSDB_langres['TEXT_about_rsdb'].'</h1> - <h2>'.$RSDB_langres['TEXT_about_rsdb'].'</h2> - <p>'.$RSDB_langres['CONTENT_about_rsdb'].'</p> - <p>'.$RSDB_langres['CONTENT_about_webteam'].'</p> + <h1><a href="'.$RSDB_intern_index_php.'?page=about">ReactOS Compatability Database</a> > About the ReactOS Support Database</h1> + <h2>About the ReactOS Support Database</h2> + <p>The ReactOS Support Database (application and driver compatibility, application packages, developer network and media files) is a free service of the ReactOS Foundation.</p> + <p>The ReactOS Support Database is maintained by the ReactOS Web-Team.</p> <p> </p> - <h3>'.$RSDB_langres['TEXT_credits'].'</h3> - <p><strong>Klemens Friedl:</strong> '.$RSDB_langres['CONTENT_about_credits_frik85'].'</p>'; + <h3>Credits</h3> + <p><strong>Klemens Friedl:</strong> The ReactOS Support Database has been written from scratch by Klemens Friedl (frik85).</p>'; } // end of member function body
Modified: branches/danny-web/www/www.reactos.org/compat/lib/view/HTML_Search.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lib/view/HTML_Search.class.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lib/view/HTML_Search.class.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -34,7 +34,7 @@ }
?> -<a href="<?php echo $RSDB_intern_link_db_sec; ?>home"><?php echo $RSDB_langres['TEXT_compdb_short']; ?></a> > Search +<a href="<?php echo $RSDB_intern_link_db_sec; ?>home">Compatibility</a> > Search <a href="<?php echo $RSDB_intern_index_php; ?>?page=about"><img src="media/pictures/compatibility_small.jpg" vspace="1" border="0" align="right"></a> </h1> <p>ReactOS Software and Hardware Compatibility Database</p>
Modified: branches/danny-web/www/www.reactos.org/compat/lib/view/Help.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lib/view/Help.class.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lib/view/Help.class.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -27,11 +27,10 @@ protected function body( ) { global $RSDB_intern_link_db_sec; - global $RSDB_langres; global $RSDB_intern_index_php;
echo ' - <h1><a href="'.$RSDB_intern_link_db_sec.'home">'.$RSDB_langres['TEXT_compdb_short'].'</a> > Help & FAQ</h1> + <h1><a href="'.$RSDB_intern_link_db_sec.'home">Compatibility</a> > Help & FAQ</h1>
<p><strong>Content</strong></p> <ul>
Modified: branches/danny-web/www/www.reactos.org/compat/lib/view/Rank.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lib/view/Rank.class.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lib/view/Rank.class.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -27,13 +27,12 @@ protected function body( ) { global $RSDB_intern_link_db_sec; - global $RSDB_langres; global $RSDB_intern_link_name_letter; global $RSDB_intern_index_php; global $RSDB_intern_link_rank_rank2;
echo ' - <h1><a href="'.$RSDB_intern_link_db_sec.'home">'.$RSDB_langres['TEXT_compdb_short'].'</a> > <a href="'.$RSDB_intern_link_name_letter.'all">Browse Database</a> > By Rank</h1> + <h1><a href="'.$RSDB_intern_link_db_sec.'home">Compatibility</a> > <a href="'.$RSDB_intern_link_name_letter.'all">Browse Database</a> > By Rank</h1> <style type="text/css"> <!--'." /* tab colors */
Modified: branches/danny-web/www/www.reactos.org/compat/lib/view/Submit_Item.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/lib/view/Submit_Item.class.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/lib/view/Submit_Item.class.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -34,7 +34,7 @@ }
?> -<a href="<?php echo $RSDB_intern_link_db_sec; ?>home"><?php echo $RSDB_langres['TEXT_compdb_short']; ?></a> > Submit Application/Driver +<a href="<?php echo $RSDB_intern_link_db_sec; ?>home">Compatibility</a> > Submit Application/Driver <a href="<?php echo $RSDB_intern_index_php; ?>?page=about"><img src="media/pictures/compatibility_small.jpg" vspace="1" border="0" align="right"></a> </h1> <p>ReactOS Software and Hardware Compatibility Database.</p>
Modified: branches/danny-web/www/www.reactos.org/compat/rsdb_config.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/rsdb_config.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/rsdb_config.php [iso-8859-1] Sat Apr 18 10:49:24 2009 @@ -35,7 +35,6 @@
global $RSDB_SET_letter; global $RSDB_SET_group; - global $RSDB_langres; global $RSDB_vote; global $RSDB_vote2;
Removed: branches/danny-web/www/www.reactos.org/compat/url.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/co... ============================================================================== --- branches/danny-web/www/www.reactos.org/compat/url.php [iso-8859-1] (original) +++ branches/danny-web/www/www.reactos.org/compat/url.php (removed) @@ -1,81 +1,0 @@ -<?php - /* - RSDB - ReactOS Support Database - Copyright (C) 2005-2006 Klemens Friedl <frik85@reactos.org> - - This program 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. - - This program 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 this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -/* - * ReactOS Support Database System - RSDB - * - * (c) by Klemens Friedl <frik85> - * - * URL LOG SCRIPT - */ - - require_once("connect.db.php"); - - - $RSDB_url_t=""; - //$RSDB_url_o=""; - $RSDB_url_u=""; - $RSDB_url_a=""; - $RSDB_url_i=""; - $RSDB_url_s=""; - $RSDB_referrer=""; - $RSDB_usragent=""; - - if (array_key_exists("t", $_GET)) $RSDB_url_t=htmlspecialchars($_GET["t"]); - //if (array_key_exists("o", $_GET)) $RSDB_url_o=htmlspecialchars($_GET["o"]); - if (array_key_exists("u", $_GET)) $RSDB_url_u=htmlspecialchars($_GET["u"]); - if (array_key_exists("a", $_GET)) $RSDB_url_a=htmlspecialchars($_GET["a"]); - if (array_key_exists("i", $_GET)) $RSDB_url_i=htmlspecialchars($_GET["i"]); - if (array_key_exists("s", $_GET)) $RSDB_url_s=htmlspecialchars($_GET["s"]); - - $RSDB_url_i = base64_decode($RSDB_url_i); - - - if ($RSDB_url_u != $RSDB_referrer) { - $RSDB_url_s = "BAD".$RSDB_url_s; - } - if ($RSDB_referrer == "" && $RSDB_url_u != "") { - $RSDB_referrer = $RSDB_url_u; - } - - if (array_key_exists('HTTP_REFERER', $_SERVER)) $RSDB_referrer=htmlspecialchars($_SERVER['HTTP_REFERER']); - if (array_key_exists('HTTP_USER_AGENT', $_SERVER)) $RSDB_usragent=htmlspecialchars($_SERVER['HTTP_USER_AGENT']); - - if(isset($_COOKIE['roscms_usrset_lang'])) { - $roscms_usrsetting_lang=$_COOKIE["roscms_usrset_lang"]; - } - else { - $roscms_usrsetting_lang=""; - } - - - $stmt=CDBConnection::getInstance()-prepare("INSERT INTO rsdb_urls (url_id, url_t, url_u, url_a, url_i, url_s, url_lang, url_browser) VALUES ('', :t, :u, :a, :i, :s, :lang, :user_agent )"); - $stmt->bindParam('t',$RSDB_url_t,PDO::PARAM_STR); - $stmt->bindParam('u',$RSDB_referrer,PDO::PARAM_STR); - $stmt->bindParam('a',$RSDB_url_a,PDO::PARAM_STR); - $stmt->bindParam('i',$RSDB_url_i,PDO::PARAM_STR); - $stmt->bindParam('s',$RSDB_url_s,PDO::PARAM_STR); - $stmt->bindParam('lang',$roscms_usrsetting_lang,PDO::PARAM_STR); - $stmt->bindParam('user_agent',$RSDB_usragent,PDO::PARAM_STR); - $stmt->execute(); - - -?>