From aef50da4f12297228851e2ab0c94075eba02204a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 14 Sep 2006 00:18:13 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=11154 --- checkin_notes | 17 ++++++ doc/client_msgs.php | 2 +- doc/download_other.php | 93 +++++++++++++++++--------------- html/ops/create_forums.php | 46 +++++++--------- html/project.sample/project.inc | 2 + html/user/forum_sample_index.php | 58 -------------------- py/Boinc/setup_project.py | 2 - 7 files changed, 88 insertions(+), 132 deletions(-) delete mode 100644 html/user/forum_sample_index.php diff --git a/checkin_notes b/checkin_notes index 8b68e63c19..d1390709e7 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10208,3 +10208,20 @@ David 12 Sept 2006 html/user top_teams.php top_users.php + +David 12 Sept 2006 + bugs that affect newly-created projects: + + - remove outdated forum_sample_index.php (just use forum_index.php) + - include util.inc in project.inc + - create_forums.php is a script, not a web page + + html/ + ops/ + create_forums.php + project.sample/ + project.inc + user/ + forum_sample_index.php (removed) + py/Boinc/ + setup_project.py diff --git a/doc/client_msgs.php b/doc/client_msgs.php index e21df9939e..75fa7ae1c8 100644 --- a/doc/client_msgs.php +++ b/doc/client_msgs.php @@ -113,7 +113,7 @@ list_item_func("", list_item_func("", "Updates to on_frac, active_frac, connected_frac." ); -list_item_func("", +list_item_func("", "Debugging information about network communication" ); list_item_func("", diff --git a/doc/download_other.php b/doc/download_other.php index 0f5926708f..bb430e29a2 100644 --- a/doc/download_other.php +++ b/doc/download_other.php @@ -4,10 +4,6 @@ require_once("docutil.php"); page_head("Other sources of BOINC client software"); -function site($url, $name, $platforms) { - echo "$name$platforms\n"; -} - echo "

The following sites offer downloads of BOINC software @@ -18,57 +14,59 @@ Use them at your own risk. Read Installing the command-line client.

"; -list_start(); -list_heading_array(array( - "Site", "Platforms", "Programs available" -)); -list_item_array(array( +$site_list = array( +array( + "lunatics.at", + "Linux and Windows/x86", + "BOINC and SETI@home. + Also, How-Tos + for BOINC and SETI@home compilation for Linux and Windows." +), +array( "boinc.truxoft.com", "Windows/Intel", "BOINC client (optimized; benchmarks more closely match optimized SETI@home clients)" -)); -list_item_array(array( +), +array( "Harold Naparst", "Linux/x86", "SETI@home application" -)); -list_item_array(array( +), +array( "SETI@home and BOINC on Linux", "Mandrake Linux", "BOINC and SETI@home (graphical versions)" -)); -list_item_array(array( +), +array( "macnn.com", "Mac OS X", "SETI@home app" -)); -list_item_array(array( +), +array( "nekochan.net", "SGI Irix 6.5.22 and above", "BOINC client 5.4.9 and SETI@home enhanced 5.12." -)); -if (0) { -list_item_array(array( - "Erik Trauschke", - "Irix", - "BOINC core client and SETI@home app" -)); -} -list_item_array(array( +), +//array( +// "Erik Trauschke", +// "Irix", +// "BOINC core client and SETI@home app" +//), +array( "SETI@BOINC (English, Dutch)", "Windows", "SETI@home" -)); -list_item_array(array( +), +array( "SETI-Linux", "Linux i686, linux athlon xp, Linux AMD64, Linux Pentium 3. Some Links to other Platforms", "BOINC, SETI@home" -)); -list_item_array(array( +), +array( " alioth.debian.org; installation instructions at @@ -78,18 +76,18 @@ list_item_array(array( "BOINC core client, BOINC manager and SETI@home" -)); -list_item_array(array( +), +array( "Matthias Pilch", "Windows, Linux on DEC, IA64, FreeBSD", "BOINC, SETI@home, SETI@home Enhanced" -)); -list_item_array(array( +), +array( "SETI@Kulthea.net", "Linux on Sparc64", "BOINC, SETI@home" -)); -list_item_array(array( +), +array( "Stefan Urbat", "Solaris: SPARC, AMD64 (Opteron) and x86
GNU/Linux: AMD64 (Opteron), PowerPC, Itanium, s390 @@ -100,27 +98,36 @@ list_item_array(array(
NetBSD: x86 ", "BOINC core client, SETI@home" -)); +), -list_item_array(array( +array( " Team MacNN", "Mac OS X, 10.2.8 and 10.3.x, G3/G4/G5", "BOINC core client, SETI@home" -)); -list_item_array(array( +), +array( "SOLARIS@x86", "Solaris 9 on Intel x86", "BOINC core client, SETI@home" -)); -list_item_array(array( +), +array( "FreeBSD.org", "FreeBSD on a variety of hardware.", "BOINC core client, SETI@home " -)); +), +); +list_start(); +list_heading_array(array( + "Site", "Platforms", "Programs available" +)); +shuffle($site_list); +foreach ($site_list as $site) { + list_item_array($site); +} list_end(); echo " If you have a download server not listed here, diff --git a/html/ops/create_forums.php b/html/ops/create_forums.php index 83d769897d..a0950b07b1 100644 --- a/html/ops/create_forums.php +++ b/html/ops/create_forums.php @@ -1,5 +1,8 @@ - Please make sure to alter the default forums in this file before executing.
- Yes, i had done. -

"; -} +$catid = create_category(0, "Platform-specific problems", 1); +create_forum($catid, 0, "Windows", "Installing and running BOINC on Windows"); +create_forum($catid, 1, "Unix/Linux", "Installing and running BOINC on Unix and Linux"); +create_forum($catid, 2, "Macintosh", "Installing and running BOINC on Mac OS/X"); +$catid = create_category(1, "General issues", 1); +create_forum($catid, 3, "Getting started", "Creating your account"); +create_forum($catid, 4, "Preferences", "Using preferences"); +create_forum($catid, 5, "Wish list", "What new features would you like to see?"); +create_forum($catid, 6, "Web site", "Issues involving this web site"); admin_page_tail(); +$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit ?> diff --git a/html/project.sample/project.inc b/html/project.sample/project.inc index bf53271e0e..ac5ef93bca 100644 --- a/html/project.sample/project.inc +++ b/html/project.sample/project.inc @@ -4,6 +4,8 @@ // Modify it to suit your project. // Put your version in html/project/project.inc +require_once("../inc/util.inc"); + $master_url = parse_config(get_config(), ""); define("PROJECT", "Test Project"); define("URL_BASE", $master_url); diff --git a/html/user/forum_sample_index.php b/html/user/forum_sample_index.php deleted file mode 100644 index b9da604c05..0000000000 --- a/html/user/forum_sample_index.php +++ /dev/null @@ -1,58 +0,0 @@ - - If you have a question or problem, please use the - Questions/problems - area instead of the Message boards.

-

-"; -if (true) { - echo " -

- - - - -
- "; -} else { - echo " - Do a keyword search of messages. -

- "; -} - -function show_category($category) { - echo " - - ", $category->name, " - - "; - - $forums = getForums($category->id); - while ($forum = mysql_fetch_object($forums)) { - show_forum_summary($forum); - } -} - -function show_forums() { - $categories = getCategories(); - while ($category = mysql_fetch_object($categories)) { - show_category($category); - } -} - -start_forum_table(array("Topic", "Threads", "Posts", "Last post")); -show_forums(); -end_table(); -page_tail(); -?> diff --git a/py/Boinc/setup_project.py b/py/Boinc/setup_project.py index 98f04303af..f50981e50e 100644 --- a/py/Boinc/setup_project.py +++ b/py/Boinc/setup_project.py @@ -474,8 +474,6 @@ class Project: self.dir('html/project/project_news.inc')) install(srcdir('html/project.sample/cache_parameters.inc'), self.dir('html/project/cache_parameters.inc')) - install(srcdir('html/user', 'forum_sample_index.php'), - self.dir('html/user/forum_index.php')) install(srcdir('html/user', 'sample_rss_main.php'), self.dir('html/user/rss_main.php')) install(srcdir('html/ops', 'sample_server_status.php'),