Module: appdb
Branch: master
Commit: 36de1a0d78a4d0ea9f6b62f8a5c3d6a4ad5a4031
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=36de1a0d78a4d0ea9f6b62f8…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Sun Jul 6 18:23:02 2008 +0200
screenshots: Add some space between title bars
---
screenshots.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/screenshots.php b/screenshots.php
index b81c53d..aa55225 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -62,6 +62,7 @@ $oVersion = new Version($aClean['iVersionId']);
if($hResult && query_num_rows($hResult))
{
+ echo ' '; // Add some space between title bars
echo html_frame_start("Screenshot Gallery for ".$oApp->sName, 500);
// display thumbnails
@@ -72,6 +73,8 @@ if($hResult && query_num_rows($hResult))
$bUserIsMaintainerOfVersion = false;
echo "<div align=center><table><tr>\n";
+ echo ' '; // Add some space between title bars
+
while($oRow = query_fetch_object($hResult))
{
// if the current version changed then update the current version
Module: appdb
Branch: master
Commit: ea06e374b74c12d2060761dada091fe56bea7f6f
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=ea06e374b74c12d2060761da…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Sun Jul 6 17:03:16 2008 +0200
objectManager: Fix parameters passed to mail_appdb()
---
include/objectManager.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/objectManager.php b/include/objectManager.php
index b1280ab..b351965 100644
--- a/include/objectManager.php
+++ b/include/objectManager.php
@@ -1529,7 +1529,7 @@ class mail
{
var $sSubject;
var $sMessage;
- var $aRecipients;
+ var $sRecipients;
function mail($aInput, $iRecipientId = null)
{
@@ -1539,7 +1539,7 @@ class mail
/* $aInput is returned from objectGetMail(); an array with the following members
0: Mail subject
1: Mail text
- 2: Array of recipients
+ 2: Space-separated list of recipients
If iRecipientId is set the third array member is ignored. */
$this->sSubject = $aInput[0];
$this->sMessage = $aInput[1];
@@ -1547,10 +1547,10 @@ class mail
if($iRecipientId)
{
$oRecipient = new user($iRecipientId);
- $this->aRecipients = array($oRecipient->sEmail);
+ $this->sRecipients = $oRecipient->sEmail;
} else
{
- $this->aRecipients = $aInput[2];
+ $this->sRecipients = $aInput[2];
}
}
@@ -1573,7 +1573,7 @@ class mail
$this->sMessage .= $sReplyText;
- mail_appdb($this->aRecipients, $this->sSubject, $this->sMessage);
+ mail_appdb($this->sRecipients, $this->sSubject, $this->sMessage);
}
}
Module: appdb
Branch: master
Commit: 8bc3b29bd49d45ed2a0438f76b0d02f1cce57990
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=8bc3b29bd49d45ed2a0438f7…
Author: Henti Smith <henti(a)lsd.co.za>
Date: Mon Jul 7 09:20:24 2008 +0200
* fix user grant syntax to correctly grant permissions
---
tables/bugzilla_tables.sql | 3 +--
tables/create_apidb_base.sql | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tables/bugzilla_tables.sql b/tables/bugzilla_tables.sql
index 316b365..82bca0b 100644
--- a/tables/bugzilla_tables.sql
+++ b/tables/bugzilla_tables.sql
@@ -3,8 +3,7 @@ create database if not exists bugs;
use bugs;
/* make sure the wineowner user has access to the bugs database */
-grant all on bugs.* to wineowner;
-
+grant all on bugs.* to 'wineowner'@'localhost';
drop table if exists versions;
diff --git a/tables/create_apidb_base.sql b/tables/create_apidb_base.sql
index cb73f2e..dd33972 100644
--- a/tables/create_apidb_base.sql
+++ b/tables/create_apidb_base.sql
@@ -1,2 +1,2 @@
create database if not exists apidb;
-grant all on apidb.* to wineowner;
+grant all on apidb.* to 'wineowner'@'localhost';
Module: appdb
Branch: master
Commit: 2afd981cda8f0aeac9eb899c80389c38c73ef753
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=2afd981cda8f0aeac9eb899c…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Sun Jun 29 16:44:46 2008 +0200
Minor language improvements on the AppDB front page
---
index.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/index.php b/index.php
index 27c0e9d..147045f 100644
--- a/index.php
+++ b/index.php
@@ -27,9 +27,9 @@ $str_benefits="
<li>Ability to customize the layout and behavior of the AppDB and comments system</li>
<li>Take credit for your witty posts</li>
<li>Ability to sign up to be an <a href=\"".BASE."help/?sTopic=maintainer_guidelines\"
- title=\"information about application maintainers\" style=\"cursor: help\">application maintainer</a>.</li>
- <li>Submit new applications and versions.</li>
- <li>Submit new screenshots.</li>
+ title=\"information about application maintainers\" style=\"cursor: help\">application maintainer</a></li>
+ <li>Submit new applications and versions</li>
+ <li>Submit new screenshots</li>
</ul>
";
if(!$_SESSION['current']->isLoggedIn())
@@ -40,7 +40,7 @@ if(!$_SESSION['current']->isLoggedIn())
$str_benefits
- <p>So what are you waiting for, [<a href=\"".login_url()."\">log in</a>]
+ <p>So, what are you waiting for? [<a href=\"".login_url()."\">Log in</a>]
or [<a href=\"account.php?sCmd=new\">register</a>] now! Your help in
stomping out Wine issues will be greatly appreciated.</p>";
} else
@@ -66,7 +66,7 @@ if(!$_SESSION['current']->isLoggedIn())
$hResult = query_parameters($voteQuery);
$oRow = query_fetch_object($hResult);
- echo "There are <b>$iNumApps</b> applications currently in the database";
+ echo "There are <b>$iNumApps</b> applications currently in the database,";
// don't mention the top application if there are no votes yet
if( !empty($oRow) )