Welcome to mirror list, hosted at ThFree Co, Russian Federation.

feedburner.tpl « ExamplePlugin « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c3673bf52900b95b5a3f1739446745dd0d4e7b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

{literal}
<script type="text/javascript">
	$(document).ready(function(){ 
	
	function getName()
	{
		return $("#feedburnerName").val();
	}
	function loadIframe()
	{
		var feedburnerName = getName();
		$("#feedburnerIframe").html(
			'<iframe height=100px frameborder="0" marginheight="10" marginwidth="10" \
				src="http://www.feedburner.com/fb/ticker/api-ticker2.jsp?uris='+feedburnerName+'"></iframe>');
	}
	
	$("#feedburnerSubmit").click( function(){
		var feedburnerName = getName();
		$.get('?module=ExamplePlugin&action=saveFeedburnerName&name='+feedburnerName);
		loadIframe();
		
	});
	
	loadIframe();
});
</script>
{/literal}			
<span id="feedburnerIframe"></span>

<center>
<input id="feedburnerName" type="text" value="{$feedburnerFeedName}">
<input id="feedburnerSubmit" type="submit" value="ok">
</center>