|
@@ -132,7 +132,8 @@ discard block |
|
|
block discarded – undo |
|
132
|
132
|
<h2 id="prerequisites">Prerequisites</h2> |
|
133
|
133
|
<?php if ($fileConnCredentErr == '' && $fileChkPrivateKeyErr == ''): ?> |
|
134
|
134
|
<!-- files already exist - no need to show instructions --> |
|
135
|
|
- <?php else: ?> |
|
|
135
|
+ <?php else { |
|
|
136
|
+ : ?> |
|
136
|
137
|
<p> |
|
137
|
138
|
Before you can use this test you have to get credentials at <a href="https://gateway.threema.ch" title="Threema Gateway">gateway.threema.ch</a> and <a href="https://github.com/rugk/threema-msgapi-sdk-php/wiki/How-to-generate-a-new-key-pair-and-send-a-message">create a key pair</a>. After you did so, you have to open <code><?php echo FILENAME_CONNCRED . FILEEXT_EXAMPLE ?></code> and <code><?php echo FILENAME_PRIVKEY . FILEEXT_EXAMPLE ?></code> and add your credentials and private key. Save them without the <code><?php echo FILEEXT_EXAMPLE ?></code> file extension afterwards. |
|
138
|
139
|
By default these files are excluded from git pulls so you will not accidentally publish these sensitive files. |
|
@@ -192,7 +193,9 @@ discard block |
|
|
block discarded – undo |
|
192
|
193
|
You did not prepared your setup correctly to use the test. Please follow the intructions above to setup your environment. |
|
193
|
194
|
</div> |
|
194
|
195
|
<?php else: ?> |
|
195
|
|
- <form id="mainform" action="." method="<?php echo $_SERVER['REQUEST_METHOD']; ?>"> |
|
|
196
|
+ <form id="mainform" action="." method="<?php echo $_SERVER['REQUEST_METHOD']; |
|
|
197
|
+} |
|
|
198
|
+?>"> |
|
196
|
199
|
<div class="formcontainer"> |
|
197
|
200
|
<fieldset id="field_generalsettings"> |
|
198
|
201
|
<legend>General settings</legend> |
Please login to merge, or discard this patch.