htdocs/archive: change index.php to use new archive

This commit is contained in:
Daniel Marjamäki 2013-07-13 17:17:32 +02:00
parent 3185b1b118
commit 2d73b3ef0d
2 changed files with 8 additions and 11 deletions

View File

@ -37,16 +37,13 @@ uninitialized variables, unused functions" />
</div> <!-- #tabs -->
<div id="content">
<div class="wrap">
<h1>Submit file</h1>
<form action="http://cppcheck.sf.net/cgi-bin/submit.cgi" method="get">
<p>Name:</p>
<input name="name" size="30" />
<p>Copy/paste the file data:</p>
<textarea name="data" rows="10" cols="40"></textarea>
<br />
<br />
<input type="submit" value="Submit" />
</form>
<h1>Cppcheck - Archive</h1>
<p>This archive is for useful Cppcheck rules and library configuration files.</p>
<p> If you have a rule or library configuration that you want to share, use this
archive. Feel free to add any library or rule here.</p>
<? virtual('../cgi-bin/report.cgi') ?>
</div> <!-- .wrap -->
</div> <!-- #content -->
</body>

View File

@ -97,7 +97,7 @@ void generatepage(const char msg[])
puts("Content-type: text/html\r\n\r\n");
puts("<html>");
puts("<head><script>");
puts("function ok() { window.location = \"http://cppcheck.sf.net/archive/test.php\"; }");
puts("function ok() { window.location = \"http://cppcheck.sf.net/archive/\"; }");
puts("</script></head>");
puts("<body>");
puts(msg);