diff options
-rwxr-xr-x | editcomponents.cgi | 6 | ||||
-rwxr-xr-x | editproducts.cgi | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi index adf41ea1f..67ccfcd8a 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -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; } diff --git a/editproducts.cgi b/editproducts.cgi index 5cc10ddc2..07dbcc9e3 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -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; |