Assorted spelling and typo fixes

This commit is contained in:
Francois Gouget
2005-01-29 00:43:41 +00:00
committed by WineHQ
parent cb710aa5b9
commit a8f2cd5865
11 changed files with 17 additions and 17 deletions

View File

@@ -72,8 +72,8 @@ if(!isset($appId))
3) it makes it easier to understand where your vars are comming from (forms, session, etc.)
- variables naming
variables that don't come from outside your script (i.e. that arent fetched from superglobals) should be named this way
(a.k.a hungariant notation):
variables that don't come from outside your script (i.e. that aren't fetched from superglobals) should be named this way
(a.k.a hungarian notation):
prefix + var_name
Where prefix is one of:

View File

@@ -58,8 +58,8 @@ if ($_REQUEST['sub'])
echo "an email will be sent to the author of the submission.<p>\n";
echo " <b>App Version</b> This type of application will be nested under the selected application parent.\n";
echo "<p>Click delete to remove the selected item from the queue. An email will automatically be sent to the\n";
echo "submitter to let them know the item was deleted.</p>\n\n";
echo "<p>Click delete to remove the selected item from the queue an email will automatically be sent to the\n";
echo "submitter to let him know the item was deleted.</p>\n\n";
echo "</td></tr></table></div>\n\n";
echo '<input type=hidden name=type value="ver">',"\n";

View File

@@ -70,7 +70,7 @@ display_range($currentPage, $pageRange, $totalPages, $commentsPerPage);
echo "<br />";
echo "<br />";
/* display the option to choose how many comments per-page to disable */
/* display the option to choose how many comments per-page to display */
echo "<form method=\"get\" name=\"message\" action=\"".$_SERVER['PHP_SELF']."\">";
echo "<b>Number of comments per page:</b>";
echo "<select name='commentsPerPage'>";

View File

@@ -136,7 +136,7 @@ if(isset($_REQUEST['submit']))
}
}
// Process changed URL's
// Process changed URLs
for($i = 0; $i < $_REQUEST['rows']; $i++)
{

View File

@@ -51,7 +51,7 @@ reviewed and categorized by a maintainer.</p>
<p><b>Q: How can I submit HowTo's and Screenshots?</b></p>
<blockquote>
<p><b>A:</b> We love to hear from our users. Send those helpful HowTo's and
<p><b>A:</b> We love to hear from our users. Send those helpful HowTos and
Screenshots right on over to <a href="mailto:appdb@winehq.org">appdb@winehq.org</a>.
We'll be happy to post them, and give you proper credit for your great contribution.</p>
</blockquote>

View File

@@ -59,7 +59,7 @@ or <a href="http://pan.rebelbase.com/">Pan</a>. or via the web at
<li><a href="http://www.freenode.net">Freenode.net</a> hosts a chat room for
Wine. You can access the chat room using an IRC program such as
<a href="http://www.xchat.org/">X-Chat</a>. Use the settings listed below.</li><p>
<a href="http://www.xchat.org/">Xchat</a>. Use the settings listed below.</li><p>
<blockquote>
<b>Server:</b> irc.freenode.net<br>

View File

@@ -3,7 +3,7 @@
<h3>Application DB Privacy Policy</h3>
<p>
<b>WineHQ is decidated to the privacy of its users.</b><br>
<b>WineHQ is dedicated to the privacy of its users.</b><br>
<ul>
Whatever specific information you give to us will be used only to enable user
specific features of the Application Database. We will give your information

View File

@@ -28,7 +28,7 @@ pessimistic.
<li> <b>0</b> -- Unrated.
<li> <b>1</b> -- Totally nonfunctional. Crashes on load.
<li> <b>2</b> -- Partial functionality. Good enough for a carefully scripted demo.
<li> <b>3</b> -- Sufficient functionality for noncritical work. Occasional crashes okay,
<li> <b>3</b> -- Sufficient functionality for non critical work. Occasional crashes okay,
as are weird setup problems, required patches, or missing major functionality.
Alpha quality.
<li> <b>4</b> -- Substantially correct. Good enough for general use, with possible

View File

@@ -14,7 +14,7 @@ define("APPDB_SCREENSHOT_MAXWIDTH","800"); // width of the screenshot's thumbnai
define("APPDB_SCREENSHOT_MAXHEIGHT","600"); // height of the screenshot's thumbnails
define("APPDB_ROOT", "http://appdb.winehq.org/"); // path to AppDB
define("STANDARD_NOTIFY_FOOTER","------- You are receiving this mail because: -------\n".
"You are an maintainer of this application or an AppDB administrator\n".
"You are a maintainer of this application or an AppDB administrator\n".
"to change your preferences go to: ".APPDB_ROOT."preferences.php\n");
define("APPDB_OWNER","WineHQ"); // with what product/company is this AppDB related ?
define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company

View File

@@ -164,7 +164,7 @@ function redirect($url)
}
/**
* redirect back to referer, or else to the main page
* redirect back to referrer, or else to the main page
*/
function redirectref($url = null)
{
@@ -190,7 +190,7 @@ function addmsg($text, $color = "black")
$sQuery = "INSERT INTO sessionMessages VALUES (null, null, '".session_id()."', '$text')";
if (!mysql_query($sQuery,$hAppdbLink))
{
echo "An error has occured in addmsg(): ".mysql_error($hAppdbLink);
echo "An error has occurred in addmsg(): ".mysql_error($hAppdbLink);
echo $text;
}
}

View File

@@ -79,7 +79,7 @@ class User {
"email = '$sEmail' AND ".
"password = password('$sPassword')");
if(!$result)
return "A database error occured";
return "A database error occurred";
if(mysql_num_rows($result) == 0)
return "Invalid e-mail or password";
@@ -171,7 +171,7 @@ class User {
$sEmail = $this->email;
$result = query_appdb("DELETE FROM user_list WHERE email = '".$sEmail."'");
if(!$result)
return "A database error occured";
return "A database error occurred";
return 0;
}
@@ -222,7 +222,7 @@ class User {
/**
* check if this user is an maintainer of a given appId/versionId
* check if this user is a maintainer of a given appId/versionId
*/
function is_maintainer($appId, $versionId)
{
@@ -245,7 +245,7 @@ class User {
/*
* check if this user is an maintainer of a given appId/versionId
* check if this user is a maintainer of a given appId/versionId
*/
function is_super_maintainer($appId)
{