View Issue Details

IDProjectCategoryView StatusLast Update
0001493Main CAcert Websitewebsite contentpublic2020-09-16 21:19
ReporterL10N Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status needs review & testingResolutionopen 
Summary0001493: Replace Paypal button with IBAN bank account GRKB
DescriptionInstead of the Paypal buttons should be shown:
CAcert Inc bank account Europe (GRKB) CH02 0077 4010 3947 4420 0
CAcert Inc bank account Australia (Westpac) (already displayed)
-------
Bankenclearing: 774
BIC (SWIFT): GRKBCH2270A

Grisons Cantonal Bank, Coire, Switzerland
Graubündner Kantonalbank, Chur, Schweiz
Banque Cantonale des Grisons, Coire, Suisse
Banca Cantonal Grigione, Coira, Svizzera
Banca Chantunela Grischuna, Cuira, Svizra
TagsNo tags attached.
Reviewed by
Test Instructions

Activities

L10N

2020-08-10 11:31

reporter   ~0005901

28.7.2020:
> Ich habe noch nie an der Homepage herumgeschraubt. Aber den Paypal-Knopf
> durch eine IBAN-Nummer zu ersetzen, das traue ich mir noch zu. Könntest
> du mir sagen, wo ich das finde? Vielleicht in einem GIT, wo ich dann
> eine Kopie erstelle, die die hohen Herren dann überprüfen können?

L10N

2020-08-10 11:32

reporter   ~0005902

29.7.2020:
So einfach ist das nicht ... ;-)

Du braucht eine Bug-Nummer dazu (Mantis) ... und lieferst idealerweise
direkt auch den Patch dazu mit.

Die Sourcen kannst du dir ohne git direkt von www.cacert.org runterladen
(muesste jetzt mal schauen, wo genau der Link ist ... aber irgendwo
"unten rechts").

Ted und ich koennen dann den entsprechenden Review machen, damit Ted das
dann an Critical (mich) schicken kann, damit das dann auch auf
www.cacert.org verewigt wird.

(Wenn du schonmal dabei bist: Wirf bitte bei den Sponsoren das Open
Architecture Network raus (das gibt es nicht mehr) und bau dort einen
Link auf eine Sponsorenseite im wiki ein, wo wir dann weitere (kleinere)
Sponsoren wie abilit.eu (von denen kam der "Luxemburg"-server) oder auch
Einzelpersonen nennen koennen.

machs guat

PS: Die genaue Datei muesste ich auch nachschauen ... wenn du aber die
sourcen hast, kannst du da mit "grep" nach suchen ... ;-)

L10N

2020-08-10 12:15

reporter   ~0005903

I replaced the paypal button code by the IBAN with the same coding as was given the information about the Westpac bank account:
/pages/index/0.php
/pages/index/13.php
/pages/index/21.php

