HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
siteNew.php
Go to the documentation of this file.
1 <?php echo $this->renderPartial('//app/_errorsFields',
2  array(
3  'model' => $model,
4  'header' => Yii::t('app',
5  'Your account type limited, please fix the following input limits:'
6  ),
7  ));
8 ?>
9 
10 <?php
11 $this->breadcrumbs=array(
12  'Add new site',
13 );
14 
15 $form=$this->beginWidget('CActiveForm',array(
16  'id' => 'SearchFilter',
17  'htmlOptions' => array('class' => ''),
18  'action' => Yii::app()->createUrl('SiteNew/new'),
19  'method'=>'post')
20 );
21 $this->widget('zii.widgets.jui.CJuiAccordion',array(
22  'panels'=>array(
23  'Crawling'=>$this->renderPartial('__limitsAreaEdit',array(
24  'defaults'=>$defaults,
25  'descr'=>$descr,
26  ),true),
27  'Processing'=>$this->renderPartial('__urlsAreaEdit',array(
28  'defaults'=>$defaults,
29  'descr'=>$descr,
30  ),true),
31  'Filters area'=>$this->renderPartial('__filtersAreaEdit',array(
32  'descr'=>$descr,
33  ),true),
34  'Properties area'=> $this->renderPartial('__propsAreaEdit',array(
35  'descr'=>$descr,
36  'props'=>$props,
37  ),true),
38  ),
39  'options'=>array(
40  'animated'=>'easeInOutQuint',
41  'autoHeight'=>false,
42  'active'=>0,
43  'clearStyle'=>true,
44  ),
45 ));
46 echo CHtml::submitButton('Create', array('class'=>'submit-right'));
47 $this->endWidget();
48 unset($form);
49 echo CHtml::tag('button', array('id'=>'site-new-form', 'class'=>'btn btn-default'), 'Create');
50 ?>