HEX
Server:Apache
System:Linux localhost 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64
User:enlugo-es (10006)
PHP:7.4.33
Disabled:opcache_get_status
Upload Files
File: /var/www/vhosts/enlugo.es/httpdocs/wp-content/plugins/google-maps-ready/modules/marker/mod.php
<?php
class  markerGmp extends moduleGmp {
	public function init() {
		dispatcherGmp::addFilter('adminOptionsTabs', array($this, 'addOptionsTab'));
		dispatcherGmp::addAction('tplHeaderBegin',array($this,'showFavico'));
		dispatcherGmp::addAction('tplBodyEnd',array($this,'GoogleAnalitics'));
		dispatcherGmp::addAction('in_admin_footer',array($this,'showPluginFooter'));
	}
	public function addOptionsTab($tabs){
		if(frameGmp::_()->isAdminPlugPage()){
			frameGmp::_()->addScript('adminMetaOptions',$this->getModPath().'js/admin.marker.js',array(),false,true);			
		}
		return $tabs;
	}
	public function connectAssets() {
		frameGmp::_()->addScript('marker', $this->getModPath(). 'js/marker.js');
	}
	public function getAnimationList() {
		return array(
			0 => langGmp::_('None'),
			1 => langGmp::_('Drop'),	//DROP
			2 => langGmp::_('Bounce'),	//BOUNCE
		);
	}
}