langCsp::_e($metaOpts['label']);
        ?>
</h3>
				<div class="inside">
					<div><?php 
        echo $metaOpts['adminOptsContent'];
        ?>
</div>
				</div>
				</div>
				<?php 
    }
    ?>
				</div>
			</div>
		</div>
	</div>
	<div style="clear: both;"></div>
	<?php 
}
?>
	<div>
		<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
echo htmlCsp::hidden('page', array('value' => 'options'));
echo htmlCsp::hidden('action', array('value' => 'saveGroup'));
echo htmlCsp::submit('saveAll', array('value' => langCsp::_('Save All Changes'), 'attrs' => 'class="button button-primary button-large"'));
?>
	</div>
	<div id="cspAdminMetaOptionsMsg"></div>
</form>
Beispiel #2
0
<form id="cspAdminAccessFormRole">
<table>
  <tr>
    <td>Only users at or above this level will be able to log in:</td>
    <td>
    	<?php 
$selected = frameCsp::_()->getTable('access')->get('access', array('type_access' => 3));
?>
		<?php 
echo htmlCsp::selectbox('roleCsp', array('attrs' => 'style="float:left; width:120px; margin-right:8px;"', 'options' => $this->selectRole, 'value' => $selected[0]['access']));
?>
        <?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
		<?php 
echo htmlCsp::hidden('page', array('value' => 'access'));
?>
		<?php 
echo htmlCsp::hidden('action', array('value' => 'saveRole'));
?>
        <?php 
echo htmlCsp::submit('submitRole', array('value' => langCsp::_('Save'), 'attrs' => 'class="button button-primary button-large" style="float:right;"'));
?>
        
    </td>
  </tr>
</table>
</form>
								<?php 
dispatcherCsp::doAction('subscribe_' . $this->code . '_SettingsEnd');
?>
								<tr>
									<td>
										<?php 
echo htmlCsp::hidden('page', array('value' => 'options'));
?>
										<?php 
echo htmlCsp::hidden('action', array('value' => 'saveGroup'));
?>
										<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
										<?php 
echo htmlCsp::submit('save', array('value' => langCsp::_('Save')));
?>
									</td>
									<td class="cspEngineSubscribeOptionsFormMsg"></td>
								</tr>
							</table>
						</form>
					</div>
				</div>

				<div id="id_<?php 
echo $this->code;
?>
_ExportCsp" class="postbox cspAdminTemplateOptRow" style="display: block;">
					<div class="handlediv" title="<?php 
langCsp::_e('Click to toggle');
			<p>There are so many features, so we can't post it here. Like:</p>
			<ul>
				<li>Works with any WordPress Theme</li>
				<li>Build with HTML5 & CSS3</li>
				<li>Responsive. Work on any device</li>
				<li>Access controls (Restrict By User Role, IP Address)</li>
				<li>Social integration (Facebook, Tweeter, Google+, YouTube, Instagram)</li>
			</ul>
			<p>So check full features list <a target="_blank" href="http://wordpress.org/plugins/coming-soon-maintenance-mode-ready/">here</a>.</p>
		</div>
		<div class="clear"></div>

		<?php 
echo htmlCsp::hidden('pl', array('value' => CSP_CODE));
?>
		<?php 
echo htmlCsp::hidden('page', array('value' => 'promo_ready'));
?>
		<?php 
echo htmlCsp::hidden('action', array('value' => 'welcomePageSaveInfo'));
?>
		<?php 
echo htmlCsp::submit('gonext', array('value' => 'Thank for check info. Start using plugin.', 'attrs' => 'class="button button-primary button-hero"'));
?>
		<?php 
echo htmlCsp::hidden('original_page', array('value' => reqCsp::getVar('page')));
?>
		
		<span id="toeWelcomePageFindUsMsg"></span>
	</form>
</div>
			<?php 
echo htmlCsp::hidden('page', array('value' => 'options'));
?>
			<?php 
echo htmlCsp::hidden('action', array('value' => 'activatePlugin'));
?>
			<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
			<?php 
echo htmlCsp::hidden('plugName');
?>
			<?php 
echo htmlCsp::hidden('goto');
?>
			<?php 
echo htmlCsp::submit('activate', array('value' => langCsp::_('Activate')));
?>
			<br />
			<div id="toeModActivationPopupMsgCsp"></div>
		</form>
	</center>
	<i><?php 
langCsp::_e('To get your keys - go to');
?>
		<a target="_blank" href="http://readyshoppingcart.com/my-account/my-orders/">http://readyshoppingcart.com/my-account/my-orders/</a>
		<?php 
