weathermap |
Subversion Repositories: |
Rev 13 | Rev 24 | |
---|---|---|
Line 4984... | Line 4984... | |
{ |
{ | |
$this->PreloadMapHTML(); |
$this->PreloadMapHTML(); | |
|
| |
$html=''; |
$html=''; | |
|
| |
$html .= '<div class="weathermapimage" style="margin-left: auto; margin-right: auto; width: '.$this->width.'px;" >'; |
$html .= '<div class="weathermapimage" style="margin-left: 10px; margin-right: auto; width: '.$this->width.'px;" >'; | |
if ($this->imageuri != '') { $html.=sprintf( |
if ($this->imageuri != '') { $html.=sprintf( | |
'<img src="%s" width="%s" height="%s" border="0" usemap="#' |
'<img src="%s" width="%s" height="%s" border="0" usemap="#' | |
. $imagemapname . '" alt="network weathermap" />', |
. $imagemapname . '" alt="network weathermap" />', | |
$this->imageuri, |
$this->imageuri, | |
$this->width, |
$this->width, |