Bug 65320: Extra options on editproducts.cgi & editcomponents.cgi; r=jouni; a=justdave.

This commit is contained in:
jocuri%softhome.net 2003-11-16 09:30:07 +00:00
parent 852fbd43f7
commit 16287a2f54
2 changed files with 5 additions and 2 deletions

View File

@ -478,11 +478,13 @@ if ($action eq 'new') {
PutTrailer("<a href=\"editcomponents.cgi?product=" .
url_quote($product) . "\">edit</a> more components",
"<a href=\"editcomponents.cgi?product=". url_quote($product) .
"&action=add\">add</a> another component");
"&action=add\">add</a> another component",
"<a href=\"editproducts.cgi?action=add\">add</a> a new product");
} else {
PutTrailer("<a href=\"editcomponents.cgi\">edit</a> more components",
"<a href=\"editcomponents.cgi?action=add\">add</a>" .
"another component");
"another component",
"<a href=\"editproducts.cgi?action=add\">add</a> a new product");
}
exit;
}

View File

@ -436,6 +436,7 @@ if ($action eq 'new') {
print "OK, done.<p>\n";
PutTrailer($localtrailer,
"<a href=\"editproducts.cgi?action=add\">add</a> a new product",
"<a href=\"editcomponents.cgi?action=add&product=" .
url_quote($product) . "\">add</a> components to this new product");
exit;