当前位置: 首页>>代码示例>>PHP>>正文


PHP bootstrap_input函数代码示例

本文整理汇总了PHP中bootstrap_input函数的典型用法代码示例。如果您正苦于以下问题:PHP bootstrap_input函数的具体用法?PHP bootstrap_input怎么用?PHP bootstrap_input使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bootstrap_input函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: base_url

		<?php 
}
?>
	</div>
	<div class="span7">
		<div class="page-header">
			<a href="<?php 
echo base_url('client/projects');
?>
" class="btn pull-right">Back to Projects</a>
			<h3>Compose New Comment</h3>
		</div>
		<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
			<?php 
echo bootstrap_input('title', 'Comment Title');
?>
			<?php 
echo bootstrap_input('description', 'Comment Description');
?>
			<div class="controls">
				<?php 
echo form_submit('new_update', 'Submit Comment', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
	</div>
</div>
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:31,代码来源:comment.php

示例2: form_open

?>
				</tbody>
			</table>
			<?php 
echo $links;
?>
		</div>
		<div class="span6 section-panel">
			<div class="page-header">
				<h3>Compose New Ticket</h3>
			</div>
			<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
				<?php 
echo bootstrap_input('subject', 'Ticket Subject');
?>
				<?php 
echo bootstrap_textarea('issue', 'Issue Description');
?>
				<?php 
echo bootstrap_dropdown('project', 'Project', $projects);
?>
				<div class="controls">
					<?php 
echo form_submit('new_ticket', 'Submit Ticket', 'class="btn btn-primary"');
?>
				</div>
			<?php 
echo form_close();
?>
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:31,代码来源:page.php

示例3: form_open

<div class="row-fluid">
	<div class="span6">
		<div class="page-header">
			<h3>Edit Invoice</h3>
		</div>
		<?php 
echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'generate_invoice'));
?>
			<?php 
echo bootstrap_input('id', 'Invoice ID', $invoice->invoice_id);
?>
			<?php 
echo bootstrap_input('description', 'Invoice Description', $invoice->invoice_description);
?>
			<?php 
echo bootstrap_input('amount_paid', 'Amount Paid', $invoice->amount_paid);
?>
			<div class="items">
			<?php 
for ($i = 0; $i < $invoice->items->count; $i++) {
    ?>
			<div class="control-group" id="item_<?php 
    echo $i;
    ?>
">
				<label class="control-label">
					<strong>Invoice Item #<?php 
    echo $i;
    ?>
</strong>
					<br><a href="javascript:remove_item('<?php 
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:31,代码来源:edit.php

示例4: form_submit

echo form_submit('update_gateway', 'Update Paypal Gateway', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
		</div>
		<div class="tab-pane" id="stripe">
		<?php 
echo form_open(current_url(), array('class' => 'form-horizontal'));
?>
			<?php 
echo bootstrap_input('auth1', 'Your Secret Key', &$gateways['stripe']->auth1);
?>
			<?php 
echo bootstrap_input('auth2', 'Your Publishable Key', &$gateways['stripe']->auth2);
?>
			<?php 
echo bootstrap_hidden('gateway', 'gateway', 'Stripe');
?>
			<?php 
echo bootstrap_checkbox('active', 'Active', 1, &$gateways['stripe']->active);
?>
			<div class="controls">
				<?php 
echo form_submit('update_gateway', 'Update Stripe Gateway', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:31,代码来源:index.php

示例5: bootstrap_input_disabled

echo bootstrap_input_disabled('username', 'Your Username', $user->username);
?>
				<?php 
echo bootstrap_input('email', 'Your Email', $user->email);
?>
				<?php 
echo bootstrap_input('first_name', 'First Name', $user->first_name);
?>
				<?php 
echo bootstrap_input('last_name', 'Last Name', $user->last_name);
?>
				<?php 
echo bootstrap_input('company', 'Company', $user->company);
?>
				<?php 
echo bootstrap_input('phone', 'Phone', $user->phone);
?>
				<?php 
echo bootstrap_textarea('address', 'Address', $user->address);
?>
				<?php 
echo bootstrap_dropdown('timezone', 'Timezone', $timezones, $user->timezone);
?>
				<div class="controls">
					<?php 
echo form_submit('update_profile', 'Update Profile', 'class="btn btn-primary"');
?>
				</div>
			<?php 
echo form_close();
?>
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:31,代码来源:index.php

示例6: form_open

	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<legend>Basics</legend>
		<?php 
echo bootstrap_input('name', 'Name');
?>
		<?php 
echo bootstrap_input('description', 'Description');
?>
		<legend>Attribute Points</legend>
		<?php 
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +');
    ?>
		<?php 
}
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Create Zodiac', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/zodiacs');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:31,代码来源:create.php

示例7: form_open

<div class="page-header">
	<h1>Forgot Password <small>Please enter your <?php 
echo $identity_human;
?>
 so we can send you an email to reset your password.</small></h1>
</div>
<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
	<?php 
bootstrap_input($identity, $identity_human);
?>
	<div class="form-actions">
		<?php 
echo form_submit('submit', 'Submit', 'class="btn btn-primary"');
?>
	</div>
<?php 
echo form_close();
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:19,代码来源:forgot_password.php

示例8: bootstrap_input

echo bootstrap_input('skill_points', 'Skill Points', $character->skill_points);
?>
		<?php 
echo bootstrap_input('attack', 'Attack Points', $character->attack);
?>
		<?php 
echo bootstrap_input('defense', 'Defense Points', $character->defense);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs, $character->zodiac);
?>
		<?php 
