fix: Views left off

pull/1881/head
iglocska 2017-01-24 14:22:48 +01:00
parent aba2491344
commit e83d749f86
3 changed files with 14 additions and 0 deletions

View File

@ -15,6 +15,12 @@
'placeholder' => 'Name of the content provider',
'class' => 'form-control span6'
));
echo $this->Form->input('input_source', array(
'label' => 'Source Format',
'div' => 'input clear',
'options' => array('network' => 'Network', 'local' => 'Local'),
'class' => 'form-control span6'
));
echo $this->Form->input('url', array(
'div' => 'input clear',
'placeholder' => 'URL of the feed',

View File

@ -15,6 +15,12 @@
'placeholder' => 'Name of the content provider',
'class' => 'form-control span6'
));
echo $this->Form->input('input_source', array(
'label' => 'Source Format',
'div' => 'input clear',
'options' => array('network' => 'Network', 'local' => 'Local'),
'class' => 'form-control span6'
));
echo $this->Form->input('url', array(
'div' => 'input clear',
'placeholder' => 'URL of the feed',

View File

@ -27,6 +27,7 @@
<th><?php echo $this->Paginator->sort('name');?></th>
<th><?php echo $this->Paginator->sort('source_format', 'Feed Format');?></th>
<th><?php echo $this->Paginator->sort('provider');?></th>
<th><?php echo $this->Paginator->sort('input_source', 'Input');?></th>
<th><?php echo $this->Paginator->sort('url');?></th>
<th>Target</th>
<th>Publish</th>
@ -73,6 +74,7 @@ foreach ($feeds as $item):
</td>
<td><?php echo $feed_types[$item['Feed']['source_format']]['name']; ?>&nbsp;</td>
<td><?php echo h($item['Feed']['provider']); ?>&nbsp;</td>
<td><?php echo h($item['Feed']['input_source']); ?>&nbsp;</td>
<td><?php echo h($item['Feed']['url']); ?>&nbsp;</td>
<td class="shortish">
<?php