Пример #1
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>
// -->
</script>
<?php 
echo htmlCsp::formStart('toeInsertShortcodeForm', array('attrs' => 'id="toeInsertShortcodeForm"'));
?>
    <div id="toeInsertShortcodeSelectBox">
        <h3><a href="#"><?php 
langCsp::_e('Shortcode');
?>
</a></h3>
        <div id="toeInsertShortcodeContentDefault">
            <div><?php 
langCsp::_e('Type');
?>
: <?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>
Пример #3
0
			<br />
            
            <div class="cspLeftCol withCspOptTip">
                <?php 
langCsp::_e('Color Scheme');
?>
:
                <?php 
echo htmlCsp::selectbox('opt_values[soc_facebook_follow_color_scheme]', array('value' => $this->optsModel->get('soc_facebook_follow_color_scheme'), 'options' => array('light' => 'light', 'dark' => 'dark')));
?>
                <br />
                <?php 
langCsp::_e('Width');
?>
:
                <?php 
echo htmlCsp::text('opt_values[soc_facebook_follow_width]', array('value' => $this->optsModel->get('soc_facebook_follow_width')));
?>
            </div>
            <div class="cspRightCol withCspOptTip">
                <?php 
langCsp::_e('Font');
?>
:
                <?php 
echo htmlCsp::selectbox('opt_values[soc_facebook_follow_font]', array('value' => $this->optsModel->get('soc_facebook_follow_font'), 'options' => array('arial' => 'arial', 'lucida grande' => 'lucida grande', 'segoe ui' => 'segoe ui', 'tahoma' => 'tahoma', 'trebuchet ms' => 'trebuchet ms', 'verdana' => 'verdana')));
?>
			</div>			
		</td>
    </tr>
</table>  
Пример #4
0
:
                <?php 
echo htmlCsp::text('opt_values[soc_gp_like_width]', array('value' => $this->optsModel->get('soc_gp_like_width')));
?>
            </div>
            <div class="cspRightCol withCspOptTip">
                <?php 
langCsp::_e('Size');
?>
:
                <?php 
echo htmlCsp::selectbox('opt_values[soc_gp_like_size]', array('value' => $this->optsModel->get('soc_gp_like_size'), 'options' => array('small' => 'Small (15px)', 'medium' => 'Medium (20px)', 'standard' => 'Standard (40px)', 'tall' => 'Tall (60px)')));
?>
                <div class="clearfix"></div>
                <br />
                <br />
                <?php 
langCsp::_e('Annotation');
?>
:
                <?php 
echo htmlCsp::selectbox('opt_values[soc_gp_like_annotation]', array('value' => $this->optsModel->get('soc_gp_like_annotation'), 'options' => array('inline' => 'inline', 'bubble' => 'bubble', 'none' => 'none')));
?>
                <a href="#" class="cspOptTip" tip="<?php 
langCsp::_e('Sets the annotation to display next to the button.');
?>
"></a>
			</div>            
        </td>
    </tr>
</table>  
Пример #5
0
?>
" class="button button-large csp-sub-button"><?php 
langCsp::_e('Followers count display');
?>
</label>
                <br />
                <br />
                <?php 
echo htmlCsp::checkboxHiddenVal('opt_values[soc_tw_follow_show_name]', array('checked' => $this->optsModel->get('soc_tw_follow_show_name')));
?>
                <label for="<?php 
echo 'opt_valuessoc_tw_follow_show_name_check';
?>
" class="button button-large csp-sub-button"><?php 
langCsp::_e('Show Screen Name');
?>
</label>
            </div>
            <div class="cspRightCol withCspOptTip">
                <?php 
langCsp::_e('Button Size');
?>
:
                <?php 
echo htmlCsp::selectbox('opt_values[soc_tw_follow_size]', array('value' => $this->optsModel->get('soc_tw_follow_size'), 'options' => array('medium' => langCsp::_('medium'), 'large' => langCsp::_('large'))));
?>
                <div class="clearfix"></div>
            </div>
        </td>
    </tr>
</table>  		
Пример #6
0
</label>:</td><td><?php 
echo htmlCsp::text('website', array('attrs' => 'placeholder="' . langCsp::_('http://yoursite.com') . '"'));
?>
</td></tr>
                        <tr><td valign="top"><label for="subject"><?php 
langCsp::_e('Subject');
?>
</label>:</td><td><?php 
echo htmlCsp::text('subject', array('attrs' => 'placeholder="' . langCsp::_('Subject') . '"'));
?>
</td></tr>
                        <tr><td valign="top"><label for="category"><?php 
langCsp::_e('Category');
?>
</label>:</td><td><?php 
echo htmlCsp::selectbox('category', array('optionsCsp' => $this->devQuestions));
?>
</td></tr>
                        <tr><td valign="top"><label for="message"><?php 
langCsp::_e('Message');
?>
</label>:</td><td><?php 
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 
Пример #7
0
<label for="<?php 
echo 'opt_valuessoc_yt_enable_subscribe_check';
?>
" class="button button-large"><?php 
langCsp::_e('Enable Subscribe button');
?>
</label>
<table width="100%">
	<tr class="cspBodyCells">
		<td>
            <div class="cspLeftCol">
                <?php 
langCsp::_e('Layout');
?>
:
                 <?php 
echo htmlCsp::selectbox('opt_values[soc_yt_sub_layout]', array('value' => $this->optsModel->get('soc_yt_sub_layout'), 'options' => array('default' => 'default', 'full' => 'full')));
?>
            </div>
			<div class="cspRightCol">
                <?php 
langCsp::_e('Theme');
?>
:
                 <?php 
echo htmlCsp::selectbox('opt_values[soc_yt_sub_theme]', array('value' => $this->optsModel->get('soc_yt_sub_theme'), 'options' => array('default' => 'default', 'dark' => 'dark')));
?>
            </div>
		</td>
    </tr>
</table>
Пример #8
0
:</td>
		<td>
			<?php 
echo htmlCsp::selectlist('selectlistCspUser', array('attrs' => 'style="width:340px;"', 'options' => $this->arrUser));
?>
            <div align="left" class="accessDelElement"><a id="delUserCsp" href="javascript: void(0)"><?php 
langCsp::_e('remove User');
?>
</a></div>
        </td>
	</tr>
	<tr>
		<td></td>
		<td>
                <?php 
echo htmlCsp::selectbox('userCsp', array('attrs' => '', 'options' => $this->selectUser));
?>
        </td>
	</tr>
	<tr>
		<td></td>
		<td>
			<?php 
echo htmlCsp::hidden('reqType', array('value' => 'ajax'));
?>
			<?php 
echo htmlCsp::hidden('page', array('value' => 'access'));
?>
 
			<?php 
echo htmlCsp::hidden('action', array('value' => 'saveUser'));