19 lines
782 B
PHP
19 lines
782 B
PHP
<?php
|
|
class mappy extends Module {
|
|
protected $moduleTitle = 'Mappy';
|
|
protected $paramsList = array(
|
|
'visibility'
|
|
);
|
|
|
|
public function __construct($params){
|
|
parent::__construct(__CLASS__, $params);
|
|
}
|
|
|
|
public function build(){
|
|
echo '<script type="text/javascript" src="'.$this->pathToModule.'js/'.$this->moduleName.'.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="'.$this->pathToModule.'css/'.$this->moduleName.'.css">';
|
|
echo '<script src="http://axe.mappy.com/1v1/init/get.aspx?version=2.01&solution=ajax&auth=HbTTpMfC4//GWuldL2IsF+HJA4xVuTBsIQi0wcC7xRz+e17hobrJ+1947aq34rdjYAPy6nBYBQF8o56Qzdun9w=="></script>
|
|
<div id="mymap"></div>
|
|
<div id="myAdress"><input type="text" name="myAdressField" id="myAdressField" /></div>';
|
|
}
|
|
} |