Author: dgoette Date: Thu Apr 2 13:03:34 2009 New Revision: 40326
URL: http://svn.reactos.org/svn/reactos?rev=40326&view=rev Log: remove parts of the supportDB that are not part of the compatDB
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/devnet/ branches/danny-web/reactos.org/htdocs/compat/inc/devnet.php branches/danny-web/reactos.org/htdocs/compat/inc/media/ branches/danny-web/reactos.org/htdocs/compat/inc/media.php branches/danny-web/reactos.org/htdocs/compat/inc/pack/ branches/danny-web/reactos.org/htdocs/compat/inc/pack.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_2.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_group.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item_menubar.php Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_bugs.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_details.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_forum.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshot_submit.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshots.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests_submit.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tips.php branches/danny-web/reactos.org/htdocs/compat/inc/comp/sub/tree_category_combobox.php branches/danny-web/reactos.org/htdocs/compat/inc/home.php branches/danny-web/reactos.org/htdocs/compat/inc/lang/de.php branches/danny-web/reactos.org/htdocs/compat/inc/lang/en.php branches/danny-web/reactos.org/htdocs/compat/inc/structure.php branches/danny-web/reactos.org/htdocs/compat/inc/tools/forum_submit.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_flat.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_1.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_tree.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_historybar.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_menubar_sections.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name_flat.php branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_vendor_id.php branches/danny-web/reactos.org/htdocs/compat/index.php branches/danny-web/reactos.org/htdocs/compat/rsdb_config.php
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_bugs.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_bugs.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_bugs.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -43,7 +43,7 @@ echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ".show_osversion($result_page['comp_osversion']) ."]</h2>"; - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php"); ?> <p>Bugzilla integration is still on the TODO list ... </p>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_details.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_details.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_details.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -42,7 +42,7 @@ if ($result_page['comp_id']) { echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ".@show_osversion($result_page['comp_osversion']) ."]</h2>"; - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php"); $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_groups WHERE grpentr_id = :group_id"); $stmt->bindParam('group_id',$result_page['comp_groupid'],PDO::PARAM_STR);
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_forum.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_forum.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_forum.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -44,7 +44,7 @@ echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ".show_osversion($result_page['comp_osversion']) ."]</h2>"; - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php"); echo "<br />"; echo forum_bar();
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshot_submit.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshot_submit.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshot_submit.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -49,7 +49,7 @@ } else { - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php"); echo "<h3>Submit Screenshot</h3>";
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshots.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshots.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_screenshots.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -42,7 +42,7 @@ if ($result_page['comp_id']) { echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ".@show_osversion($result_page['comp_osversion']) ."]</h2>"; - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php");
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -44,7 +44,7 @@
echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ".@show_osversion($result_page['comp_osversion']) ."]</h2>"; - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php");
echo test_bar(); ?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests_submit.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests_submit.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tests_submit.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -50,7 +50,7 @@ } else { - include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php"); echo "<h3>Submit a Report - Step 3</h3>";
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tips.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tips.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/comp_item_tips.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -40,7 +40,7 @@
$result_page = $stmt->fetch(PDO::FETCH_ASSOC);
- include('inc/tree/tree_item_menubar.php'); + include("inc/comp/comp_item_menubar.php"); ?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/comp/sub/tree_category_combobox.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/comp/sub/tree_category_combobox.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/comp/sub/tree_category_combobox.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -52,12 +52,7 @@ if ($result_count_cat[0]) {
- if ($RSDB_intern_code_view_shortname == "devnet") { - $RSDB_TEMP_sortby = "cat_order"; - } - else { $RSDB_TEMP_sortby = "cat_name"; - }
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/devnet.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/devnet.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/devnet.php (removed) @@ -1,54 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - -?> -<h1><a href="<?php echo $RSDB_intern_index_php ?>?page=home">ReactOS Support Database</a> > - -<?php - - switch ($RSDB_SET_sec) { - case "home": // Home - default: - include("inc/devnet/devnet_home.php"); - break; - case "category": // Category - include("inc/tree/tree_category.php"); - break; - case "name": // Name - include("inc/tree/tree_name.php"); - break; - } - -?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/home.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/home.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/home.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -46,17 +46,5 @@ <?php echo $RSDB_langres['CONTENT_compdb_description']; ?> <a href="<?php echo $RSDB_intern_link_db_view_comp; ?>&sec=home"><?php echo $RSDB_langres['TEXT_more']; ?></a> </p>
-<h3><?php echo $RSDB_langres['TEXT_packdb']; ?></h3> -<p> - <?php echo $RSDB_langres['CONTENT_packdb_description']; ?> <a href="<?php echo $RSDB_intern_link_db_view_pack; ?>&sec=home"><?php echo $RSDB_langres['TEXT_more']; ?></a> -</p> - -<h3><?php echo $RSDB_langres['TEXT_devnet']; ?></h3> -<p> <?php echo $RSDB_langres['CONTENT_devnet_description']; ?> - <a href="<?php echo $RSDB_intern_link_db_view_devnet; ?>&sec=home"><?php echo $RSDB_langres['TEXT_more']; ?></a> -</p> -<h3><?php echo $RSDB_langres['TEXT_mediadb']; ?></h3> -<p><?php echo $RSDB_langres['CONTENT_mediadb_description']; ?> <a href="<?php echo $RSDB_intern_link_db_view_media; ?>&sec=home"><?php echo $RSDB_langres['TEXT_more']; ?></a> -</p> <p> </p>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/lang/de.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/lang/de.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/lang/de.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -58,13 +58,6 @@ $RSDB_langres['TEXT_compdb'] = 'Compatibility Database'; $RSDB_langres['TEXT_compdb_short'] = 'Compatibility'; - $RSDB_langres['TEXT_packdb'] = 'Package Database'; - $RSDB_langres['TEXT_packdb_short'] = 'Packages'; - $RSDB_langres['TEXT_devnet'] = 'Developer Network'; - $RSDB_langres['TEXT_devnet_short'] = 'Dev Network'; - $RSDB_langres['TEXT_devnet_long'] = 'ReactOS Developer Network'; - $RSDB_langres['TEXT_mediadb'] = 'Media Database'; - $RSDB_langres['TEXT_mediadb_short'] = 'Media'; $RSDB_langres['TEXT_about_rsdb'] = 'About the ReactOS Support Database'; $RSDB_langres['TEXT_credits'] = 'Credits'; @@ -78,14 +71,6 @@ $RSDB_langres['CONTENT_about_short'] = 'The ReactOS Support Database is a free service of the ReactOS Foundation.'; $RSDB_langres['CONTENT_compdb_description'] = 'ReactOS Software and Hardware Compatibility Database.'; - $RSDB_langres['CONTENT_packdb_description'] = 'ReactOS Package Database, the official online database for the ReactOS Package Manager.'; - $RSDB_langres['CONTENT_devnet_description'] = 'ReactOS Developer Network, the online documentation of the ReactOS Internals.<br /><br /> - The ReactOS Developer Network (RosDevNet or RDN) Library is the essential reference - for developers, with technical programming information, including sample code, - documentation, technical articles, the ReactOS Developer Knowledge Base, and - anything else you might need to develop solutions for ReactOS (or compatible).'; - $RSDB_langres['CONTENT_devnet_description_short'] = 'ReactOS Developer Network, the online documentation of the ReactOS Internals'; - $RSDB_langres['CONTENT_mediadb_description'] = 'ReactOS Media Database, ReactOS related media files stored in a huge database.';
$RSDB_langres['CONTENT_about_rsdb'] = 'The ReactOS Support Database (application and driver compatibility, application packages, developer network and media files) is a free service of the ReactOS
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/lang/en.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/lang/en.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/lang/en.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -58,13 +58,6 @@ $RSDB_langres['TEXT_compdb'] = 'Compatibility Database'; $RSDB_langres['TEXT_compdb_short'] = 'Compatibility'; - $RSDB_langres['TEXT_packdb'] = 'Package Database'; - $RSDB_langres['TEXT_packdb_short'] = 'Packages'; - $RSDB_langres['TEXT_devnet'] = 'Developer Network'; - $RSDB_langres['TEXT_devnet_short'] = 'Dev Network'; - $RSDB_langres['TEXT_devnet_long'] = 'ReactOS Developer Network'; - $RSDB_langres['TEXT_mediadb'] = 'Media Database'; - $RSDB_langres['TEXT_mediadb_short'] = 'Media'; $RSDB_langres['TEXT_about_rsdb'] = 'About the ReactOS Support Database'; $RSDB_langres['TEXT_credits'] = 'Credits'; @@ -78,14 +71,6 @@ $RSDB_langres['CONTENT_about_short'] = 'The ReactOS Support Database is a free service of the ReactOS Foundation.'; $RSDB_langres['CONTENT_compdb_description'] = 'ReactOS Software and Hardware Compatibility Database.'; - $RSDB_langres['CONTENT_packdb_description'] = 'ReactOS Package Database, the official online database for the ReactOS Package Manager.'; - $RSDB_langres['CONTENT_devnet_description'] = 'ReactOS Developer Network, the online documentation of the ReactOS Internals.<br /><br /> - The ReactOS Developer Network (RosDevNet or RDN) Library is the essential reference - for developers, with technical programming information, including sample code, - documentation, technical articles, the ReactOS Developer Knowledge Base, and - anything else you might need to develop solutions for ReactOS (or compatible).'; - $RSDB_langres['CONTENT_devnet_description_short'] = 'ReactOS Developer Network, the online documentation of the ReactOS Internals'; - $RSDB_langres['CONTENT_mediadb_description'] = 'ReactOS Media Database, ReactOS related media files stored in a huge database.';
$RSDB_langres['CONTENT_about_rsdb'] = 'The ReactOS Support Database (application and driver compatibility, application packages, developer network and media files) is a free service of the ReactOS
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/media.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/media.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/media.php (removed) @@ -1,54 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - -?> -<h1><a href="<?php echo $RSDB_intern_index_php ?>?page=home">ReactOS Support Database</a> > - -<?php - - switch ($RSDB_SET_sec) { - case "home": // Home - default: - include("inc/media/media_home.php"); - break; - case "category": // Category - include("inc/tree/tree_category.php"); - break; - case "name": // Name - include("inc/tree/tree_name.php"); - break; - } - -?>
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/pack.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/pack.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/pack.php (removed) @@ -1,57 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - -?> -<h1><a href="<?php echo $RSDB_intern_index_php ?>?page=home">ReactOS Support Database</a> > - -<?php - - switch ($RSDB_SET_sec) { - case "home": // Home - default: - include("inc/pack/pack_home.php"); - break; - case "category": // Category - include("inc/tree/tree_category.php"); - break; - case "name": // Name - include("inc/tree/tree_name.php"); - break; - case "vendor": // Vendor/Company - include("inc/tree/tree_vendor.php"); - break; - } - -?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/structure.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/structure.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/structure.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -72,24 +72,10 @@ </ol></div> <p></p> <?php - if ($RSDB_SET_view == "comp" || $RSDB_SET_view == "pack" || $RSDB_SET_view == "devnet" || $RSDB_SET_view == "media") { + if ($RSDB_SET_view == "comp") { ?> <div class="navTitle"><?php - if ($RSDB_SET_view == "comp") { echo "Compatibility"; - } - if ($RSDB_SET_view == "") { - echo "Compatibility"; - } - if ($RSDB_SET_view == "pack") { - echo "Packages"; - } - if ($RSDB_SET_view == "devnet") { - echo "Dev Network"; - } - if ($RSDB_SET_view == "media") { - echo "Media"; - } ?></div> <ol> <li><a href="<?php echo $RSDB_intern_link_view_EX."home".$RSDB_URI_slash; ?>">Overview</a></li> @@ -100,12 +86,12 @@ <li><a href="<?php echo $RSDB_intern_link_category_EX."0".$RSDB_URI_slash; ?>"> - By Category</a></li> <li><a href="<?php echo $RSDB_intern_link_name_letter_EX."all".$RSDB_URI_slash; ?>"> - By Name</a></li> <?php - if ($RSDB_SET_view == "comp" || $RSDB_SET_view == "pack") { + if ($RSDB_SET_view == "comp") { ?> <li><a href="<?php echo $RSDB_intern_link_vendor_letter_EX."all".$RSDB_URI_slash; ?>"> - By Vendor</a></li> <?php } - if ($RSDB_SET_view == "comp" || $RSDB_SET_view == "pack") { + if ($RSDB_SET_view == "comp") { ?> <li><a href="<?php echo $RSDB_intern_link_rank_EX."rank".$RSDB_URI_slash; ?>"> - By Rank</a></li> <?php
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tools/forum_submit.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tools/forum_submit.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tools/forum_submit.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -45,7 +45,7 @@ // echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ".show_osversion($result_page['comp_osversion']) ."]</h2>"; -// include('inc/tree/tree_item_menubar.php'); +// include("inc/comp/comp_item_menubar.php"); echo "<h3>Submit a forum post</h3>";
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -53,7 +53,7 @@ include("inc/comp/comp_itemver_submit.php"); } else { - include("inc/tree/tree_group.php"); + include("inc/comp/comp_group.php"); } } else { @@ -66,7 +66,7 @@ include("inc/tree/tree_category_tree.php"); break; } - include("inc/tree/tree_category_grouplist.php"); + include("inc/tree/tree_category_grouplist_1.php"); } }
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_flat.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_flat.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_flat.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -49,12 +49,7 @@
if ($result_count_cat[0]) {
- if ($RSDB_intern_code_view_shortname == "devnet") { - $RSDB_TEMP_sortby = "cat_order"; - } - else { $RSDB_TEMP_sortby = "cat_name"; - }
?> <table width="100%" border="0" cellpadding="1" cellspacing="1">
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist.php (removed) @@ -1,52 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - - - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: - include("inc/tree/tree_category_grouplist_1.php"); - break; - case "pack": // Packages - include("inc/tree/tree_category_grouplist_1.php"); - break; - case "devnet": // Developer Network - include("inc/tree/tree_category_grouplist_2.php"); - break; - case "media": // Media - include("inc/tree/tree_category_grouplist_2.php"); - break; - } -?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_1.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_1.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_1.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -45,17 +45,8 @@ <tr bgcolor="#5984C3"> <td width="20%" title="Item"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong><?php - switch ($RSDB_SET_view) { - case "comp": // Compatibility + echo "Application"; - break; - case "pack": // Packages - echo "Package"; - break; - default: - echo "Name"; - break; - }
?></strong></font></div></td> <td width="15%" title="Company/Vendor/Project"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>Vendor</strong></font></div></td>
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_2.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_2.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_grouplist_2.php (removed) @@ -1,128 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - - -$stmt=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM rsdb_groups WHERE grpentr_visible = '1' AND grpentr_category = :category " . $RSDB_intern_code_db_rsdb_groups . ""); -$stmt->bindParam('category',$RSDB_SET_cat,PDO::PARAM_STR); -$stmt->execute(); -$result_count_groups = $stmt->fetch(PDO::FETCH_NUM); -if ($result_count_groups[0]) { - -?> - <table width="100%" border="0" cellpadding="1" cellspacing="1"> - <tr bgcolor="#5984C3"> - <td width="20%"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>Name</strong></font></div></td> - <td width="50%"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>Description</strong></font></div></td> - <td width="10%"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>Pages</strong></font></div></td> - <td width="20%"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>Rating Ø </strong></font></div></td> - </tr> - <?php - - $stmt=CDBConnecion::getInstance()->prepare("SELECT * FROM rsdb_groups WHERE grpentr_visible = '1' AND grpentr_category = :category " . $RSDB_intern_code_db_rsdb_groups . " ORDER BY grpentr_order ASC"); - $stmt->bindParam('category',$RSDB_SET_cat,PDO::PARAM_STR); - $stmt->execute(); - - $farbe1="#E2E2E2"; - $farbe2="#EEEEEE"; - $zaehler="0"; - - while($result_page = $stmt->fetch(PDO::FETCH_ASSOC)) { // Pages - ?> - <tr> - <td valign="top" bgcolor="<?php - $zaehler++; - if ($zaehler == "1") { - echo $farbe1; - $farbe = $farbe1; - } - elseif ($zaehler == "2") { - $zaehler="0"; - echo $farbe2; - $farbe = $farbe2; - } - ?>" > <div align="left"><font size="2" face="Arial, Helvetica, sans-serif"><a href="<?php echo $RSDB_intern_link_group.$result_page['grpentr_id']; ?>"><?php echo $result_page['grpentr_name']; ?></a></font></div></td> - <td valign="top" bgcolor="<?php echo $farbe; ?>"><font size="2"><?php - - if (strlen(htmlentities($result_page['grpentr_description'], ENT_QUOTES)) <= 30) { - echo $result_page['grpentr_description']; - } - else { - echo substr(htmlentities($result_page['grpentr_description'], ENT_QUOTES), 0, 30)."..."; - } - - ?></font></td> - <td valign="top" bgcolor="<?php echo $farbe; ?>"><div align="center"><font size="2"> - <?php - - $counter_stars_install_sum = 0; - $counter_stars_function_sum = 0; - $counter_stars_user_sum = 0; - - $counter_items = 0; - - $stmt_item=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_".$RSDB_intern_code_view_shortname." WHERE ".$RSDB_intern_code_view_shortname."_groupid = :group_id AND ".$RSDB_intern_code_view_shortname."_visible` = '1' ORDER BY ".$RSDB_intern_code_view_shortname."_groupid DESC"); - $stmt_item->bindParam('group_id',$result_page['grpentr_id'],PDO::PARAM_STR); - $stmt_item->execute(); - while($result_group_sum_items = $stmt_item->fetch(PDO::FETCH_ASSOC)) { - $counter_items++; - $stmt_tests=CDBConnection::getInstance()->prepare("SELECT SUM(test_result_install) AS install_sum, SUM(test_result_function) AS function_sum, COUNT(*) AS user_sum FROM ".$RSDB_intern_code_view_shortname."_item_".$RSDB_intern_code_view_shortname."_testresults WHERE test_visible = '1' AND test_comp_id = :comp_id ORDER BY test_comp_id ASC"); - $stmt_tests->bindParam('comp_id',$result_group_sum_items[$RSDB_intern_code_view_shortname.'_id'],PDO::PARAM_STR); - $stmt_tests->execute(); - $tmp=$stmt_tests->fetch(PDO::FETCH_ASSOC); - - $counter_stars_install_sum += $tmp['install_sum']; - $counter_stars_function_sum += $tmp['function_sum']; - $counter_stars_user_sum += $tmp['user_sum']; - } - echo $counter_items; - - ?> - </font></div></td> - <td valign="top" bgcolor="<?php echo $farbe; ?>"><div align="left"><font size="2"> - <?php - - echo draw_stars_small($counter_stars_function_sum, $counter_stars_user_sum, 5, "") . " (".$counter_stars_user_sum.")"; - - ?> - </font></div></td> - </tr> - <?php - } // end while - ?> - </table> -<?php -} -?> -
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_tree.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_tree.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_category_tree.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -51,12 +51,7 @@ if ($result_count_cat[0]) {
- if ($RSDB_intern_code_view_shortname == "devnet") { - $RSDB_TEMP_sortby = "cat_order"; - } - else { $RSDB_TEMP_sortby = "cat_name"; - }
?>
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_group.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_group.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_group.php (removed) @@ -1,52 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - - - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: - include("inc/comp/comp_group.php"); - break; - case "pack": // Packages - include("inc/pack/pack_group.php"); - break; - case "devnet": // Developer Network - include("inc/devnet/devnet_group.php"); - break; - case "media": // Media - include("inc/media/media_group.php"); - break; - } -?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_historybar.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_historybar.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_historybar.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -37,7 +37,7 @@
-// echo "Comp: ".$RSDB_intern_trigger_comp." | Pack:".$RSDB_intern_trigger_pack." | DevNet:".$RSDB_intern_trigger_devnet." | Media:".$RSDB_intern_trigger_media; +// echo "Comp: ".$RSDB_intern_trigger_comp."; // echo "<br>".$RSDB_intern_code_db_rsdb_categories;
$RSDB_viewpage = true; @@ -185,21 +185,7 @@ $result_current_group = $stmt->fetch(PDO::PARAM_STR); echo " <font size='2'>→</font> <a href='".$RSDB_intern_link_item2_id_EX.$RSDB_SET_item.$RSDB_URI_slash."'>".$result_current_group[$RSDB_intern_code_view_shortname .'_name']; - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: echo " ["."ReactOS ".show_osversion($result_current_group['comp_osversion'])."]"; - break; - case "pack": // Packages - echo " [".$result_current_group['pack_rosversion']."]"; - break; - case "devnet": // Developer Network - echo " [rev. ".$result_current_group['devnet_version']."]"; - break; - case "media": // Media - echo " [".$result_current_group['media_version']."]"; - break; - } echo "</a>"; } @@ -295,21 +281,7 @@ $result_current_group = $stmt->fetch(PDO::FETCH_ASSOC); echo " <font size='2'>→</font> <a href='".$RSDB_intern_link_item_EX.$RSDB_SET_item.$RSDB_URI_slash."'>".$result_current_group[$RSDB_intern_code_view_shortname .'_name']; - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: echo " ["."ReactOS ".show_osversion($result_current_group['comp_osversion'])."]"; - break; - case "pack": // Packages - echo " [".$result_current_group['pack_rosversion']."]"; - break; - case "devnet": // Developer Network - echo " [rev. ".$result_current_group['devnet_version']."]"; - break; - case "media": // Media - echo " [".$result_current_group['media_version']."]"; - break; - } echo "</a>"; } @@ -596,22 +568,5 @@ } - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: //msg_bar("Compatibility"); - break; - case "pack": // Packages - msg_bar("The Package Section is under heavy construction!"); - echo "<br />"; - break; - case "devnet": // Developer Network - msg_bar("The Dev Network Section is under heavy construction!"); - echo "<br />"; - break; - case "media": // Media - msg_bar("The Media Section is under heavy construction!"); - echo "<br />"; - break; - } ?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -35,9 +35,6 @@
- switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: switch ($RSDB_SET_item2) { case "details": // Details default: @@ -85,16 +82,5 @@ include('inc/comp/comp_item_tips.php'); break; } - break; - case "pack": // Packages - include('inc/pack/pack_item.php'); - break; - case "devnet": // Developer Network - include('inc/devnet/devnet_item.php'); - break; - case "media": // Media - include('inc/media/media_item.php'); - break; - } ?>
Removed: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item_menubar.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item_menubar.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_item_menubar.php (removed) @@ -1,52 +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> - * - * 2005 - 2006 - */ - - - // To prevent hacking activity: - if ( !defined('RSDB') ) - { - die(" "); - } - - - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: - include("inc/comp/comp_item_menubar.php"); - break; - case "pack": // Packages - include("inc/pack/pack_item_menubar.php"); - break; - case "devnet": // Developer Network - //include("inc/devnet/devnet_item_menubar.php"); - break; - case "media": // Media - //include("inc/media/media_item_menubar.php"); - break; - } -?>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_menubar_sections.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_menubar_sections.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_menubar_sections.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -48,9 +48,6 @@ if ($RSDB_SET_cat != "" && $RSDB_SET_item =="" && $RSDB_SET_group =="") { if ($RSDB_SET_cat == 0) { $result_count_group['cat_comp']=1; - $result_count_group['cat_pack']=1; - $result_count_group['cat_devnet']=1; - $result_count_group['cat_media']=1; } else { $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_categories WHERE cat_id = :cat_id AND cat_visible = '1'"); @@ -63,21 +60,9 @@ else { if ($RSDB_SET_item != "") { $result_count_group['item_comp']=0; - $result_count_group['item_pack']=0; - $result_count_group['item_devnet']=0; - $result_count_group['item_media']=0; if ($RSDB_SET_view == "comp") { $result_count_group['item_comp']=1; - } - if ($RSDB_SET_view == "pack") { - $result_count_group['item_pack']=1; - } - if ($RSDB_SET_view == "devnet") { - $result_count_group['item_devnet']=1; - } - if ($RSDB_SET_view == "media") { - $result_count_group['item_media']=1; } $RSDB_compare_string = 'item'; } @@ -95,27 +80,6 @@ else { echo '<font color="#cccccc"> '. $RSDB_langres['TEXT_compdb_short'] .' </font>'; } - echo ' <font color="#ffffff">|</font> '; - if ($result_count_group[$RSDB_compare_string."_pack"] == "1") { - echo '<a href="'. $RSDB_intern_link_db_view2 .'pack">'. $RSDB_langres['TEXT_packdb_short'] .'</a>'; - } - else { - echo '<font color="#cccccc"> '. $RSDB_langres['TEXT_packdb_short'] .' </font>'; - } - echo ' <font color="#ffffff">|</font> '; - if ($result_count_group[$RSDB_compare_string."_devnet"] == "1") { - echo '<a href="'. $RSDB_intern_link_db_view2 .'devnet">'. $RSDB_langres['TEXT_devnet_short'] .'</a>'; - } - else { - echo '<font color="#cccccc"> '. $RSDB_langres['TEXT_devnet_short'] .' </font>'; - } - echo ' <font color="#ffffff">|</font> '; - if ($result_count_group[$RSDB_compare_string."_media"] == "1") { - echo '<a href="'. $RSDB_intern_link_db_view2 .'media">'. $RSDB_langres['TEXT_mediadb_short'] .'</a>'; - } - else { - echo '<font color="#cccccc"> '. $RSDB_langres['TEXT_mediadb_short'] .' </font>'; - } ?></div></td>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -54,7 +54,7 @@ include("inc/comp/comp_itemver_submit.php"); } else { - include("inc/tree/tree_group.php"); + include("inc/comp/comp_group.php"); } } else {
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name_flat.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name_flat.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_name_flat.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -65,17 +65,7 @@ <td width="20%" bgcolor="#5984C3"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif" ><strong><?php - switch ($RSDB_SET_view) { - case "comp": // Compatibility echo "Application"; - break; - case "pack": // Packages - echo "Package"; - break; - default: - echo "Name"; - break; - }
?></strong></font></div></td> <td width="12%"> <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif" ><strong>Vendor</strong></font></div></td>
Modified: branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_vendor_id.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_vendor_id.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/inc/tree/tree_vendor_id.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -145,17 +145,7 @@ <div align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong> <?php - switch ($RSDB_SET_view) { - case "comp": // Compatibility echo "Application"; - break; - case "pack": // Packages - echo "Package"; - break; - default: - echo "Name"; - break; - }
?> </strong></font></div></td>
Modified: branches/danny-web/reactos.org/htdocs/compat/index.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/index.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/index.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -296,26 +296,9 @@ default: case "db": // developer interface //require($RSDB_intern_path_server.$RSDB_intern_loginsystem_path."inc/login.php"); - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: $RSDB_SET_view = "comp"; $rpm_page_title="Support Database - Compatibility"; $RSDB_intern_section_script = "inc/comp.php"; - break; - case "pack": // Packages - $rpm_page_title="Support Database - Packages"; - $RSDB_intern_section_script = "inc/pack.php"; - break; - case "devnet": // Developer Network - $rpm_page_title="Support Database - Developer Network"; - $RSDB_intern_section_script = "inc/devnet.php"; - break; - case "media": // Media - $rpm_page_title="Support Database - Media"; - $RSDB_intern_section_script = "inc/media.php"; - break; - }
include("inc/header.php"); create_head($rpm_page_title, $rpm_logo, $RSDB_langres);
Modified: branches/danny-web/reactos.org/htdocs/compat/rsdb_config.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/com... ============================================================================== --- branches/danny-web/reactos.org/htdocs/compat/rsdb_config.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/compat/rsdb_config.php [iso-8859-1] Thu Apr 2 13:03:34 2009 @@ -168,9 +168,6 @@ // Views $RSDB_intern_link_db_view_comp = $RSDB_intern_link_db_view."comp"; - $RSDB_intern_link_db_view_pack = $RSDB_intern_link_db_view."pack"; - $RSDB_intern_link_db_view_devnet = $RSDB_intern_link_db_view."devnet"; - $RSDB_intern_link_db_view_media = $RSDB_intern_link_db_view."media"; // Category $RSDB_intern_link_category_all = $RSDB_intern_link_db_sec.$RSDB_SET_sec."&cat=".$RSDB_SET_cat."&cat2=".$RSDB_SET_cat2; @@ -337,100 +334,29 @@ // Views $RSDB_intern_trigger_comp = "0"; - $RSDB_intern_trigger_pack = "0"; - $RSDB_intern_trigger_devnet = "0"; - $RSDB_intern_trigger_media = "0"; - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: $RSDB_intern_trigger_comp = "1"; - break; - case "pack": // Packages - $RSDB_intern_trigger_pack = "1"; - break; - case "devnet": // Developer Network - $RSDB_intern_trigger_devnet = "1"; - break; - case "media": // Media - $RSDB_intern_trigger_media = "1"; - break; - } // Code Snips: // ***********
// Views - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: $RSDB_intern_code_view_name = $RSDB_langres['TEXT_compdb_short']; $RSDB_intern_code_view_shortname = "comp"; $RSDB_intern_code_view_description = $RSDB_langres['CONTENT_compdb_description']; - break; - case "pack": // Packages - $RSDB_intern_code_view_name = $RSDB_langres['TEXT_packdb_short']; - $RSDB_intern_code_view_shortname = "pack"; - $RSDB_intern_code_view_description = $RSDB_langres['CONTENT_packdb_description']; - break; - case "devnet": // Developer Network - $RSDB_intern_code_view_name = $RSDB_langres['TEXT_devnet_long']; - $RSDB_intern_code_view_shortname = "devnet"; - $RSDB_intern_code_view_description = $RSDB_langres['CONTENT_devnet_description_short']; - break; - case "media": // Media - $RSDB_intern_code_view_name = $RSDB_langres['TEXT_mediadb_short']; - $RSDB_intern_code_view_shortname = "media"; - $RSDB_intern_code_view_description = $RSDB_langres['CONTENT_mediadb_description']; - break; - } // Database // rsdb_categories $RSDB_intern_code_db_rsdb_categories_comp = ""; - $RSDB_intern_code_db_rsdb_categories_pack = ""; - $RSDB_intern_code_db_rsdb_categories_devnet = ""; - $RSDB_intern_code_db_rsdb_categories_media = ""; - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: $RSDB_intern_code_db_rsdb_categories_comp = " AND `cat_comp` = '" . $RSDB_intern_trigger_comp . "' "; - break; - case "pack": // Packages - $RSDB_intern_code_db_rsdb_categories_pack = " AND `cat_pack` = '" . $RSDB_intern_trigger_pack . "' "; - break; - case "devnet": // Developer Network - $RSDB_intern_code_db_rsdb_categories_devnet = " AND `cat_devnet` = '" . $RSDB_intern_trigger_devnet . "' "; - break; - case "media": // Media - $RSDB_intern_code_db_rsdb_categories_media = " AND `cat_media` = '" . $RSDB_intern_trigger_media . "' "; - break; - } - $RSDB_intern_code_db_rsdb_categories = $RSDB_intern_code_db_rsdb_categories_comp.$RSDB_intern_code_db_rsdb_categories_pack.$RSDB_intern_code_db_rsdb_categories_devnet.$RSDB_intern_code_db_rsdb_categories_media; + $RSDB_intern_code_db_rsdb_categories = $RSDB_intern_code_db_rsdb_categories_comp; // Code: " . $RSDB_intern_code_db_rsdb_categories . "
// rsdb_groups $RSDB_intern_code_db_rsdb_groups_comp = ""; - $RSDB_intern_code_db_rsdb_groups_pack = ""; - $RSDB_intern_code_db_rsdb_groups_devnet = ""; - $RSDB_intern_code_db_rsdb_groups_media = ""; - switch ($RSDB_SET_view) { - case "comp": // Compatibility - default: $RSDB_intern_code_db_rsdb_groups_comp = " AND `grpentr_comp` = '" . $RSDB_intern_trigger_comp . "' "; - break; - case "pack": // Packages - $RSDB_intern_code_db_rsdb_groups_pack = " AND `grpentr_pack` = '" . $RSDB_intern_trigger_pack . "' "; - break; - case "devnet": // Developer Network - $RSDB_intern_code_db_rsdb_groups_devnet = " AND `grpentr_devnet` = '" . $RSDB_intern_trigger_devnet . "' "; - break; - case "media": // Media - $RSDB_intern_code_db_rsdb_groups_media = " AND `grpentr_media` = '" . $RSDB_intern_trigger_media . "' "; - break; - } - $RSDB_intern_code_db_rsdb_groups = $RSDB_intern_code_db_rsdb_groups_comp.$RSDB_intern_code_db_rsdb_groups_pack.$RSDB_intern_code_db_rsdb_groups_devnet.$RSDB_intern_code_db_rsdb_groups_media; + $RSDB_intern_code_db_rsdb_groups = $RSDB_intern_code_db_rsdb_groups_comp; // Code: " . $RSDB_intern_code_db_rsdb_groups . "
?>