- drop version specific keywords
- drop version specific url - let user add links for versions (installation, support, whatever) - use application description and version description to display version description - don't provide a link in the cat_path to go in the same page we already are - various html improvement and fixes in modified lines
This commit is contained in:
@@ -238,10 +238,11 @@ else
|
||||
|
||||
echo html_table_end();
|
||||
echo html_frame_end();
|
||||
|
||||
echo "</form>";
|
||||
|
||||
// url edit form
|
||||
echo '<form enctype="multipart/form-data" action="editAppFamily.php" method="post">',"\n";
|
||||
echo '<input type=hidden name="appId" value='.$ob->appId.'>';
|
||||
echo html_frame_start("Edit URL","90%","",0);
|
||||
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">',"\n";
|
||||
|
||||
@@ -282,7 +283,7 @@ else
|
||||
|
||||
echo '</table>',"\n";
|
||||
echo html_frame_end();
|
||||
|
||||
echo "</form>";
|
||||
echo html_back_link(1,BASE."appview.php?appId=$ob->appId");
|
||||
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ if(!($_SESSION['current']->hasPriv("admin") || $_SESSION['current']->isMaintaine
|
||||
if(isset($_REQUEST['submit1']))
|
||||
{
|
||||
if($_REQUEST['submit1'] == "Update Database")
|
||||
|
||||
{
|
||||
$statusMessage = '';
|
||||
// Get the old values from the database
|
||||
@@ -29,16 +28,12 @@ if(isset($_REQUEST['submit1']))
|
||||
$result = query_appdb($query);
|
||||
$ob = mysql_fetch_object($result);
|
||||
$old_versionName = $ob->versionName;
|
||||
$old_keywords = $ob->keywords;
|
||||
$old_description = $ob->description;
|
||||
$old_webPage = $ob->webPage;
|
||||
$old_rating = $ob->maintainer_rating;
|
||||
$old_release = $ob->maintainer_release;
|
||||
|
||||
$versionName = $_REQUEST['versionName'];
|
||||
$keywords = $_REQUEST['keywords'];
|
||||
$description = $_REQUEST['description'];
|
||||
$webPage = $_REQUEST['webPage'];
|
||||
$maintainer_rating = $_REQUEST['maintainer_rating'];
|
||||
$maintainer_release = $_REQUEST['maintainer_release'];
|
||||
|
||||
@@ -50,18 +45,6 @@ if(isset($_REQUEST['submit1']))
|
||||
$WhatChanged .= " New Value: ".$versionName."\n";
|
||||
$VersionChanged = true;
|
||||
}
|
||||
if ($old_keywords <> $keywords)
|
||||
{
|
||||
$WhatChanged .= " Key Words: Old Value: ".stripslashes($old_keywords)."\n";
|
||||
$WhatChanged .= " New Value: ".$keywords."\n";
|
||||
$VersionChanged = true;
|
||||
}
|
||||
if ($old_webPage <> $webPage)
|
||||
{
|
||||
$WhatChanged .= " Web Page: Old Value: ".stripslashes($old_webPage)."\n";
|
||||
$WhatChanged .= " New Value: ".$webPage."\n";
|
||||
$VersionChanged = true;
|
||||
}
|
||||
if ($old_description <> $description)
|
||||
{
|
||||
$WhatChanged .= " Description: Old Value:\n";
|
||||
@@ -93,16 +76,17 @@ if(isset($_REQUEST['submit1']))
|
||||
{
|
||||
$sUpdate = compile_update_string( array('versionName' => $versionName,
|
||||
'description' => $description,
|
||||
'webPage' => $webPage,
|
||||
'keywords' => $keywords,
|
||||
'maintainer_rating' => $maintainer_rating,
|
||||
'maintainer_release' => $maintainer_release));
|
||||
|
||||
$query = "UPDATE appVersion SET $sUpdate WHERE appId = ".$_REQUEST['appId']." and versionId = ".$_REQUEST['versionId'];
|
||||
$sQuery = "UPDATE appVersion
|
||||
SET $sUpdate
|
||||
WHERE appId = '".$_REQUEST['appId']."'
|
||||
AND versionId = '".$_REQUEST['versionId']."'";
|
||||
// success
|
||||
if (query_appdb($query))
|
||||
if (query_appdb($sQuery))
|
||||
{
|
||||
$sEmail = getNotifyEmailAddressList($_REQUEST['appId'], $_REQUEST['versionId']);
|
||||
$sEmail = get_notify_email_address_list($_REQUEST['appId'], $_REQUEST['versionId']);
|
||||
if($sEmail)
|
||||
{
|
||||
$sFullAppName = "Application: ".lookupAppName($_REQUEST['appId'])." Version: ".lookupVersionName($_REQUEST['appId'], $_REQUEST['versionId']);
|
||||
@@ -117,59 +101,183 @@ if(isset($_REQUEST['submit1']))
|
||||
}
|
||||
addmsg("The Version was successfully updated in the database", "green");
|
||||
redirect(apidb_fullurl("appview.php?appId=".$_REQUEST['appId']."&versionId=".$_REQUEST['versionId']));
|
||||
}
|
||||
else
|
||||
} else
|
||||
{
|
||||
//error
|
||||
redirect(apidb_fullurl("admin/editAppVersion.php?appId=".$_REQUEST['appId']."&versionId=".$_REQUEST['versionId']));
|
||||
}
|
||||
|
||||
} else
|
||||
{
|
||||
addmsg("Nothing changed", "red");
|
||||
redirect(apidb_fullurl("admin/editAppVersion.php?appId=".$_REQUEST['appId']."&versionId=".$_REQUEST['versionId']));
|
||||
}
|
||||
}
|
||||
else if($_REQUEST['submit1'] == "Update URL")
|
||||
{
|
||||
|
||||
$sWhatChanged = "";
|
||||
$bAppChanged = false;
|
||||
|
||||
if (!empty($_REQUEST['url_desc']) && !empty($_REQUEST['url']) )
|
||||
{
|
||||
// process added URL
|
||||
if($_SESSION['current']->showDebuggingInfos()) { echo "<p align=center><b>{$_REQUEST['url']}:</b> {$_REQUEST['url_desc']} </p>"; }
|
||||
|
||||
$aInsert = compile_insert_string( array( 'appId' => $_REQUEST['appId'],
|
||||
'versionId' => $_REQUEST['versionId'],
|
||||
'type' => 'url',
|
||||
'description' => $_REQUEST['url_desc'],
|
||||
'url' => $_REQUEST['url']));
|
||||
|
||||
$sQuery = "INSERT INTO appData ({$aInsert['FIELDS']}) VALUES ({$aInsert['VALUES']})";
|
||||
|
||||
if($_SESSION['current']->showDebuggingInfos()) { echo "<p align=center><b>query:</b> $sQuery </p>"; }
|
||||
|
||||
if (query_appdb($sQuery))
|
||||
{
|
||||
addmsg("The URL was successfully added into the database", "green");
|
||||
$sWhatChanged .= " Added Url: Description: ".stripslashes($_REQUEST['url_desc'])."\n";
|
||||
$sWhatChanged .= " Url: ".stripslashes($_REQUEST['url'])."\n";
|
||||
$bAppChanged = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Process changed URLs
|
||||
for($i = 0; $i < $_REQUEST['rows']; $i++)
|
||||
{
|
||||
if($_SESSION['current']->showDebuggingInfos()) { echo "<p align=center><b>{$_REQUEST['adescription'][$i]}:</b> {$_REQUEST['aURL'][$i]}: {$_REQUEST['adelete'][$i]} : {$_REQUEST['aId'][$i]} : .{$_REQUEST['aOldDesc'][$i]}. : {$_REQUEST['aOldURL'][$i]}</p>"; }
|
||||
|
||||
if ($_REQUEST['adelete'][$i] == "on")
|
||||
{
|
||||
$hResult = query_appdb("DELETE FROM appData WHERE id = '{$_REQUEST['aId'][$i]}'");
|
||||
|
||||
if($hResult)
|
||||
{
|
||||
addmsg("<p><b>Successfully deleted URL ".$_REQUEST['aOldDesc'][$i]." (".$_REQUEST['aOldURL'][$i].")</b></p>\n",'green');
|
||||
$sWhatChanged .= "Deleted Url: Description: ".stripslashes($_REQUEST['aOldDesc'][$i])."\n";
|
||||
$sWhatChanged .= " url: ".stripslashes($_REQUEST['aOldURL'][$i])."\n";
|
||||
$bAppChanged = true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else if( $_REQUEST['aURL'][$i] != $_REQUEST['aOldURL'][$i] || $_REQUEST['adescription'][$i] != $_REQUEST['aOldDesc'][$i])
|
||||
{
|
||||
if(empty($_REQUEST['aURL'][$i]) || empty($_REQUEST['adescription'][$i]))
|
||||
addmsg("The URL or description was blank. URL not changed in the database", "red");
|
||||
else
|
||||
{
|
||||
$sUpdate = compile_update_string( array( 'description' => $_REQUEST['adescription'][$i],
|
||||
'url' => $_REQUEST['aURL'][$i]));
|
||||
if (query_appdb("UPDATE appData SET $sUpdate WHERE id = '{$_REQUEST['aId'][$i]}'"))
|
||||
{
|
||||
addmsg("<p><b>Successfully updated ".$_REQUEST['aOldDesc'][$i]." (".$_REQUEST['aOldURL'][$i].")</b></p>\n",'green');
|
||||
$sWhatChanged .= "Changed Url: Old Description: ".stripslashes($_REQUEST['aOldDesc'][$i])."\n";
|
||||
$sWhatChanged .= " Old Url: ".stripslashes($_REQUEST['aOldURL'][$i])."\n";
|
||||
$sWhatChanged .= " New Description: ".stripslashes($_REQUEST['adescription'][$i])."\n";
|
||||
$sWhatChanged .= " New url: ".stripslashes($_REQUEST['aURL'][$i])."\n";
|
||||
$bAppChanged = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($bAppChanged)
|
||||
{
|
||||
$sEmail = get_notify_email_address_list($_REQUEST['appId']);
|
||||
if($sEmail)
|
||||
{
|
||||
$sFullAppName = "Application: ".lookupAppName($_REQUEST['appId']);
|
||||
$sMsg = APPDB_ROOT."appview.php?appId=".$_REQUEST['appId']."\r\n";
|
||||
$sMsg .= "\r\n";
|
||||
$sMsg .= $_SESSION['current']->realname." changed ".$sFullAppName." \r\n";
|
||||
$sMsg .= "\r\n";
|
||||
$sMsg .= $sWhatChanged."\r\n";
|
||||
$sMsg .= "\r\n";
|
||||
|
||||
mail_appdb($sEmail, $sFullAppName ,$sMsg);
|
||||
}
|
||||
}
|
||||
exit;
|
||||
} else
|
||||
{
|
||||
$query = "SELECT versionName, keywords, ".
|
||||
"description, webPage, maintainer_rating, maintainer_release from appVersion WHERE ".
|
||||
"appId = '".$_REQUEST['appId']."' and versionId = '".$_REQUEST['versionId']."'";
|
||||
if(debugging()) { echo "<p align=center><b>query:</b> $query </p>"; }
|
||||
|
||||
$result = query_appdb($query);
|
||||
list($versionName, $keywords, $description, $webPage, $maintainer_rating, $maintainer_release) = mysql_fetch_row($result);
|
||||
$sQuery = "SELECT *
|
||||
FROM appVersion
|
||||
WHERE appId = '".$_REQUEST['appId']."'
|
||||
AND versionId = '".$_REQUEST['versionId']."'";
|
||||
$hResult = query_appdb($sQuery);
|
||||
$oRow = mysql_fetch_object($hResult);
|
||||
|
||||
apidb_header("Edit Application Version");
|
||||
|
||||
echo "<form method=post action='editAppVersion.php'>\n";
|
||||
echo html_frame_start("Data for Application ID: ".$_REQUEST['appId']." Version ID: ".$_REQUEST['versionId'], "90%","",0);
|
||||
echo html_table_begin("width='100%' border=0 align=left cellpadding=6 cellspacing=0 class='box-body'");
|
||||
|
||||
echo '<input type=hidden name="appId" value='.$_REQUEST['appId'].' />';
|
||||
echo '<input type=hidden name="appId" value='.$_REQUEST['appId'].' />';
|
||||
echo '<input type=hidden name="versionId" value='.$_REQUEST['versionId'].' />';
|
||||
echo '<input type="hidden" name="appId" value='.$_REQUEST['appId'].' />';
|
||||
echo '<input type="hidden" name="versionId" value='.$_REQUEST['versionId'].' />';
|
||||
echo '<tr><td class=color1>Name</td><td class=color0>'.lookupAppName($_REQUEST['appId']).'</td></tr>',"\n";
|
||||
echo '<tr><td class=color4>Version</td><td class=color0><input size=80% type="text" name="versionName" type="text" value="'.$versionName.'" /></td></tr>',"\n";
|
||||
echo '<tr><td class=color1>Keywords</td><td class=color0><input size=80% type="text" name="keywords" value="'.$keywords.'" /></td></tr>',"\n";
|
||||
echo '<tr><td class=color4>Description</td><td class=color0>', "\n";
|
||||
echo '<textarea cols=$80 rows=$30 name="description">'.stripslashes($description).'</textarea></td></tr>',"\n";
|
||||
echo '<tr><td class=color1>Web Page</td><td class=color0><input size=80% type="text" name="webPage" value="'.$webPage.'" /></td></tr>',"\n";
|
||||
echo '<tr><td class=color4>Rating</td><td class=color0>',"\n";
|
||||
make_maintainer_rating_list("maintainer_rating", $maintainer_rating);
|
||||
echo '<tr><td class=color4>Version</td><td class=color0><input size=80% type="text" name="versionName" type="text" value="'.$oRow->versionName.'" /></td></tr>',"\n";
|
||||
echo '<tr><td class="color4">Version specific description</td><td class="color0">', "\n";
|
||||
echo '<textarea cols="80" rows="30" name="description">'.$oRow->description.'</textarea></td></tr>',"\n";
|
||||
echo '<tr><td class="color4">Rating</td><td class="color0">',"\n";
|
||||
make_maintainer_rating_list("maintainer_rating", $oRow->maintainer_rating);
|
||||
echo '</td></tr>',"\n";
|
||||
echo '<tr><td class=color1>Release</td><td class=color0>',"\n";
|
||||
make_bugzilla_version_list("maintainer_release", $maintainer_release);
|
||||
make_bugzilla_version_list("maintainer_release", $oRow->maintainer_release);
|
||||
echo '</td></tr>',"\n";
|
||||
|
||||
echo '<tr><td colspan=2 align=center class=color3><input type="submit" name=submit1 value="Update Database" /></td></tr>',"\n";
|
||||
|
||||
echo html_table_end();
|
||||
echo html_frame_end();
|
||||
echo "</form>";
|
||||
|
||||
echo html_back_link(1);
|
||||
// url edit form
|
||||
echo '<form enctype="multipart/form-data" action="editAppVersion.php" method="post">',"\n";
|
||||
echo '<input type=hidden name="appId" value='.$_REQUEST['appId'].'>';
|
||||
echo '<input type=hidden name="versionId" value='.$_REQUEST['versionId'].'>';
|
||||
echo html_frame_start("Edit URL","90%","",0);
|
||||
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">',"\n";
|
||||
|
||||
$i = 0;
|
||||
$result = query_appdb("SELECT * FROM appData WHERE appId = ".$_REQUEST['appId']." AND versionId = ".$_REQUEST['versionId']." AND type = 'url'");
|
||||
if($result && mysql_num_rows($result) > 0)
|
||||
{
|
||||
echo '<tr><td class=color1><b>Delete</b></td><td class=color1>',"\n";
|
||||
echo '<b>Description</b></td><td class=color1><b>URL</b></td></tr>',"\n";
|
||||
while($ob = mysql_fetch_object($result))
|
||||
{
|
||||
$temp0 = "adelete[".$i."]";
|
||||
$temp1 = "adescription[".$i."]";
|
||||
$temp2 = "aURL[".$i."]";
|
||||
$temp3 = "aId[".$i."]";
|
||||
$temp4 = "aOldDesc[".$i."]";
|
||||
$temp5 = "aOldURL[".$i."]";
|
||||
echo '<tr><td class=color3><input type="checkbox" name="'.$temp0.'"></td>',"\n";
|
||||
echo '<td class=color3><input size="45" type="text" name="'.$temp1.'" value ="'.stripslashes($ob->description).'"</td>',"\n";
|
||||
echo '<td class=color3><input size="45" type="text" name="'.$temp2.'" value="'.$ob->url.'"></td></tr>',"\n";
|
||||
echo '<input type="hidden" name="'.$temp3.'" value="'.$ob->id.'" />';
|
||||
echo '<input type="hidden" name="'.$temp4.'" value="'.stripslashes($ob->description).'" />';
|
||||
echo '<input type="hidden" name="'.$temp5.'" value="'.$ob->url.'" />',"\n";
|
||||
$i++;
|
||||
}
|
||||
} else
|
||||
{
|
||||
echo '<tr><td class=color1></td><td class="color1"><b>Description</b></td>',"\n";
|
||||
echo '<td class=color1><b>URL</b></td></tr>',"\n";
|
||||
}
|
||||
echo "</td></tr>\n";
|
||||
echo "<input type=hidden name='rows' value='$i'>";
|
||||
|
||||
echo '<tr><td class=color1>New</td><td class=color1><input size="45" type="text" name="url_desc"></td>',"\n";
|
||||
echo '<td class=color1><input size=45% name="url" type="text"></td></tr>',"\n";
|
||||
|
||||
echo '<tr><td colspan=3 align=center class="color3"><input type="submit" name="submit1" value="Update URL"></td></tr>',"\n";
|
||||
|
||||
echo '</table>',"\n";
|
||||
echo html_frame_end();
|
||||
echo "</form>";
|
||||
echo html_back_link(1,BASE."appview.php?appId=$ob->appId&versionId=$ob->versionId");
|
||||
apidb_footer();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
50
appview.php
50
appview.php
@@ -7,15 +7,14 @@
|
||||
* application environment
|
||||
*/
|
||||
include("path.php");
|
||||
require(BASE."include/"."incl.php");
|
||||
require(BASE."include/"."application.php");
|
||||
require(BASE."include/"."comments.php");
|
||||
require(BASE."include/"."appdb.php");
|
||||
|
||||
require(BASE."include/"."vote.php");
|
||||
require(BASE."include/"."category.php");
|
||||
require(BASE."include/"."screenshot.php");
|
||||
require(BASE."include/"."maintainer.php");
|
||||
require(BASE."include/incl.php");
|
||||
require(BASE."include/application.php");
|
||||
require(BASE."include/comments.php");
|
||||
require(BASE."include/appdb.php");
|
||||
require(BASE."include/vote.php");
|
||||
require(BASE."include/category.php");
|
||||
require(BASE."include/screenshot.php");
|
||||
require(BASE."include/maintainer.php");
|
||||
|
||||
|
||||
/**
|
||||
@@ -224,24 +223,24 @@ if($appId && !$versionId)
|
||||
echo " <tr><td>\n";
|
||||
|
||||
echo ' <table width="250" border=0 cellpadding=3 cellspacing=1">',"\n";
|
||||
echo " <tr class=color0 valign=top><td width='100' align=right> <b>Name</b></td><td width='100%'> ".stripslashes($data->appName)." </td>\n";
|
||||
echo " <tr class=color1 valign=top><td align=right> <b>Vendor</b></td><td> ".
|
||||
echo " <tr class=color0 valign=top><td width=\"100\"><b>Name</b></td><td width='100%'> ".stripslashes($data->appName)." </td>\n";
|
||||
echo " <tr class=\"color1\"><td><b>Vendor</b></td><td> ".
|
||||
" <a href='vendorview.php?vendorId=$vendor->vendorId'> ".stripslashes($vendor->vendorName)." </a> \n";
|
||||
echo " <tr class=color0 valign=top><td align=right> <b>BUGS</b></td><td> ".
|
||||
" <a href='bugs.php?appId=$data->appId.'> Check for bugs in bugzilla </a> \n";
|
||||
echo " <tr class=\"color0\"><td><b>BUGS</b></td><td> ".
|
||||
" <a href='bugs.php?appId=$data->appId.'>Check for bugs in bugzilla </a> \n";
|
||||
echo " </td></tr>\n";
|
||||
echo " <tr class=color0 valign=top><td align=right> <b>Votes</b></td><td> ";
|
||||
echo " <tr class=\"color0\"><td><b>Votes</b></td><td> ";
|
||||
echo vote_count_app_total($data->appId);
|
||||
echo " </td></tr>\n";
|
||||
|
||||
// main URL
|
||||
echo " <tr class=color1 valign=top><td align=right> <b>URL</b></td><td>".$appLinkURL."</td></tr>\n";
|
||||
echo " <tr class=\"color1\"><td><b>URL</b></td><td>".$appLinkURL."</td></tr>\n";
|
||||
|
||||
// optional links
|
||||
$result = query_appdb("SELECT * FROM appData WHERE appId = $appId AND type = 'url'");
|
||||
$result = query_appdb("SELECT * FROM appData WHERE appId = $appId AND versionID = 0 AND type = 'url'");
|
||||
if($result && mysql_num_rows($result) > 0)
|
||||
{
|
||||
echo " <tr class=color1><td valign=top align=right> <b>Links</b></td><td>\n";
|
||||
echo " <tr class=\"color1\"><td> <b>Links</b></td><td>\n";
|
||||
while($ob = mysql_fetch_object($result))
|
||||
{
|
||||
echo " <a href='$ob->url'>".substr(stripslashes($ob->description),0,30)."</a> <br />\n";
|
||||
@@ -376,11 +375,22 @@ else if($appId && $versionId)
|
||||
echo '<table width="250" border=0 cellpadding=3 cellspacing=1">',"\n";
|
||||
echo "<tr class=color0 valign=top><td width=100> <b>Name</b></td><td width='100%'>".stripslashes($data->appName)."</td>\n";
|
||||
echo "<tr class=color1 valign=top><td> <b>Version</b></td><td>".stripslashes($ver->versionName)."</td></tr>\n";
|
||||
echo "<tr class=color0 valign=top><td> <b>URL</b></td><td>".stripslashes($appLinkURL)."</td></tr>\n";
|
||||
|
||||
// links
|
||||
$result = query_appdb("SELECT * FROM appData WHERE appId = $appId AND versionID = $versionId AND type = 'url'");
|
||||
if($result && mysql_num_rows($result) > 0)
|
||||
{
|
||||
echo " <tr class=\"color1\"><td><b>Links</b></td><td>\n";
|
||||
while($ob = mysql_fetch_object($result))
|
||||
{
|
||||
echo " <a href='$ob->url'>".substr(stripslashes($ob->description),0,30)."</a> <br />\n";
|
||||
}
|
||||
echo " </td></tr>\n";
|
||||
}
|
||||
|
||||
// rating Area
|
||||
echo "<tr class=color1 valign=top><td> <b>Maintainer Rating</b></td><td>".stripslashes($ver->maintainer_rating)."</td></tr>\n";
|
||||
echo "<tr class=color0 valign=top><td> <b>Maintainers Version</b></td><td>".stripslashes($ver->maintainer_release)."</td></tr>\n";
|
||||
echo "<tr class=\"color1\" valign=\"top\"><td> <b>Maintainer Rating</b></td><td>".stripslashes($ver->maintainer_rating)."</td></tr>\n";
|
||||
echo "<tr class=\"color0\" valign=\"top\"><td> <b>Maintainers Version</b></td><td>".stripslashes($ver->maintainer_release)."</td></tr>\n";
|
||||
|
||||
// image
|
||||
$img = get_screenshot_img($appId, $versionId);
|
||||
|
||||
@@ -200,10 +200,15 @@ function make_cat_path($path, $appId = '', $versionId = '')
|
||||
|
||||
if(!empty($appId))
|
||||
{
|
||||
$str .= " > ".html_ahref(appIdToName($appId),"appview.php?appId=$appId");
|
||||
|
||||
if(!empty($versionId))
|
||||
$str .= " > ".html_ahref(versionIdToName($versionId),"appview.php?appId=".$appId."&versionId=".$versionId);
|
||||
{
|
||||
$str .= " > ".html_ahref(appIdToName($appId),"appview.php?appId=$appId");
|
||||
$str .= " > ".versionIdToName($versionId);
|
||||
}
|
||||
else
|
||||
{
|
||||
$str .= " > ".appIdToName($appId);
|
||||
}
|
||||
}
|
||||
|
||||
return $str;
|
||||
|
||||
@@ -52,11 +52,7 @@ create table appVersion (
|
||||
versionId int not null auto_increment,
|
||||
appId int not null,
|
||||
versionName varchar(100) not null,
|
||||
keywords text,
|
||||
description text,
|
||||
webPage varchar(100),
|
||||
rating_windows float default 0.0,
|
||||
rating_fake float default 0.0,
|
||||
maintainer_rating text,
|
||||
maintainer_release text,
|
||||
key(versionId)
|
||||
|
||||
Reference in New Issue
Block a user