Subversion Repositories SmartDukaan

Rev

Rev 15085 | Rev 15830 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15085 Rev 15128
Line 29... Line 29...
29
				<script type="text/javascript">
29
				<script type="text/javascript">
30
					$(function(){
30
					$(function(){
31
						$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
31
						$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
32
						$('.notificationUrl').prop('href','<?php echo $url;?>');
32
						$('.notificationUrl').prop('href','<?php echo $url;?>');
33
						if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
33
						if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
34
							$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});											
34
							$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});	
-
 
35
							ga('send', 'event', 'popupnotification', 'shown', me);				
35
						}
36
						}
36
					});
37
					});
37
				</script>
38
				</script>
38
			</div>
39
			</div>
39
			<?php endif;?>
40
			<?php endif;?>