Пример #1
0
&nbsp;<?php 
    echo $askOpt['label'];
    ?>
</label>
			<?php 
    if ($askId == 4) {
        ?>
				<label id="toeFindUsUrlShell" style="display: none;">Please, post url: <?php 
        echo htmlCsp::text('find_on_web_url');
        ?>
</label>
			<?php 
    } elseif ($askId == 5) {
        ?>
				<label style="display: none;" id="toeOtherWayTextShell"><?php 
        echo htmlCsp::textarea('other_way_desc');
        ?>
</label>
			<?php 
    }
    ?>
		<?php 
}
?>

		<div class="spacer"></div>

		<h2>Video tutorial</h2>
		<div class="video-wrapper">
			<iframe width="640" height="360" src="//www.youtube.com/embed/kIRh4oCvv6I" frameborder="0" allowfullscreen></iframe>
		</div>
</div>
<div class="clearfix"></div>
<div class="clearfix">
	<?php 
echo htmlCsp::button(array('value' => langCsp::_('Set default'), 'attrs' => 'id="cspMsgTitleSetDefault"'));
?>
	<div id="cspAdminOptMsgTitleDefaultMsg"></div>
</div>
<div class="clearfix"></div>
<br />
<h4 class="cspTitle"><?php 
langCsp::_e('Text');
?>
:</h4>
<?php 
echo htmlCsp::textarea('opt_values[msg_text]', array('value' => $this->optModel->get('msg_text')));
?>
<div class="cspLeftCol">
    <?php 
langCsp::_e('Select color');
?>
:
    <?php 
echo htmlCsp::colorpicker('opt_values[msg_text_color]', array('value' => $this->optModel->get('msg_text_color')));
?>
</div>
<div class="cspRightCol">
    <?php 
langCsp::_e('Select font');
?>
:
Пример #3
0
</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 
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')));
Пример #4
0
<table width="100%">
    <tr class="cspBodyCells">
        <td>
            <div class="GAnaliticsLabel">
                <?php 
langCsp::_e('Enter Google Analitics code here');
?>
:
				<small>
					<i>
						<a href='https://support.google.com/analytics/answer/1008080?hl=en' target='_blank'>
							where to get the code?
						</a>
					</i>
				</small>
                <?php 
echo htmlCsp::textarea('opt_values[google_analitics]', array('value' => $this->optsModel->get('google_analitics'), 'rows' => '5', 'cols' => '60'));
?>
            </div>
        </td>
    </tr>
</table>
Пример #5
0
	<tr>
		<td><?php 
langCsp::_e('Subject');
?>
:</td>
		<td><?php 
echo htmlCsp::text('email_tpl[' . $this->tplData['id'] . '][subject]', array('value' => $this->tplData['subject']));
?>
</td>
	</tr>
	<tr>
		<td><?php 
langCsp::_e('Body');
?>
:</td>
		<td><?php 
echo htmlCsp::textarea('email_tpl[' . $this->tplData['id'] . '][body]', array('value' => $this->tplData['body']));
?>
</td>
	</tr>
	<tr>
		<td><?php 
langCsp::_e('Available veriables');
?>
:</td>
		<td><?php 
echo $this->tplData['variables'];
?>
</td>
	</tr>
</table>