Use the full sourceforge url.
This commit is contained in:
parent
0a97fd972c
commit
9f8fcdddb9
|
@ -17,18 +17,18 @@ void listAll(char **data)
|
|||
puts("function addfile() {");
|
||||
puts(" var name = prompt(\"Name of library/platform/etc\", \"\");");
|
||||
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("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("function renamefile(name1,version) {\n");
|
||||
puts(" var name2 = prompt(\"Name\", name1);\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("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("</script>");
|
||||
puts("</head><body>");
|
||||
|
|
Loading…
Reference in New Issue