1 <div class="install form">
2 <h2><?php echo $this->pageTitle; ?></h2>
3 <p><?php __('Registration of some Initial information for the site.') ?></p>
7 echo $form->create('Install', array(
8 'url' => array('plugin' => 'install', 'controller' => 'install', 'action' => 'regist')
14 $name = 'Administrator';
15 if (isset($this->data['User']['name'])) {
16 $name = $this->data['User']['name'];
18 echo $form->input('User.name', array(
19 'label' => __('Name of the Administrator', true),
21 'after' => $html->div('required',
22 __(' * required', true)
30 if (isset($this->data['User']['username'])) {
31 $username = $this->data['User']['username'];
33 echo $form->input('User.username', array(
34 'label' => __('UserId of the Administrator', true),
36 'maxlength' => $idLength['max'],
37 'after' => $html->tag('div',
38 sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
39 array('class' => 'attention')
41 $html->div('required',
42 __(' * required', true)
49 echo $form->input('User.password1', array(
50 'label' => __('Password', true),
53 'maxlength' => $passwordLength['max'],
54 'after' => $html->div('attention',
55 sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max'])
57 $html->div('required',
58 __(' * required', true)
61 echo $form->input('User.password2', array(
62 'label' => __('Password [confirm]', true),
65 'after' => $html->div('required',
66 __(' * required', true)
73 echo $form->input('User.pcmail', array(
74 'label' => __('Pc Mail', true),
75 'after' => $html->div('required',
76 __(' * required', true)
83 $siteName = __('Chara-Shee!', true);
84 if (isset($this->data['SiteConfig']['siteName'])) {
85 $siteName = $this->data['SiteConfig']['siteName'];
87 echo $form->input('SiteConfig.siteName', array(
88 'label' => __('Site Name', true),
96 echo $form->end(array('label' => __('Submit', true)));