本文整理汇总了PHP中HtmlForm::renderSubmitResetRED方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlForm::renderSubmitResetRED方法的具体用法?PHP HtmlForm::renderSubmitResetRED怎么用?PHP HtmlForm::renderSubmitResetRED使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlForm
的用法示例。
在下文中一共展示了HtmlForm::renderSubmitResetRED方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Message
<body>
<div class="container">
<?php
if (isset($_SESSION["loggedIn"])) {
$form->renderStart("createSecret", "Secret Page Data");
$form->renderTextbox("txtTitle", "Title for page", true, 50);
$form->renderTextbox("txtMessage", "Secret Message (up to 500 characters)", true, 500);
$form->renderTextbox("txtImagePath", "Image File Path (16KB image size max");
$form->renderTextbox("txtChallengeQuestion_1", "Challenge Question", true, 140);
echo "<div id = 'challenge'></div>";
$form->renderTextbox("txtChallengeAnswer_1", "Challenge Answer", true, 50);
echo "<div id = 'answer'></div>";
$form->renderTextbox("txtEmail_1", "Recipient Email", false, 50);
echo "<div id = 'email'></div>";
echo "<button type='button' id='addButton' onClick='count++;addRecipient(count);' value='Add Recipients'>Add Recipients</button>";
$form->renderSubmitResetRED("submitSecret", "Submit", "Cancel");
} else {
$form->renderStart("createSecret", "Secret Page Data");
$form->renderTextbox("txtTitle", "Title for page", false, 50);
$form->renderTextbox("txtMessage", "Secret Message (up to 500 characters)", true, 500, "", "id=txtMessage");
$form->renderTextbox("txtImagePath", "Image File Path (16KB image size max)");
$form->renderTextbox("txtChallengeQuestion_1", "Challenge Question", true, 140, "", "id=txtChallenge");
$form->renderTextbox("txtChallengeAnswer_1", "Challenge Answer", true, 50);
$form->renderTextbox("txtEmail_1", "Recipient Email", false, 50);
$form->renderSubmitResetRED("submitSecret", "Submit", "Cancel");
}
?>
</div>
<div id="toHome">
<a href="index.php" > <img id="logo1" alt ="classified logo" src="style\class.png"style="width:100px;height:80px"/></a>