示例#1
0
    $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=center_on_cur_user_pos&utm_campaign=googlemaps');
    ?>
											<br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php 
    echo $proLink;
    ?>
"><?php 
    _e('PRO option', GMP_LANG_CODE);
    ?>
</a></span>
										<?php 
}
?>
									</th>
									<td>
										<?php 
echo htmlGmp::checkboxHiddenVal('map_opts[center_on_cur_user_pos]', array('value' => $this->editMap && isset($this->map['params']['center_on_cur_user_pos']) ? $this->map['params']['center_on_cur_user_pos'] : false, 'attrs' => 'class="gmpProOpt"'));
?>
									</td>
								</tr>
								<tr>
									<th scope="row">
										<label for="map_opts_marker_infownd_width">
											<?php 
_e('Markers Info Window Width', GMP_LANG_CODE);
?>
:
										</label>
										<i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php 
_e('Width of markers info windows.', GMP_LANG_CODE);
?>
"></i>
示例#2
0
?>
</label> 
			<div class="gmpFormElemCon">
				<?php 
echo htmlGmp::checkboxHiddenVal('marker_opts[params][more_info_link]', array('attrs' => 'class="gmpHintElem"', 'hint' => langGmp::_('If enabled - in description window by default will be only image or part of description, and added "More Info" link, when click on it - there will be full descrtiption')));
?>
			</div>
		</div>
		<div class="gmpFormRow">
			<label for="marker_opts[params][icon_fit_standard_size]"><?php 
langGmp::_e('Fit icon in standard size');
?>
</label> 
			<div class="gmpFormElemCon">
				<?php 
echo htmlGmp::checkboxHiddenVal('marker_opts[params][icon_fit_standard_size]', array('attrs' => 'class="gmpHintElem"', 'hint' => langGmp::_('If enabled - icon width will be always standard - 18, width - from proportion, this parameter is for retina display')));
?>
			</div>
		</div>
		<?php 
echo htmlGmp::hidden('marker_opts[id]');
?>
		<?php 
echo htmlGmp::hidden('marker_opts[map_id]');
?>
		<?php 
echo htmlGmp::hidden('marker_opts[description]');
?>
		<?php 
echo htmlGmp::hidden('page', array('value' => 'marker'));
?>
示例#3
0
	 if($this->params['formId']=="gmpAddNewMapForm"){
		 $zoomEnableParams["specSelector"] = "gmpMapEnableZoomOpts";
	 } */
echo htmlGmp::checkboxHiddenVal('map_opts[enable_zoom]', array('checked' => '1', 'attrs' => " class='gmpHintElem gmpMapEnableZoomOpts' ", 'hint' => langGmp::_('Enable Zoom Control In Map')));
?>
		</div>
		<label for="map_optsenable_zoom_check" class="gmpFormLabel">
			  <?php 
langGmp::_e('Enable Zoom/Control  Panel');
?>
		</label>
	</div>
	<div class='gmpFormRow'>
		<div class='gmpFormElemCon'>
	   <?php 
echo htmlGmp::checkboxHiddenVal('map_opts[enable_mouse_zoom]', array('checked' => '1', 'attrs' => " class='gmpHintElem gmpMapEnableMouseZoomOpts' ", "hint" => langGmp::_("Enable Mouse Zoom In Map"), "specSelector" => "gmpMapEnableMouseZoomOpts", "isSecForm" => (bool) ($this->params['formId'] != "gmpAddNewMapForm")));
?>
		</div>
	   <label for="map_optsenable_mouse_zoom_check" class="gmpFormLabel">
			 <?php 
langGmp::_e('Enable Mouse Zoom/Control  Panel');
?>
	   </label>
	</div>
	   <div class='gmpFormRow'>
			<div class='gmpFormElemCon'>
		   <?php 
echo htmlGmp::selectbox('map_opts[zoom]', array('attrs' => " class='gmpMap_zoom gmpMapZoomOpts gmpInputSmall gmpHintElem' id='gmpMap_zoom' ", 'options' => $this->map_opts['zoom'], 'value' => 1, "hint" => langGmp::_("Default Zoom For Map")));
?>
		   </div>
		   <label for="gmpMap_zoom" class="gmpFormLabel">
示例#4
0
<div class="clearfix"></div>
<div class="gmpPluginSettingsFormContainer">
	<h2><?php 
langGmp::_e('Plugin Settings');
?>
</h2>
	<form id="gmpPluginSettingsForm">
		<div class="gmpFormRow">
			<?php 
echo htmlGmp::checkboxHiddenVal('send_statistic', array('attrs' => 'class="statistic"', 'checked' => (bool) $this->saveStatistic));
?>
			<label for="gmpNewMap_title" class="gmpFormLabel">
				<?php 
langGmp::_e('Send anonym statistic?');
?>
			</label>
		</div>
		<hr />
		<div class="gmp-control-group">
			<label><?php 
langGmp::_e('Marker Description window size');
?>
</label>
			<div class="controls">
				<div class="gmpInfoWindowSize gmpInfoWindowSize-width">
					<label for="gmpInfoWindowSize_width"><?php 
langGmp::_e('Width');
?>
</label>
					<div class="gmpSizePoint">Px</div>
					<input type="text" name="infoWindowSize[width]" class="input-mini" id="gmpInfoWindowSize_width" required="required" value="<?php