Furthermore, I removed the paypal button code (it was there to pay for password reset, the link to the wiki remains):
/pages/index/5.php
(I am not shure if this is another bug, but it is an issue for long time.)
0.php (5,507 bytes)   
<? /*
    LibreSSL - CAcert web application
    Copyright (C) 2004-2008  CAcert Inc.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; version 2 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/ ?>
<h3><?=_("Are you new to CAcert?")?></h3>

<p><?=_("CAcert.org is a community-driven Certificate Authority that issues certificates to the public at large for free.")?></p>

<p><?=_("CAcert's goal is to promote awareness and education on computer security through the use of encryption, specifically by providing cryptographic certificates. These certificates can be used to digitally sign and encrypt email, authenticate and authorize users connecting to websites and secure data transmission over the internet. Any application that supports the Secure Socket Layer Protocol (SSL or TLS) can make use of certificates signed by CAcert, as can any application that uses X.509 certificates, e.g. for encryption or code signing and document signatures.")?></p>

<p><?=sprintf(_("If you want to have free certificates issued to you, %s join the CAcert Community %s."),'<a href="https://www.cacert.org/index.php?id=1">', '</a>')?></p>

<p><?=sprintf(_("If you want to use certificates issued by CAcert, read the CAcert %s Root Distribution License %s."),'<a href="/policy/RootDistributionLicense.html">',"</a>")?>
<?=sprintf(_("This license applies to using the CAcert %s root keys %s."),'<a href="/index.php?id=3">','</a>')?></p>


<? if(!array_key_exists('mconn',$_SESSION) || !$_SESSION['mconn']) echo "<font size='+1'>"._("Most CAcert functions are currently unavailable. Please come back later.")."</font>";?>



<div class="newsbox">
<?
	printf("<p id='lnews'>%s</p>\n\n",_('Latest News'));

	$xml = "/www/pages/index/feed.rss"; // FIXME: use relative path to allow operation with different document root
	$dom = new DOMDocument();
	$dom->preserveWhiteSpace = false;
	$dom->Load($xml);

	$xpath = new DOMXPath($dom);    //Create an XPath query

	$query = "//channel/item";
	$items = $xpath->query($query);

	$count = 0;
	foreach($items as $id => $item) {
		$query = "./title";
		$nodeList = $xpath->query($query, $item);
		$title = recode_string("UTF8..html" , $nodeList->item(0)->nodeValue);

		$query = "./link";
		$nodeList = $xpath->query($query, $item);
		$link = htmlspecialchars($nodeList->item(0)->nodeValue);

		$query = "./description";
		$nodeList = $xpath->query($query, $item);
		$description = $nodeList->item(0)->nodeValue;
		// The description may contain HTML entities => convert them
		$description = html_entity_decode($description, ENT_COMPAT | ENT_HTML401, 'UTF-8');
		// Description may contain HTML markup and unicode characters => encode them
		// If we didn't decode and then encode again, (i.e. take the content
		// as it is in the RSS feed) we might inject harmful markup
		$description = recode_string("UTF8..html", $description);

		printf("<h3><a href=\"%s\">%s</a></h3>\n", $link, $title);
		printf("<p>%s</p>\n", nl2br($description));

		$title = '';
		$description = '';
		$link = '';

		$count++;
		if ($count >= 3) {
			break;
		}
	}
?>

[ <a href="http://blog.CAcert.org/"><?=_('More News Items')?></a> ]
</div>
<hr/>

<h3><?=_("For CAcert Community Members")?></h3>

<p><?=sprintf(_("Have you passed the CAcert %s Assurer Challenge %s yet?"),'<a href="http://wiki.cacert.org/wiki/AssurerChallenge">','</a>')?></p>

<p><?=sprintf(_("Have you read the CAcert %sCommunity Agreement%s yet?"),'<a href="/policy/CAcertCommunityAgreement.html">','</a>')?></p>

<p><?=sprintf(_("For general documentation and help, please visit the CAcert %sWiki Documentation site %s."),'<a href="http://wiki.CAcert.org">','</a>')?>
<?=sprintf(_("For specific policies, see the CAcert %sApproved Policies page%s."),'<a href="/policy/">',"</a>")?></p>

<h3><?=_("Do you want to help CAcert?")?></h3>
<b><?=_("We are facing an uphill battle to fund this service and could do with your help?")?></b><br/>

<?=_("If you can, please donate.")?><br />
<?=_("In Europe or the SEPA area, use this bank account:")?><br />
<ul class="no_indent">
<li>Account Name: CAcert Inc, 7514 Sils/Segl</li>
<li>BIC/SWIFT: GRKBCH2270A</li>
<li>Clearing: 774</li>
<li>Bank: Grisons Cantonal Bank, Coire, Switzerland</li>
<li>Account No (IBAN): CH02 0077 4010 3947 4420 0</li>
</ul>
<p><?=_("If you are located in Australia, use this bank account instead.")?></p>

<p><?=_("CAcert bank account details:")?></p>
<ul class="no_indent">
<li>Account Name: CAcert Inc</li>
<li>SWIFT: WPACAU2S</li>
<li>BSB: 032073</li>
<li>Bank: Westpac, Sydney, New South Wales</li>
<li>Account No.: 180264</li>
</ul>
<br /><br />

<?=_("If you want to participate in CAcert.org, have a look")?> <a href="http://wiki.cacert.org/wiki/HelpingCAcert"><?=_("here")?></a> <?=_("and")?> <a href="http://wiki.cacert.org/wiki/SystemTasks"><?=_("here")?></a>.
0.php (5,507 bytes)   
21.php (2,147 bytes)   
<? /*
    LibreSSL - CAcert web application
    Copyright (C) 2004-2008  CAcert Inc.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; version 2 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/

/*
page called from the following pages
 a. https://wiki.cacert.org/Price [^]
 b. https://wiki.cacert.org/CacertMembership/DE [^]
 c. https://wiki.cacert.org/CacertMembership [^]
 d. https://wiki.cacert.org/CAcertInc [^]
 e. https://wiki.cacert.org/Brain/CAcertInc [^]
*/ ?>

<h3><?=_("For CAcert Association Members")?></h3>

<p><b><?=_("Have you paid your CAcert Association membership fees for the year?")?></b></p>

<p><?=_("If not then login to your bank account and establish an annual payment of your 10 EUR membership fee.")?></p>

<p><?=_("In Europe or the SEPA area, use this bank account:")?></p>
<ul class="no_indent">
<li>Account Name: CAcert Inc, 7514 Sils/Segl</li>
<li>BIC/SWIFT: GRKBCH2270A</li>
<li>Clearing: 774</li>
<li>Bank: Grisons Cantonal Bank, Coire, Switzerland</li>
<li>Account No (IBAN): CH02 0077 4010 3947 4420 0</li>
</ul>

<p><?=_("If you are located in Australia, you can use bank transfer instead and pay the equivalent of 10 EUR in AUD.")?></p>

<p><?=_("Please also include your name in the transaction so we know who it came from and send an email to secretary at cacert dot org with the details:")?></p>

