Template:2011FR/core-form-otherways/en: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Seddon (WMF) (talk | contribs)
No edit summary
Seddon (WMF) (talk | contribs)
No edit summary
Line 7: Line 7:
}
}
</style>
</style>
<script type="text/javascript" language="javascript">

function getQuerystring( key ) {
key = key.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' );
var regex = new RegExp( '[\\?&]' + key + '=([a-zA-Z0-9\_\-]*)' );
var qs = regex.exec( window.location.search );
return qs == null ? '' : qs[1];
}

var country = getQuerystring ('country');
</script>


<div id="lp-links-block">
<div id="lp-links-block">

Revision as of 23:37, 15 December 2011