當前位置: 首頁>>代碼示例>>PHP>>正文


PHP BYT_Theme_Utils::render_submit_button方法代碼示例

本文整理匯總了PHP中BYT_Theme_Utils::render_submit_button方法的典型用法代碼示例。如果您正苦於以下問題:PHP BYT_Theme_Utils::render_submit_button方法的具體用法?PHP BYT_Theme_Utils::render_submit_button怎麽用?PHP BYT_Theme_Utils::render_submit_button使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在BYT_Theme_Utils的用法示例。


在下文中一共展示了BYT_Theme_Utils::render_submit_button方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

				<p><?php 
_e('Total', 'bookyourtravel');
?>
</p>
				<p class="step_1_total_holder"></p>
			</div>
		</div>
	
		<h3><span>02 </span><?php 
_e('Submit booking', 'bookyourtravel');
?>
</h3>
		<div class="error" style="display:none;"><div><p></p></div></div>
		<div class="row twins">
			<div class="f-item">
				<label for="first_name"><?php 
_e('First name', 'bookyourtravel');
?>
</label>
				<input type="text" id="first_name" name="first_name" data-required />
			</div>
			<div class="f-item">
				<label for="last_name"><?php 
_e('Last name', 'bookyourtravel');
?>
</label>
				<input type="text" id="last_name" name="last_name" data-required />
			</div>
		</div>			
		<div class="row twins">
			<div class="f-item">
開發者ID:JDjimenezdelgado,項目名稱:old-mmexperience,代碼行數:31,代碼來源:accommodation-booking-form.php

示例2: foreach

					<th><?php 
    _e('Element', 'bookyourtravel');
    ?>
</th>
					<?php 
    for ($i = 1; $i <= 10; $i++) {
        echo '<th>' . $i . '</th>';
    }
    ?>
				</tr>
				<?php 
    foreach ($review_fields as $field) {
        ?>
				<tr>
					<th><?php 
        echo $field['label'];
        ?>
</th>
					<?php 
        for ($i = 1; $i <= 10; $i++) {
            echo '<td><input type="radio" id="reviewField_' . $field['id'] . '_' . $i . '" value="' . $i . '" name="reviewField_' . $field['id'] . '" /></td>';
        }
        ?>
				</tr>
				<?php 
    }
    ?>
			</table>
			<h3><?php 
    echo sprintf(__('What did you like about the %s?', 'bookyourtravel'), $post_type);
    ?>
開發者ID:JDjimenezdelgado,項目名稱:old-mmexperience,代碼行數:31,代碼來源:review-form.php

示例3:

				<div class="f-item">
					<label for="your_name"><?php 
_e('Your name', 'bookyourtravel');
?>
</label>
					<input type="text" name="your_name" id="your_name" />
				</div>
			</div>
			<div class="row">
				<div class="f-item">
					<label for="your_email"><?php 
_e('Your email', 'bookyourtravel');
?>
</label>
					<input type="email" name="your_email" id="your_email" />
				</div>
			</div>
			<div class="row">
				<div class="f-item">
					<label for="your_phone"><?php 
_e('Your phone', 'bookyourtravel');
?>
</label>
					<input type="text" name="your_phone" id="your_phone" />
				</div>
			</div>
			<h3><?php 
_e('What would you like to inquire about?', 'bookyourtravel');
?>
</h3>
			<div class="f-item">
開發者ID:JDjimenezdelgado,項目名稱:old-mmexperience,代碼行數:31,代碼來源:inquiry-form.php

示例4:

</label>
					<select id="car_booking_form_drop_off" name="car_booking_form_drop_off">
					<?php 
echo $locations_select_options;
?>
					</select>
				</div>
			</div>
			<div class="row twins">
				<div class="f-item">
					<label for="car_booking_form_first_name"><?php 
_e('First name', 'bookyourtravel');
?>
</label>
					<input type="text" id="car_booking_form_first_name" name="car_booking_form_first_name" data-required />
				</div>
				<div class="f-item">
					<label for="car_booking_form_last_name"><?php 
_e('Last name', 'bookyourtravel');
?>
</label>
					<input type="text" id="car_booking_form_last_name" name="car_booking_form_last_name" data-required />
				</div>
			</div>			
			<div class="row twins">
				<div class="f-item">
					<label for="car_booking_form_email"><?php 
_e('Email address', 'bookyourtravel');
?>
</label>
					<input type="email" id="car_booking_form_email" name="car_booking_form_email" data-required />
開發者ID:JDjimenezdelgado,項目名稱:old-mmexperience,代碼行數:31,代碼來源:car_rental-booking-form.php


注:本文中的BYT_Theme_Utils::render_submit_button方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。