- resulting html pages are valid html 4.01 transitionnal
This commit is contained in:
@@ -65,13 +65,13 @@ if($commentsPerPage > 100) $commentsPerPage = 100;
|
|||||||
|
|
||||||
/* display page selection links */
|
/* display page selection links */
|
||||||
echo "<center>";
|
echo "<center>";
|
||||||
echo "<b>Page $currentPage of $totalPages</b><br>";
|
echo "<b>Page $currentPage of $totalPages</b><br />";
|
||||||
display_range($currentPage, $pageRange, $totalPages, $commentsPerPage);
|
display_range($currentPage, $pageRange, $totalPages, $commentsPerPage);
|
||||||
echo "<br>";
|
echo "<br />";
|
||||||
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 disable */
|
||||||
echo "<form method=get name=message>";
|
echo "<form method=\"get\" name=\"message\" action=\"".$_SERVER['PHP_SELF']."\">";
|
||||||
echo "<b>Number of comments per page:</b>";
|
echo "<b>Number of comments per page:</b>";
|
||||||
echo "<select name='commentsPerPage'>";
|
echo "<select name='commentsPerPage'>";
|
||||||
|
|
||||||
|
|||||||
@@ -31,23 +31,23 @@ function display_index ()
|
|||||||
$d = opendir($help_path);
|
$d = opendir($help_path);
|
||||||
while($entry = readdir($d))
|
while($entry = readdir($d))
|
||||||
{
|
{
|
||||||
array_push($files, $entry);
|
array_push($files, $entry);
|
||||||
}
|
}
|
||||||
closedir($d);
|
closedir($d);
|
||||||
|
|
||||||
//sort dir
|
// sort dir
|
||||||
sort($files);
|
sort($files);
|
||||||
|
|
||||||
// display dir
|
// display dir
|
||||||
while (list($key,$file) = each($files))
|
while (list($key,$file) = each($files))
|
||||||
{
|
{
|
||||||
if(!ereg("(.+)\\.help$", $file, $arr))
|
if(!ereg("(.+)\\.help$", $file, $arr))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$id = $arr[1];
|
$id = $arr[1];
|
||||||
$title = get_help_title("$help_path/$file");
|
$title = get_help_title("$help_path/$file");
|
||||||
|
|
||||||
echo " <li> <a href='".$apidb_root."help?topic=$id'> $title </a> </li><p>\n";
|
echo " <li> <a href='".$apidb_root."help?topic=$id'> $title </a><p /></li>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</ul><hr noshade>\n";
|
echo "</ul><hr noshade>\n";
|
||||||
|
|||||||
@@ -31,10 +31,10 @@ function global_sidebar_menu() {
|
|||||||
function app_search_box($q = '')
|
function app_search_box($q = '')
|
||||||
{
|
{
|
||||||
global $apidb_root;
|
global $apidb_root;
|
||||||
$str = '<form method="get" action="'.$apidb_root.'search.php">'."\n";
|
$str = "</span><form method=\"get\" action=\"".$apidb_root."search.php\">\n";
|
||||||
$str .= "<input type=text name=q value='$q' size=8 class=searchfield>";
|
$str .= "<input type=text name=q value='$q' size=8 class=searchfield>";
|
||||||
$str .= "<input type=submit value='Search' class=searchbutton>\n";
|
$str .= "<input type=submit value='Search' class=searchbutton>\n";
|
||||||
$str .= "</form>\n";
|
$str .= "</form>\n<span>";
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
16
index.php
16
index.php
@@ -2,6 +2,7 @@
|
|||||||
/***********************************/
|
/***********************************/
|
||||||
/* Application Database Index Page */
|
/* Application Database Index Page */
|
||||||
/***********************************/
|
/***********************************/
|
||||||
|
|
||||||
include("path.php");
|
include("path.php");
|
||||||
require(BASE."include/"."incl.php");
|
require(BASE."include/"."incl.php");
|
||||||
|
|
||||||
@@ -33,7 +34,7 @@ stomping out Wine issues will be greatly appreciated.</p>
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you have anything to contribute (screenshots, howtos), contact us at:
|
If you have anything to contribute (screenshots, howtos), contact us at:
|
||||||
<a href="mailto:appdb@winehq.org">appdb@winehq.org</a><br>
|
<a href="mailto:appdb@winehq.org">appdb@winehq.org</a><br />
|
||||||
Note that this address is not for end-user support, for end user support please contact the
|
Note that this address is not for end-user support, for end user support please contact the
|
||||||
wine-users mailing list or the wine newsgroup, for more information visit
|
wine-users mailing list or the wine newsgroup, for more information visit
|
||||||
<a href="http://www.winehq.com/site/forums">this page</a>
|
<a href="http://www.winehq.com/site/forums">this page</a>
|
||||||
@@ -56,9 +57,10 @@ wine-users mailing list or the wine newsgroup, for more information visit
|
|||||||
echo "There are <b>$numApps</b> applications currently in the database with\n";
|
echo "There are <b>$numApps</b> applications currently in the database with\n";
|
||||||
echo "<a href='appview.php?appId=$voteAppId'>$voteAppName</a> being the\n";
|
echo "<a href='appview.php?appId=$voteAppId'>$voteAppName</a> being the\n";
|
||||||
echo "top <a href='votestats.php'>voted</a> application.\n";
|
echo "top <a href='votestats.php'>voted</a> application.\n";
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
<h2>Wine 0.9 Supported Applications List</h2>
|
<h2>Wine 0.9 Supported Applications List</h2>
|
||||||
|
|
||||||
<p>This is a working version of the application lists which we hope to
|
<p>This is a working version of the application lists which we hope to
|
||||||
@@ -68,7 +70,7 @@ direct formatting related flames to <a href="mailto:dpaun@rogers.com">Dimitrie O
|
|||||||
|
|
||||||
<h3>The Gold List</h3>
|
<h3>The Gold List</h3>
|
||||||
<p>Applications which install and run virtually flawless on a
|
<p>Applications which install and run virtually flawless on a
|
||||||
out-of-the-box Wine installation make it to the Gold list: <br>
|
out-of-the-box Wine installation make it to the Gold list: </p>
|
||||||
<table class=gold>
|
<table class=gold>
|
||||||
<tr class=rowtitle>
|
<tr class=rowtitle>
|
||||||
<th>Application</th><th>Version</th><th>Description</th><th>Tucows top</th><th>Notes</th><th>Screenshot</th>
|
<th>Application</th><th>Version</th><th>Description</th><th>Tucows top</th><th>Notes</th><th>Screenshot</th>
|
||||||
@@ -173,10 +175,10 @@ direct formatting related flames to <a href="mailto:dpaun@rogers.com">Dimitrie O
|
|||||||
<td><span class=todo>[TODO]</span></td>
|
<td><span class=todo>[TODO]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</p>
|
<br />
|
||||||
<h3>The Silver List</h3>
|
<h3>The Silver List</h3>
|
||||||
<p>The Silver list contains apps which we hope we can easily fix so they make it
|
<p>The Silver list contains apps which we hope we can easily fix so they make it
|
||||||
to Gold status:<br>
|
to Gold status:</p>
|
||||||
<table class=silver>
|
<table class=silver>
|
||||||
<tr class=rowtitle>
|
<tr class=rowtitle>
|
||||||
<th>Application</th><th>Version</th><th>Description</th><th>Tucows top</th><th>Notes</th><th>Screenshot</th>
|
<th>Application</th><th>Version</th><th>Description</th><th>Tucows top</th><th>Notes</th><th>Screenshot</th>
|
||||||
@@ -266,8 +268,8 @@ echo "<td><a href='".$apidb_root."appview.php?appId=288'>WinMX</a></td>";
|
|||||||
<td><span class=todo>[TODO]</span></td>
|
<td><span class=todo>[TODO]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</p>
|
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
<h2>Other Wine Application Compatibility Sites</h2>
|
<h2>Other Wine Application Compatibility Sites</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ if($HTTP_POST_VARS)
|
|||||||
apidb_header("Vote Stats - Top $topNumber Applications");
|
apidb_header("Vote Stats - Top $topNumber Applications");
|
||||||
|
|
||||||
/* display the selection for the top number of apps to view */
|
/* display the selection for the top number of apps to view */
|
||||||
echo "<form method=post name=message>";
|
echo "<form method=\"post\" name=\"message\" action=\"".$_SERVER['PHP_SELF']."\">";
|
||||||
echo "<b>Number of top apps to display:</b>";
|
echo "<b>Number of top apps to display:</b>";
|
||||||
echo "<select name='topNumber'>";
|
echo "<select name='topNumber'>";
|
||||||
$topNumberArray = array(25, 50, 100, 200);
|
$topNumberArray = array(25, 50, 100, 200);
|
||||||
@@ -118,11 +118,11 @@ if($subs)
|
|||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
echo "<input type=submit value='Refresh'>";
|
echo "<input type=\"submit\" value=\"Refresh\" />";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
echo "<br>";
|
echo "<br />";
|
||||||
echo "<br>";
|
echo "<br />";
|
||||||
|
|
||||||
/***************************************************/
|
/***************************************************/
|
||||||
/* build a list of the apps in the chosen category */
|
/* build a list of the apps in the chosen category */
|
||||||
@@ -157,8 +157,8 @@ if($result)
|
|||||||
{
|
{
|
||||||
if ($c % 2 == 1) { $bgcolor = "color0"; } else { $bgcolor = "color1"; }
|
if ($c % 2 == 1) { $bgcolor = "color0"; } else { $bgcolor = "color1"; }
|
||||||
$link = "<a href='appview.php?appId=$row->appId'>$row->appName</a>";
|
$link = "<a href='appview.php?appId=$row->appId'>$row->appName</a>";
|
||||||
echo "<tr class='".$bgcolor."'><td width='90%'>$c. $link </td> <td> $row->count </td></tr>\n";
|
echo "<tr class='".$bgcolor."'><td width='90%'>$c. $link </td> <td> $row->count </td></tr>\n";
|
||||||
$c++;
|
$c++;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo html_table_end();
|
echo html_table_end();
|
||||||
@@ -168,7 +168,7 @@ if($result)
|
|||||||
/* think that something went wrong with the server */
|
/* think that something went wrong with the server */
|
||||||
if($c == 1)
|
if($c == 1)
|
||||||
{
|
{
|
||||||
echo "<h2><center>No apps found in this category</center></h2>";
|
echo "<h2 align=\"center\">No apps found in this category</h2>";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<center><a href='help/?topic=voting'>What does this screen mean?</a></center>\n";
|
echo "<center><a href='help/?topic=voting'>What does this screen mean?</a></center>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user