echo bootstrap_input('avatar', 'Avatar', $character->avatar);
?>
		<?php 
echo bootstrap_input('face', 'Face', $character->face);
?>
		<?php 
echo bootstrap_dropdown('martial_status', 'Martial Status', $characters, $character->martial_status);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $character->class);
?>
		<?php 
echo bootstrap_dropdown('gender', 'Gender', array('Male', 'Female'), $character->gender);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Character', 'class="btn btn-primary"');
?>
			<a href="<?php 
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:31,代码来源:edit.php

示例9: bootstrap_input

echo bootstrap_input('skill_points', 'Skill Points');
?>
		<?php 
echo bootstrap_input('attack', 'Attack Points');
?>
		<?php 
echo bootstrap_input('defense', 'Defense Points');
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs);
?>
		<?php 
echo bootstrap_input('avatar', 'Avatar');
?>
		<?php 
echo bootstrap_input('face', 'Face');
?>
		<?php 
echo bootstrap_dropdown('martial_status', 'Martial Status', $characters);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes);
?>
		<?php 
echo bootstrap_dropdown('gender', 'Gender', array('Male', 'Female'));
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Create Character', 'class="btn btn-primary"');
?>
			<a href="<?php 
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:31,代码来源:create.php

示例10: form_open

<div class="pane">
	<div class="page-header">
		<h1>Edit Group</h1>
	</div>
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<?php 
echo bootstrap_input('name', 'Name', $group->name);
?>
		<?php 
echo bootstrap_input('description', 'Description', $group->description);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Edit Group', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/groups');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:26,代码来源:edit.php

示例11: form_open

<div class="pane">
	<div class="page-header">
		<h1>Edit Attribute</h1>
	</div>
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<?php 
echo bootstrap_input('name', 'Name', $attr->name);
?>
		<?php 
echo bootstrap_input('acronym', 'Acronym', $attr->acronym);
?>
		<?php 
echo bootstrap_input('description', 'Description', $attr->description);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Attribute', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/attributes');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:29,代码来源:edit.php

示例12: bootstrap_input

}
?>
		<?php 
echo bootstrap_input('id', 'ID*', NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_input('name', 'Name*', NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_input('amount', 'Amount*', NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_dropdown('interval', 'Interval*', $intervals, NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_input('trial_period_days', 'Trial period days', NULL, 'class="span3"');
?>
	</div>
	<div class="modal-footer">
		<?php 
echo bootstrap_submit('submit', 'Create Plan', 'class="btn btn-primary"');
?>
		<a href="#" class="btn" data-dismiss="modal">Close</a>
	</div>
</div>
<?php 
echo form_close();
?>
<script>
<?php 
if (validation_errors() || isset($create_error)) {
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:31,代码来源:index.php

示例13: form_open

<div class="admin-panel">
<div class="page-header">
	<h1>Create Option</h1>
</div>
<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
	<?php 
echo bootstrap_input('option_name', 'Option Name');
?>
	<?php 
echo bootstrap_input('option_value', 'Option Value');
?>
	<div class="controls">
		<?php 
echo form_submit('submit', 'Create', 'class="btn btn-primary"');
?>
		<a href="<?php 
echo base_url('admin/options');
?>
" class="btn">Cancel</a>
	</div>
<?php 
echo form_close();
?>
</div>
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:26,代码来源:create.php

示例14: base_url

		<?php 
}
?>
	</div>
	<div class="span7">
		<div class="page-header">
			<a href="<?php 
echo base_url('admin/projects');
?>
" class="btn pull-right">Back to Projects</a>
			<h3>New Update</h3>
		</div>
		<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
			<?php 
echo bootstrap_input('title', 'Update Title');
?>
			<?php 
echo bootstrap_input('description', 'Update Description');
?>
			<div class="controls">
				<?php 
echo form_submit('new_update', 'Create Update', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
	</div>
</div>
开发者ID:roncodes,项目名称:bitsy-crm,代码行数:31,代码来源:update.php

示例15: bootstrap_dropdown

		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $power->class);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs, $power->zodiac);
?>
		<?php 
echo bootstrap_input('level', 'Level Required', $power->level);
?>
		<legend>Bonus Attribute Points</legend>
		<?php 
$power_attributes = json_decode($power->attributes, true);
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +', $power_attributes[strtolower($attr->acronym)]);
    ?>
		<?php 
}
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Power', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/powers');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
开发者ID:roncodes,项目名称:cloudrealms-2,代码行数:31,代码来源:edit.php


注:本文中的bootstrap_input函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。