[AppDB] Allow people to submit new version from App Parent
Tony Lambregts
tony_lambregts at telusplanet.net
Sat Dec 4 16:47:37 CST 2004
Change log: Allow people to submit new version from App Parent
Files Changed: appsubmit.php appview.php
Index: appsubmit.php
===================================================================
RCS file: /home/wine/appdb/appsubmit.php,v
retrieving revision 1.7
diff -u -r1.7 appsubmit.php
--- appsubmit.php 9 Nov 2004 22:34:49 -0000 1.7
+++ appsubmit.php 4 Dec 2004 23:42:00 -0000
@@ -64,6 +64,7 @@
if( !empty($errors) )
{
errorpage("We found the following errors:","<ul>$errors</ul><br>Please go back and correct them.");
+ echo html_back_link(1);
exit;
}
@@ -190,17 +191,17 @@
//app parent
$x = new TableVE("view");
echo '<tr valign=top><td class=color0><b>App Parent</b></td><td>',"\n";
- $x->make_option_list("queueName","","appFamily","appId","appName");
+ $x->make_option_list("queueName",stripslashes($appId),"appFamily","appId","appName");
echo '</td></tr>',"\n";
echo '<tr valign=top><td class=color0><b>App Version</b></td>',"\n";
- echo '<td><input type=text name="queueVersion" value="" size=20></td></tr>',"\n";
+ echo '<td><input type=text name="queueVersion" size=20 value="'.$queueVersion.'"></td></tr>',"\n";
echo '<tr valign=top><td class=color0><b>App URL</b></td>',"\n";
- echo '<td><input type=text name="queueURL" value="" size=20></td></tr>',"\n";
+ echo '<td><input type=text name="queueURL" size=20 value="'.$queueURL.'"></td></tr>',"\n";
echo '<tr valign=top><td class=color0><b>App Desc</b></td>',"\n";
- echo '<td><textarea name="queueDesc" rows=10 cols=35></textarea></td></tr>',"\n";
+ echo '<td><textarea name="queueDesc" rows=10 cols=35 value="'.$queueDesc.'"></textarea></td></tr>',"\n";
echo '<tr valign=top><td class=color0><b>Email</b></td>',"\n";
echo '<td><input type=text name="queueEmail" value="'.$email.'" size=20></td></tr>',"\n";
Index: appview.php
===================================================================
RCS file: /home/wine/appdb/appview.php,v
retrieving revision 1.10
diff -u -r1.10 appview.php
--- appview.php 1 Dec 2004 22:33:48 -0000 1.10
+++ appview.php 4 Dec 2004 23:42:00 -0000
@@ -325,7 +325,11 @@
}
echo "</td></tr>\n";
}
-
+
+ echo "<tr><td colspan = 2><center>";
+ echo "<a href='appsubmit.php?appId=$data->appId&apptype=2'> Submit New Version </a> \n";
+ echo "</center></td></tr>";
+
echo "</table></td><td class=color2 valign=top width='100%'>\n";
//Desc
More information about the wine-patches
mailing list