|
|
@ -734,10 +734,10 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = 12;
|
|
|
|
$id = 12;
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
|
echo "Processing request $id:<br/>";
|
|
|
|
echo "Processing request $id:<br/>";
|
|
|
@ -900,10 +900,10 @@
|
|
|
|
if($oldid == 5 && array_key_exists('renew',$_REQUEST) && $_REQUEST['renew'] != "")
|
|
|
|
if($oldid == 5 && array_key_exists('renew',$_REQUEST) && $_REQUEST['renew'] != "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts`
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts`
|
|
|
@ -964,10 +964,10 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = 5;
|
|
|
|
$id = 5;
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo _("Now revoking the following certificates:")."<br>\n";
|
|
|
|
echo _("Now revoking the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts`
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `emailcerts`
|
|
|
@ -1448,11 +1448,11 @@
|
|
|
|
if($oldid == 18 && array_key_exists('renew',$_REQUEST) && $_REQUEST['renew'] != "")
|
|
|
|
if($oldid == 18 && array_key_exists('renew',$_REQUEST) && $_REQUEST['renew'] != "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = 18;
|
|
|
|
$id = 18;
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo "Renewing certificate #$id ...\n<br/>";
|
|
|
|
echo "Renewing certificate #$id ...\n<br/>";
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
@ -1511,10 +1511,10 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = 18;
|
|
|
|
$id = 18;
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo _("Now revoking the following certificates:")."<br>\n";
|
|
|
|
echo _("Now revoking the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `orgemailcerts`, `org`
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`revoked`) as `revoke` from `orgemailcerts`, `org`
|
|
|
@ -1729,10 +1729,10 @@
|
|
|
|
if($oldid == 22 && array_key_exists('renew',$_REQUEST) && $_REQUEST['renew'] != "")
|
|
|
|
if($oldid == 22 && array_key_exists('renew',$_REQUEST) && $_REQUEST['renew'] != "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
echo _("Now renewing the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`orgdomaincerts`.`revoked`) as `revoke` from
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`orgdomaincerts`.`revoked`) as `revoke` from
|
|
|
@ -1795,10 +1795,10 @@
|
|
|
|
if($oldid == 22 && array_key_exists('revoke',$_REQUEST) && $_REQUEST['revoke'] != "")
|
|
|
|
if($oldid == 22 && array_key_exists('revoke',$_REQUEST) && $_REQUEST['revoke'] != "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
if(is_array($revokeid))
|
|
|
|
if(is_array($_REQUEST['revokeid']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo _("Now revoking the following certificates:")."<br>\n";
|
|
|
|
echo _("Now revoking the following certificates:")."<br>\n";
|
|
|
|
foreach($revokeid as $id)
|
|
|
|
foreach($_REQUEST['revokeid'] as $id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = intval($id);
|
|
|
|
$id = intval($id);
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`orgdomaincerts`.`revoked`) as `revoke` from
|
|
|
|
$query = "select *,UNIX_TIMESTAMP(`orgdomaincerts`.`revoked`) as `revoke` from
|
|
|
|