30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
<? /*
|
|
Copyright (C) 2004 by Duane Groth <duane_at_CAcert_dot_org>
|
|
|
|
This file is part of CAcert.
|
|
|
|
CAcert has been released under the CAcert Source License
|
|
which can be found included with these source files or can
|
|
be downloaded from the internet from the following address:
|
|
http://www.cacert.org/src-lic.php
|
|
|
|
CAcert is distributed WITHOUT ANY WARRANTY; without even
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
PARTICULAR PURPOSE. See the License for more details.
|
|
*/ ?>
|
|
<?
|
|
$_POST['level'] = intval($_POST['level']);
|
|
if($_POST['level'] < 0 || $_POST['level'] > 1)
|
|
$_POST['level'] = 0;
|
|
?>
|
|
<p><?=_("Paste your GPG key below...")?></p>
|
|
<form method="post" action="gpg.php">
|
|
<textarea name="CSR" cols="80" rows="15"><?=$_POST['CSR']?></textarea><br>
|
|
<input type="radio" name="level" value="0"<? if($_POST['level'] == 0) echo " checked"; ?>> Low Trust GPG Key<br>
|
|
<? if($_SESSION['profile']['points'] >= 100) { ?>
|
|
<input type="radio" name="level" value="1"<? if($_POST['level'] == 1) echo " checked"; ?>> High Trust GPG Key<br>
|
|
<? } ?>
|
|
<input type="submit" name="process" value="<?=_("Submit")?>">
|
|
<input type="hidden" name="oldid" value="<?=$id?>">
|
|
</form>
|
|
<p><?=_("Please Note: To receive a high trust GPG signature you need at least 100 assurance points.")?>
|