HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
__limitsAreaEdit.php
Go to the documentation of this file.
1 <!--Crawling-->
2 <table>
3  <tr>
4  <td>Description</td>
5  <td><?= CHtml::textField('description', '', array(
6  'class' => 'input-big',
7  'placeholder' => '65 chars maximum',
8  'maxlength' => '65'
9  )) ?></td>
10  <td class="lefted hint"><?=$descr['description']?></td>
11  </tr>
12  <tr>
13  <td>Root URLs</td>
14  <td><?=CHtml::textArea('rootUrls', '', array('class'=>'edit textarea-url'))?></td>
15  <td class="lefted hint"><?=$descr['rootUrls']?></td>
16  </tr>
17  <tr>
18  <td>State</td>
19  <td><?= CHtml::dropDownList('state', '', array(
20  '1' => 'Active',
21  '2' => 'Disabled',
22  '3' => 'Suspended'
23  ),
24  array(
25  'options' => array(
26  '3' => Array(
27  'selected' => 'selected'
28  )
29  )
30  )
31  )?>
32  </td>
33  <td class="lefted hint"><?=$descr['state']?></td>
34  </tr>
35  <tr>
36  <td>URL type</td>
37  <td><?= CHtml::dropDownList('urlType', '', array(
38  '0' => 'Regular',
39  '1' => 'Single',
40  ),
41  array(
42  'options' => array(
43  '0' => Array(
44  'selected' => 'selected'
45  )
46  )
47  )
48  )?>
49  </td>
50  <td class="lefted hint"><?=$descr['urlType']?></td>
51  </tr>
52  <tr>
53  <td>Fetch type</td>
54  <td><?= CHtml::dropDownList('fetchType', '', array(
55  '1' => 'Static',
56  '2' => 'Dynamic',
57  '3' => 'External'
58  ),
59  array(
60  'options' => array(
61  '1' => Array(
62  'selected' => 'selected'
63  )
64  )
65  )
66  )?>
67  </td>
68  <td class="lefted hint"><?=$descr['fetchType']?></td>
69  </tr>
70  <tr>
71  <td>Priority</td>
72  <td><?=CHtml::textField('priority', $defaults['priority'], array('class'=>'input-small righted', 'placeholder'=>$defaults['priority']))?></td>
73  <td class="lefted hint"><?=$descr['priority']?></td>
74  </tr>
75  <tr>
76  <td>Max URLs</td>
77  <td><?=CHtml::textField('maxURLs', $defaults['maxURLs'], array('class'=>'input-small righted', 'placeholder'=>$defaults['maxURLs']))?></td>
78  <td class="lefted hint"><?=$descr['maxURLs']?></td>
79  </tr>
80  <tr>
81  <td>Max errors</td>
82  <td><?=CHtml::textField('maxErrors', $defaults['maxErrors'], array('class'=>'input-small righted', 'placeholder'=>$defaults['maxErrors']))?></td>
83  <td class="lefted hint"><?=$descr['maxErrors']?></td>
84  </tr>
85  <tr>
86  <td>Max resource size</td>
87  <td><?=CHtml::textField('maxResourceSize', $defaults['maxResourceSize'], array('class'=>'input-small righted', 'placeholder'=>$defaults['maxResourceSize']))?></td>
88  <td class="lefted hint"><?=$descr['maxResourceSize']?></td>
89  </tr>
90  <tr>
91  <td>Max URLs from page</td>
92  <td><?=CHtml::textField('maxURLsFromPage', $defaults['maxURLsFromPage'], array('class'=>'input-small righted', 'placeholder'=>$defaults['maxURLsFromPage']))?></td>
93  <td class="lefted hint"><?=$descr['maxURLsFromPage']?></td>
94  </tr>
95  <tr>
96  <td>Request delay</td>
97  <td><?=CHtml::textField('requestDelay', $defaults['requestDelay'], array('class'=>'input-small righted', 'placeholder'=>$defaults['requestDelay']))?></td>
98  <td class="lefted hint"><?=$descr['requestDelay']?></td>
99  </tr>
100  <tr>
101  <td>HTTP timeout</td>
102  <td><?=CHtml::textField('httpTimeout', $defaults['httpTimeout'], array('class'=>'input-small righted', 'placeholder'=>$defaults['httpTimeout']))?></td>
103  <td class="lefted hint"><?=$descr['httpTimeout']?></td>
104  </tr>
105  <tr>
106  <td>Re-crawl period</td>
107  <td><?= CHtml::textField('recrawlPeriod', '360', array('class' => 'input-small righted', 'placeholder' => '')) ?></td>
108  <td class="lefted hint"><?=$descr['recrawlPeriod']?></td>
109  </tr>
110 </table>
111 <?=CHtml::hiddenField('iterations', '0')?>
112 <?=CHtml::hiddenField('recrawlDate', 'DATE_ADD(DATE_FORMAT(NOW(),"%Y-%m-%d 00:00:00"), INTERVAL ( CEIL( ( ( HOUR(NOW())*60 + MINUTE(NOW()) + SECOND(NOW())/60) / `RecrawlPeriod` )*`RecrawlPeriod` ) + `RecrawlPeriod` ) MINUTE)')?>
113 <?=CHtml::hiddenField('resources', '0')?>
114 <?=CHtml::hiddenField('contents', '0')?>
115 <?=CHtml::hiddenField('errors', '0')?>
116 <?=CHtml::hiddenField('errorMask', '0')?>
117 <?=CHtml::hiddenField('avgSpeed', '0')?>
118 <?=CHtml::hiddenField('avgSpeedCounter', '0')?>
119 <?=CHtml::hiddenField('collectedURLs', '0')?>
120 <?=CHtml::hiddenField('newURLs', '0')?>
121 <?=CHtml::hiddenField('deletedURLs', '0')?>
122 <?=CHtml::hiddenField('size', '0')?>