+
+ =_("New Client Certificate")?>
+
+
+ =_("Add")?>
+ =_("Address")?>
+
+
+
+ $query = "select * from `email` where `memid`='" . intval($_SESSION[ 'profile' ][ 'id' ] ) . "' and `deleted`=0 and `hash`=''";
+ $res = mysql_query($query );
+ while ($row = mysql_fetch_assoc($res))
+ { ?>
+
+
+ =sanitizeHTML($row['email'])?>
+
+ }
+ if ($_SESSION[ 'profile' ][ 'points' ] >= 50 )
+ {
+ $fname = $_SESSION[ 'profile' ][ 'fname' ];
+ $mname = $_SESSION[ 'profile' ][ 'mname' ];
+ $lname = $_SESSION[ 'profile' ][ 'lname' ];
+ $suffix = $_SESSION[ 'profile' ][ 'suffix' ];
+ ?>
+
+
+
+ = _("No Name") ?>
+ if ($fname && $lname ) { ?>
+
+ = _("Include") ?> '= $fname . " " . $lname ?>'
+ } ?>
+ if ($fname && $mname && $lname ) { ?>
+
+ = _("Include") ?> '= $fname . " " . $mname . " " . $lname ?> '
+ } ?>
+ if ($fname && $lname && $suffix ) { ?>
+
+ = _("Include") ?> '= $fname . " " . $lname . " " . $suffix ?> '
+ } ?>
+ if ($fname && $mname && $lname && $suffix ) { ?>
+
+ = _("Include") ?> '= $fname . " " . $mname . " " . $lname . " " . $suffix ?>'
+ } ?>
+
+
+ } ?>
+
+
+
+
+
+
+ = _("Enable certificate login with this certificate") ?>
+ = _("By allowing certificate login, this certificate can be used to login into this account at https://secure.cacert.org/ .") ?>
+
+
+
+
+ = _("Optional comment, only used in the certificate overview") ?>
+
+
+
- $query = "select * from `email` where `memid`='".intval($_SESSION['profile']['id'])."' and `deleted`=0 and `hash`=''";
- $res = mysql_query($query);
- while($row = mysql_fetch_assoc($res))
- { ?>
-
-
- =sanitizeHTML($row['email'])?>
-
- }
-if($_SESSION['profile']['points'] >= 50)
-{
- $fname = $_SESSION['profile']['fname'];
- $mname = $_SESSION['profile']['mname'];
- $lname = $_SESSION['profile']['lname'];
- $suffix = $_SESSION['profile']['suffix'];
-?>
-
-
-
- =_("No Name")?>
- if($fname && $lname) { ?>
-
- =_("Include")?> '=$fname." ".$lname?>'
- } ?>
- if($fname && $mname && $lname) { ?>
-
- =_("Include")?> '=$fname." ".$mname." ".$lname?>'
- } ?>
- if($fname && $lname && $suffix) { ?>
-
- =_("Include")?> '=$fname." ".$lname." ".$suffix?>'
- } ?>
- if($fname && $mname && $lname && $suffix) { ?>
-
- =_("Include")?> '=$fname." ".$mname." ".$lname." ".$suffix?>'
- } ?>
-
-
- } ?>
-
-
-
-
-
-
- =_("Enable certificate login with this certificate")?>
- =_("By allowing certificate login, this certificate can be used to login into this account at https://secure.cacert.org/ .")?>
-
-
-
-
- =_("Optional comment, only used in the certificate overview")?>
-
-
-
-
-
-
-
-
-
- =_("Show advanced options")?>
-
-
-
-
-if($_SESSION['profile']['points'] >= 50)
-{
-?>
-
-
- =_("Sign by class 1 root certificate")?>
- =_("Sign by class 3 root certificate")?>
- =str_replace("\n", " \n", wordwrap(_("Please note: If you use a certificate signed by the class 3 root, the class 3 root certificate needs to be imported into your email program as well as the class 1 root certificate so your email program can build a full trust path chain."), 125))?>
-
-
- } ?>
-
-
-
- =_("Hash algorithm used when signing the certificate:")?>
-
- foreach (HashAlgorithms::getInfo() as $algorithm => $display_info) {
+ if($_SESSION['profile']['points'] >= 50)
+ {
?>
- />
- =$display_info['name']?>=$display_info['info']?' - '.$display_info['info']:''?>
-
- }
- ?>
-
-
-
- if($_SESSION['profile']['points'] >= 100 && $_SESSION['profile']['codesign'] > 0) { ?>
-
-
-
-
-
- =_("Code Signing")?>
- =_("Please note: By ticking this box you will automatically have your name included in the certificate.")?>
-
-
+
+
+ =_("Sign by class 1 root certificate")?>
+ = _("Sign by class 3 root certificate") ?>
+ = str_replace("\n", " \n", wordwrap(_("Please note: If you use a certificate signed by the class 3 root, the class 3 root certificate needs to be imported into your email program as well as the class 1 root certificate so your email program can build a full trust path chain."), 125 ) ) ?>
+
+
} ?>
-
-
-
-
-
- =_("Add Single Sign On ID Information")?>
- =str_replace("\n", " \n", wordwrap(_("By adding Single Sign On (SSO) ID information to your certificates this could be used to track you, you can also issue certificates with no email addresses that are useful only for Authentication. Please see a more detailed description on our WIKI about it."), 125))?>
- =_("SSO WIKI Entry")?>
-
-
+
+
+ = _("Hash algorithm used when signing the certificate:") ?>
+
+ foreach (HashAlgorithms::getInfo() as $algorithm => $display_info ) {
+ ?>
+ />
+ = $display_info[ 'name' ] ?>= $display_info[ 'info' ] ? ' - ' . $display_info[ 'info' ] : '' ?>
+
+ }
+ ?>
+
+
-
-
- =_("Optional Client CSR, no information on the certificate will be used")?>
-
-
-
+ if ($_SESSION[ 'profile' ][ 'points' ] >= 100 && $_SESSION[ 'profile' ][ 'codesign' ] > 0 ) { ?>
+
+
+
+
+
+ = _("Code Signing") ?>
+ = _("Please note: By ticking this box you will automatically have your name included in the certificate.") ?>
+
+
+ } ?>
+
+
+
+
+
+ = _("Add Single Sign On ID Information") ?>
+ = str_replace("\n", " \n", wordwrap(_("By adding Single Sign On (SSO) ID information to your certificates this could be used to track you, you can also issue certificates with no email addresses that are useful only for Authentication. Please see a more detailed description on our WIKI about it."), 125 ) ) ?>
+ = _("SSO WIKI Entry") ?>
+
+
-
-
-
-
-
- =sprintf(_("I accept the CAcert Community Agreement (%s)."),"CCA ")?>
- =_("Please note: You need to accept the CCA to proceed.")?>
-
-
-
- " />
-
-
-