[PornhubBridge] Fix travis issues (#1471)
* [PornhubBridge] Fix travis issues
This commit is contained in:
parent
480694e819
commit
fe83d763a3
1 changed files with 6 additions and 6 deletions
|
@ -27,12 +27,12 @@ class PornhubBridge extends BridgeAbstract {
|
||||||
'name' => 'Sort by',
|
'name' => 'Sort by',
|
||||||
'type' => 'list',
|
'type' => 'list',
|
||||||
'values' => array(
|
'values' => array(
|
||||||
'Most recent' => '',
|
'Most recent' => '?',
|
||||||
'Most views' => '?o=mv',
|
'Most views' => '?o=mv',
|
||||||
'Top rated' => '?o=tr',
|
'Top rated' => '?o=tr',
|
||||||
'Longest' => '?o=lg',
|
'Longest' => '?o=lg',
|
||||||
),
|
),
|
||||||
'defaultValue' => '',
|
'defaultValue' => '?',
|
||||||
),
|
),
|
||||||
'show_images' => array(
|
'show_images' => array(
|
||||||
'name' => 'Show thumbnails',
|
'name' => 'Show thumbnails',
|
||||||
|
@ -84,7 +84,7 @@ class PornhubBridge extends BridgeAbstract {
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
$image = $element->find('img', 0)->getAttribute('data-src');
|
$image = $element->find('img', 0)->getAttribute('data-src');
|
||||||
if($show_images == TRUE) {
|
if($show_images === true) {
|
||||||
$item['content'] = '<a href="' . $item['uri'] . '"><img src="' . $image . '"></a>';
|
$item['content'] = '<a href="' . $item['uri'] . '"><img src="' . $image . '"></a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue