- no more appId in appData as appVersion implies an appId*
- screenshot class has been reworked to remove need of appId - screenshot class has been improved to send e-mails so that email handling can be removed from other scripts
This commit is contained in:
@@ -5,12 +5,10 @@
|
||||
|
||||
include("path.php");
|
||||
require(BASE."include/incl.php");
|
||||
require(BASE."include/mail.php");
|
||||
require(BASE."include/screenshot.php");
|
||||
require(BASE."include/tableve.php");
|
||||
require(BASE."include/category.php");
|
||||
require(BASE."include/mail.php");
|
||||
|
||||
apidb_header("Admin Application Data Queue");
|
||||
require(BASE."include/application.php");
|
||||
|
||||
// deny access if not admin
|
||||
if(!$_SESSION['current']->hasPriv("admin"))
|
||||
@@ -23,19 +21,23 @@ if(!$_SESSION['current']->hasPriv("admin"))
|
||||
// shows the list of appdata in queue
|
||||
if (!$_REQUEST['queueId'])
|
||||
{
|
||||
//get available appData
|
||||
$sQuery = "SELECT * from appDataQueue;";
|
||||
|
||||
apidb_header("Admin Application Data Queue");
|
||||
|
||||
// get available appData
|
||||
$sQuery = "SELECT appDataQueue.*, appVersion.appId AS appId
|
||||
FROM appDataQueue, appVersion
|
||||
WHERE appVersion.versionId = appDataQueue.versionID;";
|
||||
$hResult = query_appdb($sQuery);
|
||||
|
||||
if(!$hResult || !mysql_num_rows($hResult))
|
||||
{
|
||||
//no appData in queue
|
||||
// no appData in queue
|
||||
echo html_frame_start("","90%");
|
||||
echo '<p><b>The App Data Queue is empty.</b></p>',"\n";
|
||||
echo '<p>There is nothing for you to do. Check back later.</p>',"\n";
|
||||
echo html_frame_end(" ");
|
||||
}
|
||||
else
|
||||
} else
|
||||
{
|
||||
//help
|
||||
echo "<div align=center><table width='90%' border=0 cellpadding=3 cellspacing=0><tr><td>\n\n";
|
||||
@@ -59,49 +61,36 @@ if (!$_REQUEST['queueId'])
|
||||
$c = 1;
|
||||
while($ob = mysql_fetch_object($hResult))
|
||||
{
|
||||
if($_SESSION['current']->isMaintainer($ob->queueappId,
|
||||
$ob->queueversionId)
|
||||
|| $_SESSION['current']->hasPriv("admin"))
|
||||
{
|
||||
if ($c % 2 == 1) { $bgcolor = 'color0'; } else { $bgcolor = 'color1'; }
|
||||
echo "<tr class=$bgcolor>\n";
|
||||
echo " <td>".date("Y-n-t h:i:sa", $ob->submitTime)." </td>\n";
|
||||
echo " <td><a href='adminAppDataQueue.php?queueId=$ob->queueId'>".$ob->queueId."</a></td>\n";
|
||||
if($ob->userId)
|
||||
{
|
||||
$oUser = new User($ob->userId);
|
||||
echo " <td>".$oUser->sRealname." (".$oUser->sEmail.")</td>\n";
|
||||
}
|
||||
else
|
||||
echo " <td>Anonymous</td>\n";
|
||||
echo "<td>".appIdToName($ob->appId)."</td>\n";
|
||||
echo "<td>".versionIdToName($ob->versionId)."</td>\n";
|
||||
echo "<td>".$ob->type."</td>\n";
|
||||
echo "</tr>\n\n";
|
||||
$c++;
|
||||
if ($c % 2 == 1) { $bgcolor = 'color0'; } else { $bgcolor = 'color1'; }
|
||||
echo "<tr class=$bgcolor>\n";
|
||||
echo " <td>".date("Y-n-t h:i:sa", $ob->submitTime)." </td>\n";
|
||||
echo " <td><a href='adminAppDataQueue.php?queueId=$ob->queueId'>".$ob->queueId."</a></td>\n";
|
||||
if($ob->userId)
|
||||
{
|
||||
$oUser = new User($ob->userId);
|
||||
echo " <td>".$oUser->sRealname." (".$oUser->sEmail.")</td>\n";
|
||||
}
|
||||
else
|
||||
echo " <td>Anonymous</td>\n";
|
||||
echo "<td>".lookup_app_name($ob->appId)."</td>\n";
|
||||
echo "<td>".lookup_version_name($ob->versionId)."</td>\n";
|
||||
echo "<td>".$ob->type."</td>\n";
|
||||
echo "</tr>\n\n";
|
||||
$c++;
|
||||
}
|
||||
echo "</table>\n\n";
|
||||
echo html_frame_end(" ");
|
||||
}
|
||||
|
||||
}
|
||||
} else // shows a particular appdata
|
||||
{
|
||||
if(!($_SESSION['current']->hasPriv("admin") ||
|
||||
$_SESSION['current']->isMaintainer($obj_row->queueAppId,
|
||||
$obj_row->queueVersionId)))
|
||||
{
|
||||
errorpage("You don't have sufficient privileges to use this page.");
|
||||
exit;
|
||||
}
|
||||
|
||||
$sQuery="SELECT * FROM appDataQueue WHERE queueId='".$_REQUEST['queueId']."'";
|
||||
$hResult=query_appdb($sQuery);
|
||||
$obj_row=mysql_fetch_object($hResult);
|
||||
$sQuery = "SELECT * FROM appDataQueue WHERE queueId='".$_REQUEST['queueId']."'";
|
||||
$hResult = query_appdb($sQuery);
|
||||
$obj_row = mysql_fetch_object($hResult);
|
||||
|
||||
if(!$_REQUEST['sub']=="inside_form")
|
||||
{
|
||||
|
||||
apidb_header("Admin Application Data Queue");
|
||||
|
||||
echo '<form name="qform" action="adminAppDataQueue.php" method="post">',"\n";
|
||||
// help
|
||||
echo "<div align=center><table width='90%' border=0 cellpadding=3 cellspacing=0><tr><td>\n\n";
|
||||
@@ -115,11 +104,11 @@ if (!$_REQUEST['queueId'])
|
||||
|
||||
// app name
|
||||
echo '<tr valign=top><td class=color0><b>App Name</b></td>',"\n";
|
||||
echo "<td>".appIdToName($obj_row->appId)."</td></tr>\n";
|
||||
echo "<td>".lookup_app_name($obj_row->appId)."</td></tr>\n";
|
||||
|
||||
// version
|
||||
echo '<tr valign=top><td class=color0><b>App Version</b></td>',"\n";
|
||||
echo "<td>".versionIdToName($obj_row->versionId)."</td></tr>\n";
|
||||
echo "<td>".lookup_version_name($obj_row->versionId)."</td></tr>\n";
|
||||
|
||||
//dataDescription
|
||||
echo '<tr valign=top><td class=color0><b>Description</b></td>',"\n";
|
||||
@@ -170,85 +159,69 @@ if (!$_REQUEST['queueId'])
|
||||
} elseif ($_REQUEST['add']) // we accepted the request
|
||||
{
|
||||
$statusMessage = "";
|
||||
$goodtogo = 0;
|
||||
$goodtogo = 0;
|
||||
|
||||
if($obj_row->type == "image")
|
||||
{
|
||||
$sQuery = "INSERT INTO appData VALUES (null, ".$obj_row->appId.", ".$obj_row->versionId.", 'image', ".
|
||||
"'".addslashes($_REQUEST['description'])."', '')";
|
||||
query_appdb($sQuery);
|
||||
$iId = mysql_insert_id();
|
||||
|
||||
// we move the content in the live directory
|
||||
rename("../data/queued/screenshots/".$obj_row->queueId, "../data/screenshots/".$iId);
|
||||
rename("../data/queued/screenshots/originals/".$obj_row->queueId, "../data/screenshots/originals/".$iId);
|
||||
rename("../data/queued/screenshots/thumbnails/".$obj_row->queueId, "../data/screenshots/thumbnails/".$iId);
|
||||
|
||||
// we have to update the entry now that we know its name
|
||||
$sQuery = "UPDATE appData SET url = '".$iId."' WHERE id = '".$iId."'";
|
||||
|
||||
$oScreenshot = new Screenshot($obj_row->queueId,true);
|
||||
$oScreenshot->unQueue();
|
||||
}
|
||||
elseif ($obj_row->type == "url") {
|
||||
$query = "INSERT INTO appData VALUES (null, ".$obj_row->appId.", ".$obj_row->versionId.", 'url', ".
|
||||
elseif ($obj_row->type == "url")
|
||||
{ // FIXME: use Link class
|
||||
$query = "INSERT INTO appData VALUES (null, ".$obj_row->versionId.", 'url', ".
|
||||
"'".addslashes($_REQUEST['description'])."', '".$obj_row->url."')";
|
||||
}
|
||||
if (query_appdb($sQuery))
|
||||
{
|
||||
$statusMessage = "<p>The application data was successfully added into the database</p>\n";
|
||||
|
||||
if(debugging()) addmsg("<p align=center><b>query:</b> $query </p>","green");
|
||||
|
||||
if (query_appdb($sQuery))
|
||||
{
|
||||
$statusMessage = "<p>The application data was successfully added into the database</p>\n";
|
||||
|
||||
//delete the item from the queue
|
||||
query_appdb("DELETE from appDataQueue where queueId = ".$obj_row->queueId.";");
|
||||
//delete the item from the queue
|
||||
query_appdb("DELETE from appDataQueue where queueId = ".$obj_row->queueId.";");
|
||||
|
||||
//Send Status Email
|
||||
//Send Status Email
|
||||
$oUser = new User($obj_row->userId);
|
||||
if ($oUser->sEmail)
|
||||
{
|
||||
$sSubject = "Application Data Request Report";
|
||||
$sMsg = "Your submission of an application data for ".lookup_app_name($obj_row->appId).lookup_version_name($obj_row->versionId)." has been accepted. ";
|
||||
$sMsg .= $_REQUEST['replyText'];
|
||||
$sMsg .= "We appreciate your help in making the Application Database better for all users.\r\n";
|
||||
|
||||
mail_appdb($oUser->sEmail, $sSubject ,$sMsg);
|
||||
}
|
||||
}
|
||||
}
|
||||
redirect(apidb_fullurl("admin/adminAppDataQueue.php"));
|
||||
} elseif ($_REQUEST['reject'])
|
||||
{
|
||||
if($obj_row->type == "image")
|
||||
{
|
||||
$oScreenshot = new Screenshot($obj_row->queueId,true);
|
||||
$oScreenshot->delete();
|
||||
}
|
||||
elseif ($obj_row->type == "url")
|
||||
{ // FIXME: use Link class
|
||||
$oUser = new User($obj_row->userId);
|
||||
if ($oUser->sEmail)
|
||||
{
|
||||
$sSubject = "Application Data Request Report";
|
||||
$sMsg = "Your submission of an application data for ".appIdToName($obj_row->appId).versionIdToName($obj_row->versionId)." has been accepted. ";
|
||||
$sMsg = "Your submission of an application data for ".lookup_app_name($obj_row->appId).lookup_version_name($obj_row->versionId)." was rejected. ";
|
||||
$sMsg .= $_REQUEST['replyText'];
|
||||
$sMsg .= "We appreciate your help in making the Application Database better for all users.\r\n";
|
||||
|
||||
mail_appdb($oUser->sEmail, $sSubject ,$sMsg);
|
||||
mail_appdb($oUser->sEmail, $sSubject ,$sMsg);
|
||||
}
|
||||
|
||||
//delete main item
|
||||
$sQuery = "DELETE from appDataQueue where queueId = ".$obj_row->queueId.";";
|
||||
$hResult = query_appdb($sQuery);
|
||||
if($hResult)
|
||||
{
|
||||
//success
|
||||
echo "<p>Application data was successfully deleted from the Queue.</p>\n";
|
||||
}
|
||||
|
||||
//done
|
||||
echo html_frame_start("Submit App Data","600");
|
||||
echo "<p><b>$statusMessage</b></p>\n";
|
||||
}
|
||||
} elseif ($_REQUEST['reject'])
|
||||
{
|
||||
$oUser = new User($obj_row->userId);
|
||||
if ($oUser->sEmail)
|
||||
{
|
||||
$sSubject = "Application Data Request Report";
|
||||
$sMsg = "Your submission of an application data for ".appIdToName($obj_row->appId).versionIdToName($obj_row->versionId)." was rejected. ";
|
||||
$sMsg .= $_REQUEST['replyText'];
|
||||
|
||||
mail_appdb($oUser->sEmail, $sSubject ,$sMsg);
|
||||
}
|
||||
|
||||
//delete main item
|
||||
$sQuery = "DELETE from appDataQueue where queueId = ".$obj_row->queueId.";";
|
||||
unlink("../data/queued/screenshots/".$obj_row->queueId);
|
||||
unlink("../data/queued/screenshots/originals/".$obj_row->queueId);
|
||||
unlink("../data/queued/screenshots/thumbnails/".$obj_row->queueId);
|
||||
|
||||
$hResult = query_appdb($sQuery);
|
||||
echo html_frame_start("Delete application data submission",400,"",0);
|
||||
if($result)
|
||||
{
|
||||
//success
|
||||
echo "<p>Application data was successfully deleted from the Queue.</p>\n";
|
||||
}
|
||||
redirect(apidb_fullurl("admin/adminAppDataQueue.php"));
|
||||
}
|
||||
|
||||
}
|
||||
echo html_frame_end(" ");
|
||||
echo html_back_link(1,'adminAppDataQueue.php');
|
||||
apidb_footer();
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -125,93 +125,6 @@ if(isset($_REQUEST['submit']))
|
||||
}
|
||||
}
|
||||
}
|
||||
else if($_REQUEST['submit'] == "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'],
|
||||
'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 = "Links for ".lookupAppName($_REQUEST['appId'])." have been updated";
|
||||
$sMsg = APPDB_ROOT."appview.php?appId=".$_REQUEST['appId']."\r\n";
|
||||
$sMsg .= "\n";
|
||||
$sMsg .= $_SESSION['current']->sRealname." updated links for ".$sFullAppName." \r\n";
|
||||
$sMsg .= "\n";
|
||||
$sMsg .= $sWhatChanged."\n";
|
||||
mail_appdb($sEmail, $sFullAppName ,$sMsg);
|
||||
}
|
||||
}
|
||||
|
||||
redirect(apidb_fullurl("appview.php?appId={$_REQUEST['appId']}"));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
else
|
||||
// Show the form for editing the Application Family
|
||||
@@ -262,50 +175,6 @@ else
|
||||
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";
|
||||
|
||||
$i = 0;
|
||||
$result = query_appdb("SELECT * FROM appData WHERE appId = $ob->appId AND type = 'url' AND versionId = 0");
|
||||
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=submit 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");
|
||||
|
||||
}
|
||||
|
||||
@@ -121,18 +121,13 @@ if(isset($_REQUEST['submit1']))
|
||||
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'],
|
||||
$aInsert = compile_insert_string( array('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");
|
||||
@@ -145,15 +140,13 @@ if(isset($_REQUEST['submit1']))
|
||||
// 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');
|
||||
addmsg("Successfully deleted URL ".$_REQUEST['aOldDesc'][$i]." (".$_REQUEST['aOldURL'][$i].").","green");
|
||||
$sWhatChanged .= "Deleted Url: Description: ".stripslashes($_REQUEST['aOldDesc'][$i])."\n";
|
||||
$sWhatChanged .= " url: ".stripslashes($_REQUEST['aOldURL'][$i])."\n";
|
||||
$bAppChanged = true;
|
||||
@@ -198,7 +191,7 @@ if(isset($_REQUEST['submit1']))
|
||||
mail_appdb($sEmail, $sSubject ,$sMsg);
|
||||
}
|
||||
}
|
||||
exit;
|
||||
redirect(apidb_fullurl("appview.php?versionId=".$_REQUEST['versionId']));
|
||||
} else
|
||||
{
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user