5 <td><?= CHtml::textField(
'description',
'', array(
6 'class' =>
'input-big',
7 'placeholder' =>
'65 chars maximum',
10 <td
class=
"lefted hint"><?=$descr[
'description']?></td>
14 <td><?=CHtml::textArea(
'rootUrls',
'', array(
'class'=>
'edit textarea-url'))?></td>
15 <td
class=
"lefted hint"><?=$descr[
'rootUrls']?></td>
19 <td><?= CHtml::dropDownList(
'state',
'', array(
27 'selected' =>
'selected'
33 <td
class=
"lefted hint"><?=$descr[
'state']?></td>
37 <td><?= CHtml::dropDownList(
'urlType',
'', array(
44 'selected' =>
'selected'
50 <td
class=
"lefted hint"><?=$descr[
'urlType']?></td>
54 <td><?= CHtml::dropDownList(
'fetchType',
'', array(
62 'selected' =>
'selected'
68 <td
class=
"lefted hint"><?=$descr[
'fetchType']?></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>
77 <td><?=CHtml::textField(
'maxURLs', $defaults[
'maxURLs'], array(
'class'=>
'input-small righted',
'placeholder'=>$defaults[
'maxURLs']))?></td>
78 <td
class=
"lefted hint"><?=$descr[
'maxURLs']?></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>
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>
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>
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>
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>
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>
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')?>