PluginProbe
ShiftController Employee Shift Scheduling / 2.1.0
ShiftController Employee Shift Scheduling v2.1.0
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
shiftcontroller / happ / application / views / setup.php

setup.php in ShiftController Employee Shift Scheduling 2.1.0, at happ/application/views/setup.php

50 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $fields = array(
3 array(
4 'name' => 'first_name',
5 'label' => lang('user_first_name'),
6 ),
7 array(
8 'name' => 'last_name',
9 'label' => lang('user_last_name'),
10 ),
11 array(
12 'name' => 'email',
13 'label' => lang('common_email'),
14 ),
15 array(
16 'name' => 'password',
17 'label' => lang('common_password'),
18 'type' => 'password'
19 ),
20 array(
21 'name' => 'confirm_password',
22 'label' => lang('common_password_confirm'),
23 'type' => 'password'
24 ),
25 );
26 reset( $fields );
27 ?>
28
29 <div class="page-header">
30 <h2><?php echo $page_title; ?></h2>
31 </div>
32
33 <?php echo form_open('setup/run', array('class' => 'well form-horizontal form-condensed')); ?>
34 <fieldset>
35 <legend><?php echo lang('setup_admin'); ?></legend>
36 <?php foreach( $fields as $f ) : ?>
37 <?php
38 echo hc_bootstrap::input(
39 $this->hc_form->input($f),
40 $f['label'],
41 $this->hc_form->error($f['name'])
42 );
43 ?>
44 <?php endforeach; ?>
45 </fieldset>
46
47 <div class="controls">
48 <?php echo form_button( array('type' => 'submit', 'name' => 'submit', 'class' => 'btn btn-primary'), lang('setup_setup')); ?>
49 </div>
50 <?php echo form_close();?>