以下は JE2BWM ほかが作成した翻訳 です。 原文は University of California より GFDL で配付されており、 この翻訳も GFDL に従います。
原文: Web site overview   (翻訳対象の更新日付は 9:45 PM UTC, July 05 2006 です)。

ウェブサイトの概要

boinc.gif
(英語のみ)

 

翻訳準備中

 

Customizing the default web site

When you create a BOINC project using make_project, a web site is created for you. This consists of a front page (html/user/index.php) and a number of pages that let users log in, edit preferences, create profiles, and so on.

Before your project goes public, you'll want to edit this web site in various ways:

Some of this customization can be done by editing the main page (index.php) and the stylesheet (white.css). Other aspects are changed using a configuration file.

Web configuration file

The file 'html/project/project.inc' serves as a configuration file for your web site. It exists in a separate directory (html/project) so that you can put this directory under CVS and put all project-specific web files there (create symbolic links from html/inc and html/user).

project.inc is generated by make_project with default values. It includes constants:

PROJECT The name of your project
MASTER_URL Your project's master URL
URL_BASE Base URL for web pages
STYLESHEET Name of stylesheet file
COPYRIGHT_HOLDER Name of copyright holder
SYS_ADMIN_EMAIL Users are directed here if they have complaints about message-board moderation. Also, messages about user-of-the-day running low are sent here.
FORUM_MODERATION_EMAIL_USER_ID Moderation-related emails (such as user complaints) are sent here.
INVITE_CODES regular expression used for controlling account creation.
EMAIL_FROM 'from' address for emails
EMAIL_FROM_NAME 'from' name for emails

and variables:

USE_PHPMAILER Set to true if you use PHPMailer. In this case you must download PHPMailer and put it (i.e. the directory 'phpmailer') in your html/inc directory.
PHPMAILER_HOST The Host argument to PHPMailer; typically a semicolon-separated list of SMTP servers.
PHPMAIL_MAILER The Mailer argument to PHPMailer; typically 'sendmail', 'mail', or 'smtp'.

and functions:

project_banner(Web site overview) prints page header
project_banner() prints page footer
show_profile_heading1(), show_profile_heading2() text on user profile page
show_profile_question1(), show_profile_question2() text on user profile page


BOINCの訳のメインページに戻る | (原文のメインページに戻る)
 

最終更新時刻 00:54:24, 2006年08月12日(JST)
Copyright © 2008 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
Copyright © 2008 Komori Hitoshi(je2bwm at jarl.com). Japanese translation from English web pages on BOINC. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.