htdocs/archive: change index.php to use new archive
This commit is contained in:
parent
3185b1b118
commit
2d73b3ef0d
|
@ -37,16 +37,13 @@ uninitialized variables, unused functions" />
|
||||||
</div> <!-- #tabs -->
|
</div> <!-- #tabs -->
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h1>Submit file</h1>
|
<h1>Cppcheck - Archive</h1>
|
||||||
<form action="http://cppcheck.sf.net/cgi-bin/submit.cgi" method="get">
|
<p>This archive is for useful Cppcheck rules and library configuration files.</p>
|
||||||
<p>Name:</p>
|
|
||||||
<input name="name" size="30" />
|
<p> If you have a rule or library configuration that you want to share, use this
|
||||||
<p>Copy/paste the file data:</p>
|
archive. Feel free to add any library or rule here.</p>
|
||||||
<textarea name="data" rows="10" cols="40"></textarea>
|
|
||||||
<br />
|
<? virtual('../cgi-bin/report.cgi') ?>
|
||||||
<br />
|
|
||||||
<input type="submit" value="Submit" />
|
|
||||||
</form>
|
|
||||||
</div> <!-- .wrap -->
|
</div> <!-- .wrap -->
|
||||||
</div> <!-- #content -->
|
</div> <!-- #content -->
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -97,7 +97,7 @@ void generatepage(const char msg[])
|
||||||
puts("Content-type: text/html\r\n\r\n");
|
puts("Content-type: text/html\r\n\r\n");
|
||||||
puts("<html>");
|
puts("<html>");
|
||||||
puts("<head><script>");
|
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("</script></head>");
|
||||||
puts("<body>");
|
puts("<body>");
|
||||||
puts(msg);
|
puts(msg);
|
||||||
|
|
Loading…
Reference in New Issue