Changeset 1476
- Timestamp:
- 07/09/11 18:14:14 (23 months ago)
- Location:
- g-map/optionals/de.gmap.wcf.data.message.bbcode.map
- Files:
-
- 3 modified
-
files/lib/data/message/bbcode/MapBBCode.class.php (modified) (2 diffs)
-
package.xml (modified) (2 diffs)
-
templates/mapBBCode.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
g-map/optionals/de.gmap.wcf.data.message.bbcode.map/files/lib/data/message/bbcode/MapBBCode.class.php
r1260 r1476 119 119 private function show($stream, $zoom) { 120 120 WCF::getTPL()->assign(array( 121 'bbcodemap_zoom' => $zoom,121 'bbcodemap_zoom' => intval($zoom), 122 122 'bbcodemap_data' => $stream 123 123 )); … … 131 131 public function getParsedTag($openingTag, $content, $closingTag, BBCodeParser $parser) { 132 132 133 $zoom = isset($openingTag['attributes'][0]) ? $openingTag['attributes'][0] : GMAP_ZOOM;133 $zoom = isset($openingTag['attributes'][0]) ? intval($openingTag['attributes'][0]) : 0; 134 134 $content = explode("\n", StringUtil::unifyNewlines($content)); 135 135 -
g-map/optionals/de.gmap.wcf.data.message.bbcode.map/package.xml
r1428 r1476 6 6 <packagedescription><![CDATA[This BBCode allows you to add a map with infinite markers to your posting.]]></packagedescription> 7 7 <isunique>1</isunique> 8 <version>3. 0.0</version>8 <version>3.1.0</version> 9 9 <date>DATE</date> 10 10 <plugin>com.woltlab.wcf.data.message.bbcode</plugin> … … 31 31 </instructions> 32 32 33 <instructions type="update" fromversion="3.0.0"> 34 <files>files.tar</files> 35 <templates>templates.tar</templates> 36 </instructions> 37 33 38 <instructions type="update" fromversion="3.0.0 Beta 1"> 39 <files>files.tar</files> 34 40 <templates>templates.tar</templates> 35 41 </instructions> 36 42 37 43 <instructions type="update" fromversion="2.0.3"> 44 <files>files.tar</files> 38 45 <templates>templates.tar</templates> 39 <files>files.tar</files>40 46 </instructions> 41 47 -
g-map/optionals/de.gmap.wcf.data.message.bbcode.map/templates/mapBBCode.tpl
r1425 r1476 26 26 gmap.loadMarkers(coordinates); 27 27 gmap.showMap(); 28 {if $bbcodemap_zoom}gmap.gmap.setZoom({$bbcodemap_zoom});{/if} 28 29 } 29 30 };
