Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
A few bugfixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnttiKurittu committed Jan 28, 2017
1 parent 6f80b03 commit 55caee8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 30 additions & 0 deletions extra/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,36 @@
<p>This software has been written by Antti Kurittu, who currently works as a senior specialist at the National Cyber Security Center of Finland (FICORA NCSC-FI). German localization work has been done by Dennis Schreiber. If you are interested in contributing, giving feedback or just letting me know you use and enjoy Kirjuri - please <a href="mailto:antti.kurittu@gmail.com">Send me an email</a>! Want to try to hack Kirjuri? Use the demo installation <a href="/hackme/">here</a>. The username is "hacker" and the password is "hunter2". Let me know if you find the secret and how you did it.</p>
<a href="https://github.com/AnttiKurittu/Kirjuri" target="_BLANK" class="btn btn-info"><i class="fa fa-github"></i> Kirjuri on GitHub</a> <a href="https://twitter.com/AnttiKurittu" target="_BLANK" class="btn btn-info"><i class="fa fa-twitter"></i> Me on Twitter</a>
<hr>

<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="//kurittu.us14.list-manage.com/subscribe/post?u=5860442d0016d2cb516f126fe&amp;id=64cc6cad76" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe to our mailing list</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_5860442d0016d2cb516f126fe_64cc6cad76" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>

<!--End mc_embed_signup-->

</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,8 @@ function date_compare($a, $b) {
':tool_id' => $_POST['tool_id'],
':hw_version' => trim(substr($_POST['hw_version'], 0, 64)),
':sw_version' => trim(substr($_POST['sw_version'], 0, 64)),
':hw_version_old' => trim(substr($_POST['hw_version'], 0, 64)),
':sw_version_old' => trim(substr($_POST['sw_version'], 0, 64)),
':hw_version_old' => trim(substr($_POST['hw_version_old'], 0, 64)),
':sw_version_old' => trim(substr($_POST['sw_version_old'], 0, 64)),
':comment' => $_POST['comment'],
':flags' => $_POST['flag1']
));
Expand Down

0 comments on commit 55caee8

Please sign in to comment.