示例#1
0
: <?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>
        <div>
            <div class="toeInsertShortcodeAtts"></div>
        </div>
    </div>
    <div>
        <?php 
echo htmlGmp::hidden('newContent');
?>
        <?php 
echo htmlGmp::submit('insert', array('value' => langGmp::_('Insert')));
?>
    </div>
<?php 
echo htmlGmp::formEnd();
示例#2
0
_e('Check files and directories write permissions', GMP_LANG_CODE);
?>
</li>
				</ul>
				<p><?php 
printf(__('So check full features list <a target="_blank" href="%s">here</a>.', GMP_LANG_CODE), 'http://worgmpess.org/plugins/supsystic-secure/');
?>
</p>
			</div>
			<div class="clear"></div>

			<?php 
echo htmlGmp::hidden('pl', array('value' => GMP_CODE));
?>
			<?php 
echo htmlGmp::hidden('page', array('value' => 'supsystic_promo'));
?>
			<?php 
echo htmlGmp::hidden('action', array('value' => 'welcomePageSaveInfo'));
?>
			<?php 
echo htmlGmp::submit('gonext', array('value' => 'Thank for check info. Start using plugin.', 'attrs' => 'class="button button-primary button-hero"'));
?>
			<?php 
echo htmlGmp::hidden('original_page', array('value' => $this->originalPage));
?>

			<span id="toeWelcomePageFindUsMsg"></span>
		</form>
	</div>
</div>
示例#3
0
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 
echo htmlGmp::hidden('action', array('value' => 'sendMailToDevelopers'));
?>
                                <?php 
echo htmlGmp::hidden('reqType', array('value' => 'ajax'));
?>
                                <?php 
echo htmlGmp::submit('send', array('value' => langGmp::_('Send e-mail')));
?>
                            </td>
                            <td><div id="msg"></div></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div id="id4" class="postbox" style="display: block">
            <div class="handlediv" title="Click to toggle"><br></div>
            <h3 class="hndle"><?php 
langGmp::_e('News and Info');
示例#4
0
">
	</li>
	<?php 
}
?>
	</ul>
</div>
<!--Maps stulizations-->
<div class="gmpFormRowsCon">
	<div class="gmpFormRow">
		<div class="gmpFormElemCon">
			<?php 
echo htmlGmp::button(array('value' => langGmp::_('Select map stylization'), 'attrs' => 'class="btn btn-primary gmpHintElem" type="button" onclick="gmpShowGSTplPopup(); return false;"', 'hint' => langGmp::_('You can select style for your map to make it view unbelievable')));
?>
			<?php 
echo htmlGmp::hidden('map_opts[stylization]');
?>
		</div>
		<label for="" class="gmpFormLabel">
			<?php 
langGmp::_e('Map Stylization');
?>
		</label>
	</div>
</div>
<div id="gmpGSControlsTplsShell" style="display: none;">
	<ul class="gmpTemplatesList gmpGSTplsList">
	<?php 
foreach ($this->stylesList as $s) {
    ?>
	<li class="gmpTemplatePrevShell gmpTemplatePrevShell-existing gmpTemplatePrevShell-<?php 
								<td>
									<?php 
    echo htmlGmp::$htmlType($fName, $htmlParams);
    ?>
								</td>
							</tr>
							<?php 
}
?>
							<tr>
								<th scope="row" colspan="2">
									<?php 
echo htmlGmp::hidden('mod', array('value' => 'supsystic_promo'));
?>
									<?php 
echo htmlGmp::hidden('action', array('value' => 'sendContact'));
?>
									<button class="button button-primary button-hero" style="float: right;">
										<i class="fa fa-upload"></i>
										<?php 
_e('Send email', GMP_LANG_CODE);
?>
									</button>
									<div style="clear: both;"></div>
								</th>
							</tr>
						</table>
					</form>
					<div id="form-settings-send-msg" style="display: none;">
						<i class="fa fa-envelope-o"></i>
						<?php 
示例#6
0
				<li>Works with any Responsive themes</li>
				<li>Add location by searching or coordinates</li>
				<li>Fully customizable. All features of the map or marker can be switched off/on</li>
				<li>CSV import and export maps and markers data</li>
			</ul>
			<p>So check full features list <a target="_blank" href="http://wordpress.org/plugins/google-maps-ready/">here</a>.</p>
		</div>
		<div class="clear"></div>

		<?php 
echo htmlGmp::hidden('pl', array('value' => 'gmp'));
?>
		<?php 
echo htmlGmp::hidden('mod', array('value' => 'promo_ready'));
?>
		<?php 
echo htmlGmp::hidden('action', array('value' => 'welcomePageSaveInfo'));
?>
		
		<br />
		<br />
		<?php 
echo htmlGmp::submit('gonext', array('value' => 'Thank for check info. Start using plugin.', 'attrs' => 'class="button button-primary button-hero"'));
?>
		<?php 
echo htmlGmp::hidden('original_page', array('value' => reqGmp::getVar('page')));
?>
		<span id="toeWelcomePageFindUsMsg"></span>
	</form>
