Changeset 1947624
- Timestamp:
- 09/26/2018 08:17:30 PM (8 years ago)
- Location:
- map-pins/trunk
- Files:
-
- 2 edited
-
include/mappins.php (modified) (1 diff)
-
map-pins.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
map-pins/trunk/include/mappins.php
r1947622 r1947624 85 85 $rv.="</div>"; 86 86 } 87 else 88 $rv.="<div class='mappins-map' id='mappins-map' style='width:{$widthstr};height:{$height}px;'></div>"; 87 else { 88 //$rv .= "<div class='mappins-map' id='mappins-map' style='width:{$widthstr};height:{$height}px;'></div>"; 89 $rv.= "<div style='background-color:#fff;width:{$widthstr};$heightstyle:{$height}px;'>"; 90 $mapheight=$height; 91 switch ($list) { 92 case 'none': 93 $rv.= "<div class='mappins-map' id='mappins-map' style='width:auto;height:{$mapheight}px;'></div>"; 94 break; 95 case 'left': 96 $rv.= "<div class='mappins-list' id='mappins-list' style='width:{$listwidthstr};float:left;height:{$mapheight}px;'></div>"; 97 $rv.= "<div class='mappins-map' id='mappins-map' style='width:auto;min-width:100px;height:{$mapheight}px;'></div>"; 98 break; 99 case 'right': 100 // inserting the float-right BEFORE the main otherwise width:auto of main will fill whole 101 $rv.= "<div class='mappins-list' id='mappins-list' style='width:{$listwidthstr};height:{$mapheight}px;float:right;'></div>"; 102 $rv.="<div class='mappins-map' id='mappins-map' style='width:auto;min-width:100px;height:{$mapheight}px;'></div>"; 103 break; 104 } 105 $rv.="<div style='clear:both'></div>"; 106 $rv.="</div>"; 107 } 89 108 return $rv; 90 109 } -
map-pins/trunk/map-pins.php
r1947623 r1947624 4 4 * Plugin URI: http://mappins.innovader.nl 5 5 * Description: Show pins on a map from an admin defined table 6 * Version: 1.1 56 * Version: 1.16 7 7 * Author: Innovader BV 8 8 * Author URI: http://innovader.nl
Note: See TracChangeset
for help on using the changeset viewer.