本文整理汇总了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>
示例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();
?>
示例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
示例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();
?>
示例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();
?>
示例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();
示例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();
示例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
示例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
示例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>
示例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>
示例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)) {
示例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>
示例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>
示例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();