예제 #1
0
// -->
</script>
<?php 
echo htmlGmp::formStart('toeInsertShortcodeForm', array('attrs' => 'id="toeInsertShortcodeForm"'));
?>
    <div id="toeInsertShortcodeSelectBox">
        <h3><a href="#"><?php 
langGmp::_e('Shortcode');
?>
</a></h3>
        <div id="toeInsertShortcodeContentDefault">
            <div><?php 
langGmp::_e('Type');
?>
: <?php 
echo htmlGmp::selectbox('shortcodeType', array('optionsGmp' => $this->shortcodesSelectOptions));
?>
</div>
            <div class="toeInsertShortcodeAtts"></div>
        </div>
        <h3><a href="#" title="category"><?php 
langGmp::_e('Category');
?>
</a></h3>
        <div>
            <div class="toeInsertShortcodeAtts"></div>
        </div>
        <h3><a href="#" title="product"><?php 
langGmp::_e('Product');
?>
</a></h3>
예제 #2
0
</label>:</td><td><?php 
echo htmlGmp::text('website', array('attrs' => 'placeholder="' . langGmp::_('http://yoursite.com') . '"'));
?>
</td></tr>
                        <tr><td valign="top"><label for="subject"><?php 
langGmp::_e('Subject');
?>
</label>:</td><td><?php 
echo htmlGmp::text('subject', array('attrs' => 'placeholder="' . langGmp::_('Subject') . '"'));
?>
</td></tr>
                        <tr><td valign="top"><label for="category"><?php 
langGmp::_e('Category');
?>
</label>:</td><td><?php 
echo htmlGmp::selectbox('category', array('optionsGmp' => $this->devQuestions));
?>
</td></tr>
                        <tr><td valign="top"><label for="message"><?php 
langGmp::_e('Message');
?>
</label>:</td><td><?php 
echo htmlGmp::textarea('message', array('attrs' => 'placeholder="' . langGmp::_('Type your meassage here. If you have any troubles, please describe it accurately. If it`s possibe send us: (text of the errors, print screen of errors, link to the webpages where you try to insert products, and any other information)') . '"'));
?>
</td></tr>
                        <tr>
                            <td valign="top">
                                <?php 
echo htmlGmp::hidden('mod', array('value' => 'adminmenu'));
?>
                                <?php 
예제 #3
0
								<th scope="row">
									<label for="marker_opts_marker_group_id">
										<?php 
_e('Marker Category', GMP_LANG_CODE);
?>
:
									</label>
									<i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php 
_e('Choose marker category', GMP_LANG_CODE);
?>
"></i>
								</th>
								<td>
									<div class="sup-col" style="width: 100%;">
										<?php 
echo htmlGmp::selectbox('marker_opts[marker_group_id]', array('options' => $this->markerGroupsForSelect, 'value' => '', 'attrs' => 'style="width: 100%;" id="marker_opts_marker_group_id"'));
?>
									</div>
								</td>
							</tr>
						</table>
						<?php 
echo htmlGmp::hidden('mod', array('value' => 'marker'));
?>
						<?php 
echo htmlGmp::hidden('action', array('value' => 'save'));
?>
						<?php 
echo htmlGmp::hidden('marker_opts[id]', array('value' => ''));
?>
						<?php 
예제 #4
0
    $this->data['img_width'] = 175;
}
if (empty($this->data['img_height'])) {
    $this->data['img_height'] = 175;
}
?>
<p>
    <label for="<?php 
echo $this->widget->get_field_id('id');
?>
"><?php 
_e('Select map', GMP_LANG_CODE);
?>
:</label>
    <?php 
echo htmlGmp::selectbox($this->widget->get_field_name('id'), array('attrs' => 'id="' . $this->widget->get_field_id('id') . '"', 'value' => isset($this->data['id']) ? $this->data['id'] : 0, 'options' => $this->mapsOpts));
?>
<br />
    <label for="<?php 
echo $this->widget->get_field_id('width');
?>
"><?php 
_e('Widget Map width', GMP_LANG_CODE);
?>
:</label>
    <?php 
echo htmlGmp::text($this->widget->get_field_name('width'), array('attrs' => 'id="' . $this->widget->get_field_id('width') . '"', 'value' => isset($this->data['width']) ? $this->data['width'] : '100%'));
?>
<br />
	<label for="<?php 
echo $this->widget->get_field_id('height');
예제 #5
0
	   <div class='gmpFormRow'>
			<div class='gmpFormElemCon'>
			   <?php 
echo htmlGmp::selectbox('map_opts[language]', array('attrs' => 'class="gmpMap_language gmpInputSmall gmpMapLngOpt gmpHintElem" id="gmpMap_language"', 'options' => $this->map_opts['language'], 'value' => 'en', 'hint' => langGmp::_('Select Map Display Language')));
?>
			   </div>
		   <label for="gmpMap_language" class="gmpFormLabel">
					 <?php 
langGmp::_e('Map Language');
?>
		   </label>
		   </div>
	   <div class='gmpFormRow'>
			<div class='gmpFormElemCon'>
		   <?php 
echo htmlGmp::selectbox('map_opts[align]', array('attrs' => " class='gmpInputSmall gmpMapAlignOpt gmpHintElem' id='gmpMap_align' ", 'options' => $this->map_opts['align'], "hint" => langGmp::_("Map Align")));
?>
		   </div>
		   <label for="gmpMap_align" class="gmpFormLabel">
				 <?php 
langGmp::_e('Map Align');
?>
		   </label>
	   </div>
	<div class="gmpFormRow">
		<div class="gmpFormElemCon">
		<?php 
echo htmlGmp::hidden('map_opts[display_mode]', array('value' => 'map', 'attrs' => 'id="map_display_mode" class="map_display_preview_mode gmpMapDisplayModeOpt"'));
?>
		</div>
	</div>
예제 #6
0
?>
			</div>
			<div class="markerTitleLink_Container">
			<?php 
echo htmlGmp::text('marker_opts[params][marker_title_link]', array('attrs' => 'id="marker_title_link" class="marker_title_link gmpMarkerTitleIsLinkOpt gmpHintElem" placeholder="http://domain.com"', 'hint' => langGmp::_('Link For Title')));
?>
			</div>
		</div>  
		<div class="gmpFormRow">
			<div class="gmpFormElemCon">
			<?php 
$groupArr = array();
foreach ($this->marker_opts['groups'] as $item) {
    $groupArr[$item['id']] = $item['title'];
}
echo htmlGmp::selectbox('marker_opts[marker_group_id]', array('options' => $groupArr, 'value' => '1', 'attrs' => 'id="gmpNewMap_marker_group" class="gmpInputLarge gmpMarkerGroupSelect gmpMarkerGroupOpt gmpHintElem"', 'hint' => langGmp::_('Choose Marker Group')));
?>
			</div>
			<label for="gmpNewMap_marker_group" class="gmpFormLabel"><?php 
langGmp::_e('Group');
?>
</label>
		</div>
		<div class="gmpFormRow">
			<label for="gmpNewMap_marker_desc" class="gmpFormLabel"><?php 
langGmp::_e('Marker Description');
?>
</label>
			<?php 
wp_editor('', 'marker_opts_description', array('quicktags' => false, 'dfw' => true));
?>