本文整理汇总了PHP中viewHelper::submitButton方法的典型用法代码示例。如果您正苦于以下问题:PHP viewHelper::submitButton方法的具体用法?PHP viewHelper::submitButton怎么用?PHP viewHelper::submitButton使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类viewHelper
的用法示例。
在下文中一共展示了viewHelper::submitButton方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: utf8_decode
print utf8_decode($antiSpamQuestion);
?>
</td>
</tr>
<tr>
<td class="afltr-public-label"></td>
<td class="afltr-public-content">
<input type="text" class="afltr-public-input-text" name="antiSpamAnswer" size="25" maxlength="255" value="<?php
print $value;
?>
">
</td>
</tr>
<tr>
<td colspan="2" class="afltr-public-button-line">
<?php
viewHelper::submitButton('submsave', language::returnLanguageConstant('AFFILIATE_PUB_SUBMIT'), $isNotUtf8);
?>
<?php
viewHelper::resetButton('subreset', $isNotUtf8);
?>
</td>
</tr>
</table>
</div>
</form>
<!-- Powered by Affiliat*r <?php
print $systemVersion;
?>
- http://nobody-knows.org/download/affiliatr/ -->
示例2:
<?php
if (!defined('VIEW')) {
die;
}
?>
<form method="post" action="">
<div class="afltr-acp-top-buttons">
<a href="#" class="buttons show-upload-dialog"><?php
language::printLanguageConstant('FILES_UPLOAD');
?>
</a>
<?php
viewHelper::submitButton('submdelete', language::returnLanguageConstant('DELETE_BTN'), 'submdelete');
?>
</div>
<h2><?php
language::printLanguageConstant('HL_LINKBUTTONS');
?>
</h2>
<div class="afltr-acp-list">
<table class="afltr-acp-table">
<tr>
<th class="afltr-padding-left afltr-align-left"><?php
language::printLanguageConstant('FILES_NAME');
?>
</th>
<th class="afltr-acp-td-w4 afltr-align-left"><?php
language::printLanguageConstant('FILES_METAINFOS');
?>
</th>
示例3:
<?php
if (!defined('VIEW')) {
die;
}
?>
<div class="afltr-login-form">
<form method="post" action="">
<?php
language::printLanguageConstant('LOGIN_PASSWORT');
?>
<br>
<input type="password" class="input-text ui-state-default ui-corner-all" name="passwd" size="50" maxlength="255" value="<?php
print $defaultPW;
?>
">
<?php
viewHelper::submitButton('submpass', language::returnLanguageConstant('LOGIN_BTN'));
?>
<br>
<div class="afltr-align-center afltr-padding-top small-text"><?php
language::printLanguageConstant('LOGIN_RESET_PASSWORD');
?>
</div>
</form>
</div>
示例4:
<?php
if (!defined('VIEW')) {
die;
}
?>
<form method="post" action="">
<div class="afltr-acp-top-buttons">
<?php
viewHelper::submitButton('submdelete', language::returnLanguageConstant('OPTIONS_CLEAR_LOG'));
?>
</div>
<h2><?php
language::printLanguageConstant('HL_LOGS_SYSTEM');
?>
</h2>
<div class="afltr-acp-list">
<div class="tabs">
<ul>
<li><a href="#tabs-log-php"><?php
language::printLanguageConstant('HL_LOGS_ERROR');
?>
</a></li>
<li><a href="#tabs-log-system"><?php
language::printLanguageConstant('HL_LOGS_SYSTEM');
?>
</a></li>
</ul>
<div id="tabs-log-php" class="small-text">
<?php
示例5:
<form method="post" action="index.php?step=1">
<div class="afltr-acp-top-buttons">
<?php
viewHelper::submitButton('continue', language::returnLanguageConstant('NEXT_BTN'));
?>
</div>
<h2>Choose your language</h2>
<div class="afltr-acp-form afltr-align-center"><?php
viewHelper::select('lang', $languages);
?>
</div>
</form>
示例6:
<form method="post" action="index.php?step=2&lang=<?php
print $lang;
?>
">
<div class="afltr-acp-top-buttons">
<?php
viewHelper::submitButton('submsavesyscfg', language::returnLanguageConstant('NEXT_BTN'));
?>
</div>
<h2><?php
language::printLanguageConstant('HL_INSTALL_DBCONNECT');
?>
</h2>
<div class="afltr-acp-form afltr-align-center">
<table class="afltr-acp-table">
<tr>
<td class="afltr-td-label afltr-align-right">
<?php
language::printLanguageConstant('INSTALL_DBTYPE');
?>
:
</td>
<td class="afltr-padding-left">
<?php
viewHelper::select('dbconfig[DBTYPE]', $dbtypes, null, false, false);
?>
</td>
</tr>
<?php
foreach ($fields as $key => $value) {
?>
示例7:
<div class="afltr-dialog" title="<?php
language::printLanguageConstant('FILES_UPLOAD');
?>
">
<form method="post" action="" enctype="multipart/form-data" id="afltr-banner-upload">
<div class="afltr-acp-form afltr-acp-form-nomargin">
<table class="afltr-acp-table afltr-padding-top">
<tr>
<td class="afltr-padding-left">
<input type="file" class="input-text ui-state-default ui-corner-all" name="pageButtonFile">
</td>
</tr>
<tr class="afltr-hide">
<td colspan="2" class="buttons-line afltr-align-center">
<?php
viewHelper::submitButton('submupload', '');
?>
<?php
viewHelper::resetButton('subreset');
?>
</td>
</tr>
</table>
</div>
</form>
</div>
<script type="text/javascript">
var dialogUploadButtonDescr = '<?php
language::printLanguageConstant('UPLOAD_BTN');
?>
示例8:
<?php
if (!defined('VIEW')) {
die;
}
?>
<form method="post" action="">
<div class="afltr-acp-top-buttons">
<?php
viewHelper::submitButton('submmail', language::returnLanguageConstant('SENDMAIL_BTN'));
?>
<?php
viewHelper::resetButton('subreset');
?>
</div>
<h2><?php
language::printLanguageConstant('HL_CONTACT');
?>
</h2>
<div class="afltr-acp-form">
<table class="afltr-acp-table">
<tr>
<td class="afltr-td-label afltr-align-right afltr-acp-td-w2">
<?php
language::printLanguageConstant('CONTACT_RECIPIENT');
?>
:
</td>
<td class="afltr-padding-left">
<input type="text" class="input-text ui-state-default ui-corner-all" name="mailData[mailRecipients]" size="50" maxlength="255" value="<?php
print $recipients;