langCsp::_e('and copy & paste key from your ordered extension here.');
?>
	</i>
</div>
foreach ($formData as $key => $val) {
    if (is_array($val)) {
        foreach ($val as $subKey => $subVal) {
            echo htmlCsp::hidden($key . '[' . $subKey . ']', array('value' => $subVal));
        }
    } else {
        echo htmlCsp::hidden($key, array('value' => $val));
    }
}
?>
        <table width="100%">
            <tr>
                <td><?php 
langCsp::_e('Delete Plugin Data (options, setup data, database tables, etc.)');
?>
:</td>
                <td><?php 
echo htmlCsp::radiobuttons('deleteOptions', array('options' => array('No', 'Yes')));
?>
</td>
            </tr>
        </table>
    <?php 
echo htmlCsp::submit('toeGo', array('value' => langCsp::_('Done')));
?>
    <?php 
echo htmlCsp::formEnd();
?>
    </div>
</body>
</html>
: <?php 
echo htmlCsp::selectbox('shortcodeType', array('optionsCsp' => $this->shortcodesSelectOptions));
?>
</div>
            <div class="toeInsertShortcodeAtts"></div>
        </div>
        <h3><a href="#" title="category"><?php 
langCsp::_e('Category');
?>
</a></h3>
        <div>
            <div class="toeInsertShortcodeAtts"></div>
        </div>
        <h3><a href="#" title="product"><?php 
langCsp::_e('Product');
?>
</a></h3>
        <div>
            <div class="toeInsertShortcodeAtts"></div>
        </div>
    </div>
    <div>
        <?php 
echo htmlCsp::hidden('newContent');
?>
        <?php 
echo htmlCsp::submit('insert', array('value' => langCsp::_('Insert')));
?>
    </div>
<?php 
echo htmlCsp::formEnd();
	<label for=""><?php 
echo $this->enterEmailMsg;
?>
</label>:
		<?php 
if ($this->sub_name_enable == 1) {
    echo htmlCsp::text('name', array('attrs' => 'id="cspSubscribeName" placeholder="Your Name" '));
}
?>
 
	<?php 
echo htmlCsp::text('email');
?>
<br />
	<div>
		<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
		<?php 
echo htmlCsp::hidden('page', array('value' => 'subscribe'));
?>
		<?php 
echo htmlCsp::hidden('action', array('value' => 'create'));
?>
		<?php 
echo htmlCsp::submit('create', array('value' => langCsp::_('Subscribe')));
?>
	</div>
	<div id="cspSubscribeCreateMsg"></div>
</form>
Beispiel #9
0
	</tr>
	<tr>
		<td></td>
		<td><?php 
echo htmlCsp::text('ipAddressCsp', array('value' => ''));
?>
</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
			<?php 
echo htmlCsp::hidden('page', array('value' => 'access'));
?>
 <!--page = для адинки | mod = для сайт-->
			<?php 
echo htmlCsp::hidden('action', array('value' => 'saveIp'));
?>
 <!--метод-->
			<?php 
echo htmlCsp::submit('submitIp', array('value' => langCsp::_('add Ip address'), 'attrs' => 'class="button button-primary button-large"'));
?>
            
        </td>
	</tr>
</table>
</form>
<form action="" method="post" id="cspSubscribeForm">
	<div class="cspFormHint"><?php 
echo $this->enterEmailMsg;
?>
<span class="cspFormHintCorner"></span></div>
	<?php 
if ($this->sub_name_enable == 1) {
    echo htmlCsp::text('name', array('attrs' => 'id="cspSubscribeName" placeholder="Your Name" '));
}
?>
	<?php 
echo htmlCsp::text('email', array('attrs' => 'id="subscribe_email" placeholder="Your Email"'));
?>
		<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
		<?php 
echo htmlCsp::hidden('page', array('value' => 'subscribe'));
?>
		<?php 
echo htmlCsp::hidden('action', array('value' => 'create'));
?>
		<?php 
echo htmlCsp::submit('create', array('value' => langCsp::_('Subscribe'), 'attrs' => 'id="cspSubscribeButton"'));
?>
	<div id="cspSubscribeCreateMsg"></div>
</form>
Beispiel #11
0
echo htmlCsp::textarea('message', array('attrs' => 'placeholder="' . langCsp::_('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 htmlCsp::hidden('mod', array('value' => 'adminmenu'));
?>
                                <?php 
echo htmlCsp::hidden('action', array('value' => 'sendMailToDevelopers'));
?>
                                <?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
                                <?php 
echo htmlCsp::submit('send', array('value' => langCsp::_('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 
langCsp::_e('News and Info');
?>
</h3>
            <div class="inside">