<ul class="no_indent">
<li>Account Name: CAcert Inc</li>
<li>SWIFT: WPACAU2S</li>
<li>BSB: 032073</li>
<li>Bank: Westpac, Sydney, New South Wales</li>
<li>Account No.: 180264</li>
</ul>
21.php (2,147 bytes)   
13.php (2,381 bytes)   
<? /*
    LibreSSL - CAcert web application
    Copyright (C) 2004-2008  CAcert Inc.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; version 2 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/ ?>
<H3><?=_("Donations")?></H3><br>

<h4><?=_("If I'd like to donate to CAcert Inc., how can I do it?")?></h4>

<p>
<?
printf(_("CAcert Inc. is a non-profit association which is legally able to accept donations. CAcert adheres to %sstrict guidelines%s about how this money can to be used. If you'd like to make a donation, you can do so via"),
	'<a href="//wiki.cacert.org/FAQ/DonationsGuideline">', '</a>');
?>

<p><?=_("In Europe or the SEPA area, use this bank account:")?></p>

<pre>
Account Name: CAcert Inc, 7514 Sils/Segl
BIC/SWIFT: GRKBCH2270A
Clearing: 774
Bank: Grisons Cantonal Bank, Coire, Switzerland
Account No (IBAN): CH02 0077 4010 3947 4420 0
</pre>

<p><?=_("If you are located in Australia, please use bank transfer instead:")?></p>

<pre>
Account Name: CAcert Inc
SWIFT:        WPACAU2S
BSB:          032073
Bank: Westpac, Sydney, New South Wales
Account No.:  180264
</pre>

<p><?=_("ANY amount will be appreciated - the more funding CAcert receives, the sooner it can achieve the goals of the community.")?></p>

<p><?=_("Thank you very much for your support, your donations help CAcert to continue to operate.")?></p>


<h3><?=_("Using Our Affiliate Partners")?></h3>

<h4>Booking.com</h4>

<p><?=_("If you do any trips where you need accommodation why not book via booking.com?")?></p>

<p><?php
	printf(_("For any booking done over %s started from this page CAcert gets a share of the provision. You do not pay more but you will support CAcert."),
		'<a href="//www.booking.com/index.html?aid=346253">booking.com</a>');
	?></p>

13.php (2,381 bytes)   
5.php (2,864 bytes)   
<? /*
    LibreSSL - CAcert web application
    Copyright (C) 2004-2008  CAcert Inc.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; version 2 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/ ?>
<form method="post" action="index.php" autocomplete="off">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
  <tr>
    <td colspan="2" class="title"><?=_("Lost Pass Phrase")?></td>
  </tr>
  <tr>
    <td class="DataTD" width="125"><?=_("Email Address (primary)")?>: </td>
    <td class="DataTD" width="125"><input type="text" name="email" autocomplete="off"></td>
  </tr>
  <tr>
    <td class="DataTD"><?=_("Date of Birth")?><br>
            (<?=_("dd/mm/yyyy")?>)</td>
    <td class="DataTD"><nobr><select name="day">
<?
        for($i = 1; $i <= 31; $i++)
        {
                echo "<option>$i</option>";
        }
?>
    </select>
    <select name="month">
<?
        for($i = 1; $i <= 12; $i++)
        {
                echo "<option value='$i'";
                echo ">".ucwords(strftime("%B", mktime(0,0,0,$i,1,date("Y"))))."</option>";
        }
?>    
    </select>
    <input type="text" name="year" size="4" autocomplete="off"></nobr>
    </td>
  </tr>
  <tr>
    <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td>
  </tr>
</table>     
<input type="hidden" name="oldid" value="<?=$id?>">
</form> 
<p><?=_("Due to the increasing number of people that haven't been able to recover their passwords via the lost password form, there are now two other options available. 1.) If you don't care about your account you can signup under a new account and file dispute forms to recover your email accounts and domains. 2.) If you would like to recover your password via help from support staff, this requires a small payment to cover a real person's time to verify your claim of ownership on an account.  After you pay the required fee you will have to contact the proper person to arrange the verification. Click the payment button below to continue.")." "?><? printf(_("Alternatively visit our %sinformation page%s on this subject for more details."), "<a href='http://wiki.cacert.org/wiki/FAQ/LostPasswordOrAccount'>", "</a>")?></p>


5.php (2,864 bytes)   

L10N

2020-09-16 21:19

reporter   ~0005910

Following https://wiki.cacert.org/Brain/CAcertInc/Committee/MeetingAgendasAndMinutes/2020-09-03#Minutes

"We [the committee] will show on our homepage, at the top the EU bank account, lower the AU bank account, and Paypal as a third option."

So, the code has to be rewritten again. Sorry, no testing needed at the moment.

Issue History

Date Modified Username Field Change
2020-08-07 22:31 L10N New Issue
2020-08-10 11:31 L10N Note Added: 0005901
2020-08-10 11:32 L10N Note Added: 0005902
2020-08-10 12:15 L10N Note Added: 0005903
2020-08-10 12:15 L10N File Added: 0.php
2020-08-10 12:15 L10N File Added: 21.php
2020-08-10 12:15 L10N File Added: 13.php
2020-08-10 12:15 L10N File Added: 5.php
2020-08-10 12:17 L10N Status new => needs review & testing
2020-08-10 12:17 L10N Reproducibility have not tried => always
2020-09-16 21:19 L10N Note Added: 0005910