Template:2011FR/Form-section-links: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
mNo edit summary
m shift comment inside script. I still need to fix this script though...
Line 33: Line 33:
<li><a id="problems-link" target="_blank" href="https://wikimediafoundation.org/wiki/Problems_donating?country=</html>{{{country}}}<html>?language=</html>{{int:lang}}<html>"></html>{{int:Donate_interface-problemsdonating}}<html></a></li>
<li><a id="problems-link" target="_blank" href="https://wikimediafoundation.org/wiki/Problems_donating?country=</html>{{{country}}}<html>?language=</html>{{int:lang}}<html>"></html>{{int:Donate_interface-problemsdonating}}<html></a></li>
</ul>
</ul>
<!-- This piece of script is add to preserve the layout of the page when the user is sent to monthly donation page -->
<script type="text/javascript">
<script type="text/javascript">
// This piece of script is add to preserve the layout of the page when the user is sent to monthly donation page
var monthlyURL = window.location.href;
var monthlyURL = window.location.href;
var pageCountrySpecific = getQuerystring( 'form-countryspecific' );
var pageCountrySpecific = getQuerystring( 'form-countryspecific' );
Line 47: Line 47:
document.getElementById("monthly-link").href = monthlyURL;
document.getElementById("monthly-link").href = monthlyURL;
</script>
</script>
<!-- ----------------- end script--------------- -->
</html>
</html>

Revision as of 01:39, 24 January 2012