Styleguide: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
Cbarr (talk | contribs)
Line 88:
</pre>
 
This part of the code pulls in the payment processing JS. Most of the perimeter are used to past information around. The only one that should be changed is "GC-CC-ffname". This perimeter changes the credit cards that we accept in that country. A list of options follows:
 
*cc-vm
 
*cc-vma
*cc-vmj
*cc-vmaj
<pre>
{{2011FR/Form-section-processing
| uselang = {{{uselang}}}
| country = {{{country}}}
| appeal = {{{appeal}}}
| currency = {{2011FR/core-currency-code|{{{country}}}}}
| handler = GC
| appeal = {{{appeal}}}
| GC-CC-ffname = cc-vmaj
}}
</pre>
 
This part of the code pulls in the display method for the donation options and sets the values to be displayed. The "donate-amount-*" perimeters set the values that will be used in the country. These values are in the currency that has been set as the local currency.
<pre>
{{2011FR/Form-section-radiobuttons
| country = {{{country}}}