1 <?php
$urls = str_replace(
'<br>',
"\n", $itemsProvider->rawData[0][
"urls"]);?>
5 <td><?= CHtml::dropDownList(
'urlType',
'', array(
11 $itemsProvider->rawData[0][
"urlType"] => Array(
12 'selected' =>
'selected'
18 <td
class=
"lefted hint"><?=$descr[
'urlType']?></td>
22 <td><?= CHtml::dropDownList(
'fetchType',
'', array(
29 $itemsProvider->rawData[0][
"fetchType"] => Array(
30 'selected' =>
'selected'
36 <td
class=
"lefted hint"><?=$descr[
'fetchType']?></td>
38 foreach ($limitsProvider->rawData as $item){
39 if (($item[
"limit_name_f"]!==
'processingDelay') && ($item[
"limit_name_f"]!==
'maxResources')){
41 echo $item[
"limit_name"];
43 echo CHtml::textField($item[
"limit_name_f"], $item[
"limit_value"], array(
'class'=>
'input-small righted',
'placeholder'=>
''));
44 echo
"</td><td class='lefted hint'>";
45 echo $descr[$item[
"limit_name_f"]];
52 <td>Re-crawl period</td>
53 <td><?= CHtml::textField(
'recrawlPeriod', $itemsProvider->rawData[0][
"recrawlPeriod"], array(
54 'class' =>
'input-small righted',
58 <td
class=
"lefted hint"><?=$descr[
'recrawlPeriod']?></td>
61 <td>Re-crawl date</td>
62 <!--td><?=CHtml::textField(
'recrawlDate',
'', array(
'class'=>
'input-big',
'placeholder'=>
''))?></td-->
63 <td><input type =
"date" class = 'input-mid' name =
'recrawlDate[date]'> <input type =
"time" class = 'input-mid' name =
'recrawlDate[time]' placeholder =
'00:00:00'></td>
64 <td
class=
"lefted hint"><?=$descr[
'recrawlDate']?></td>
72 <?=CHtml::ajaxButton(
'Root URLs integrity check',
'/SitesView/integrityCheck', array(
74 'data'=>
'id='.$itemsProvider->rawData[0][
"id"],
75 'success'=>
"function(data) {
76 $('.loader').remove();
77 $('#page').append(data);
81 'class' =>
'btn btn-default'
84 <br><?=CHtml::textArea(
'rootUrls',
$urls, array(
'class'=>
'edit textarea-url'))?>
86 <td
class=
"lefted hint"><?=$descr[
'rootUrls']?></td>