</div>
示例#7
0
					</form>
				</div>
			</div>
			<div class="supsistic-half-side-box">
				<div id="gmpMapRightStickyBar" class="supsystic-sticky">
					<div id="gmpMapPreview" style="width: 100%; height: 300px;"></div>
					<div class="gmpMapProControlsCon" id="gmpMapProControlsCon_<?php 
echo $this->viewId;
?>
">
						<?php 
dispatcherGmp::doAction('addAdminMapBottomControls', $this->editMap ? $this->map : array());
?>
					</div>
					<?php 
echo htmlGmp::hidden('rand_view_id', array('value' => $this->viewId, 'attrs' => 'id="gmpViewId"'));
?>
					<div id="gmpShortCodeRowShell" class="row">
						<div class="shortcode-wrap">
							<p id="shortcodeCode" style="display: none;">
								<strong style="margin-top: 7px; font-size: 1.2em; float: left;"><?php 
_e('Map shortcode', GMP_LANG_CODE);
?>
:</strong>
								<?php 
echo htmlGmp::text('gmpCopyTextCode', array('value' => '', 'attrs' => 'class="gmpCopyTextCode gmpMapShortCodeShell" style="float: right;"'));
?>
								<br style="clear: both;" />
								<strong style="margin-top: 7px; font-size: 1.2em; float: left;"><?php 
_e('PHP code', GMP_LANG_CODE);
?>
示例#8
0
 /**
  * Function to display userfields in front-end
  * 
  * @param string $name
  * @param mixed $fieldValue
  * @return string 
  */
 public function viewField($name, $fieldValue = '')
 {
     $method = $this->html;
     $options = frameGmp::_()->getModule('optionsGmp')->getHelper()->getOptions($this->id);
     $attrs = '';
     if (is_object($this->htmlParams['attr']) && count($this->htmlParams['attr']) > 0) {
         foreach ($this->htmlParams['attr'] as $attribute => $value) {
             if ($value != '') {
                 $attrs .= $attribute . '="' . $value . '" ';
             }
         }
     }
     if ($fieldValue == $this->default_value) {
         $checked = 1;
     } else {
         $checked = 0;
     }
     if ($fieldValue == '') {
         $fieldValue = $this->default_value;
     }
     $params = array('optionsGmp' => $options, 'attrs' => $attrs, 'value' => $fieldValue, 'checked' => $checked);
     $output = '';
     if (method_exists('htmlGmp', $method)) {
         $output .= htmlGmp::$method($name, $params);
         $output .= htmlGmp::hidden('extra_field[' . $this->name . ']', array('value' => $this->id));
     }
     return $output;
 }
示例#9
0
$formData = array();
switch ($this->REQUEST_METHOD) {
    case 'GET':
        $formData = $this->GET;
        break;
    case 'POST':
        $formData = $this->POST;
        break;
}
foreach ($formData as $key => $val) {
    if (is_array($val)) {
        foreach ($val as $subKey => $subVal) {
            echo htmlGmp::hidden($key . '[' . $subKey . ']', array('value' => $subVal));
        }
    } else {
        echo htmlGmp::hidden($key, array('value' => $val));
    }
}
?>
        <table width="100%">
            <tr>
                <td><?php 
langGmp::_e('Delete All data include Maps and Markers');
?>
:</td>
                <td><?php 
echo htmlGmp::radiobuttons('deleteAllData', array('options' => array('No', 'Yes')));
?>
</td>
            </tr>
        </table>
        echo $catClass;
        ?>
">
								<td colspan="3">
									<?php 
        if (is_callable($optCatData['opts_html'])) {
            echo call_user_func($optCatData['opts_html']);
        } elseif (is_string($opt['options'])) {
            echo $optCatData['opts_html'];
        }
        ?>
								</td>
							</tr>
						<?php 
    }
    ?>
					<?php 
}
?>
				</table>
				<div style="clear: both;"></div>
			</div>
		</div>
		<?php 
echo htmlGmp::hidden('mod', array('value' => 'options'));
?>
		<?php 
echo htmlGmp::hidden('action', array('value' => 'saveGroup'));
?>
	</form>
</section>
?>
:
								</label>
							</th>
							<td>
								<?php 
echo htmlGmp::text('marker_group[title]', array('value' => $this->editMarkerGroup ? $this->marker_group['title'] : '', 'attrs' => 'style="width: 60%;" id="marker_group_title"', 'required' => true));
?>
								<button class="button" id="gmpMgrSaveBtn">
									<i class="fa fa-save"></i>
									<?php 
_e('Save', GMP_LANG_CODE);
?>
								</button>
							</td>
						</tr>
					</table>
					<?php 
echo htmlGmp::hidden('mod', array('value' => 'marker_groups'));
?>
					<?php 
echo htmlGmp::hidden('action', array('value' => 'save'));
?>
					<?php 
echo htmlGmp::hidden('marker_group[id]', array('value' => $this->editMarkerGroup ? $this->marker_group['id'] : ''));
?>
				</form>
			</div>
		</div>
	</div>
</section>