Plugin Directory

Changeset 1947624


Ignore:
Timestamp:
09/26/2018 08:17:30 PM (8 years ago)
Author:
rvwoens
Message:

fix searchbar N

Location:
map-pins/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • map-pins/trunk/include/mappins.php

    r1947622 r1947624  
    8585            $rv.="</div>";
    8686        }
    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        }
    89108        return $rv;
    90109    }
  • map-pins/trunk/map-pins.php

    r1947623 r1947624  
    44 * Plugin URI: http://mappins.innovader.nl
    55 * Description: Show pins on a map from an admin defined table
    6  * Version: 1.15
     6 * Version: 1.16
    77 * Author: Innovader BV
    88 * Author URI: http://innovader.nl
Note: See TracChangeset for help on using the changeset viewer.