Use the full sourceforge url.

This commit is contained in:
XhmikosR 2013-07-28 19:58:52 +03:00 committed by Daniel Marjamäki
parent 0a97fd972c
commit 9f8fcdddb9
1 changed files with 4 additions and 4 deletions

View File

@ -17,18 +17,18 @@ void listAll(char **data)
puts("function addfile() {"); puts("function addfile() {");
puts(" var name = prompt(\"Name of library/platform/etc\", \"\");"); puts(" var name = prompt(\"Name of library/platform/etc\", \"\");");
puts(" if (name != null)"); puts(" if (name != null)");
puts(" window.location = \"http://cppcheck.sf.net/cgi-bin/addfile.cgi?name=\" + name + \"&version=\" + version;"); puts(" window.location = \"http://cppcheck.sourceforge.net/cgi-bin/addfile.cgi?name=\" + name + \"&version=\" + version;");
puts("}"); puts("}");
puts("function editfile(name,version) {\n"); puts("function editfile(name,version) {\n");
puts(" window.location = \"http://cppcheck.sf.net/cgi-bin/edit.cgi?name=\" + name + \"&version=\" + version;\n"); puts(" window.location = \"http://cppcheck.sourceforge.net/cgi-bin/edit.cgi?name=\" + name + \"&version=\" + version;\n");
puts("}"); puts("}");
puts("function renamefile(name1,version) {\n"); puts("function renamefile(name1,version) {\n");
puts(" var name2 = prompt(\"Name\", name1);\n"); puts(" var name2 = prompt(\"Name\", name1);\n");
puts(" if (name2 != null)\n"); puts(" if (name2 != null)\n");
puts(" window.location = \"http://cppcheck.sf.net/cgi-bin/renamefile.cgi?name1=\" + name1 + \"&name2=\" + name2;\n"); puts(" window.location = \"http://cppcheck.sourceforge.net/cgi-bin/renamefile.cgi?name1=\" + name1 + \"&name2=\" + name2;\n");
puts("}\n"); puts("}\n");
puts("function deletefile(name,version) {\n"); puts("function deletefile(name,version) {\n");
puts(" window.location = \"http://cppcheck.sf.net/cgi-bin/deletefile.cgi?name=\" + name + \"&version=\" + version;\n"); puts(" window.location = \"http://cppcheck.sourceforge.net/cgi-bin/deletefile.cgi?name=\" + name + \"&version=\" + version;\n");
puts("}"); puts("}");
puts("</script>"); puts("</script>");
puts("</head><body>"); puts("</head><body>");