当前位置: 首页>>代码示例>>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;未经允许,请勿转载。