mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-23 01:55:27 +03:00
[ThePirateBayBridge] Add instructions
Added additional instructions for: 'username search' and 'category search' next to instructions for 'keyword search'. Changed variable name from underscore to camelCase.
This commit is contained in:
parent
2595b5d7d8
commit
585379d47a
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ class ThePirateBayBridge extends BridgeAbstract {
|
|||
|
||||
const PARAMETERS = array( array(
|
||||
'q' => array(
|
||||
'name' => 'keywords, separated by semicolons',
|
||||
'name' => 'keywords/username/category, separated by semicolons',
|
||||
'exampleValue' => 'first list;second list;…',
|
||||
'required' => true
|
||||
),
|
||||
|
@ -24,9 +24,9 @@ class ThePirateBayBridge extends BridgeAbstract {
|
|||
'user' => 'usr'
|
||||
)
|
||||
),
|
||||
'cat_check' => array(
|
||||
'catCheck' => array(
|
||||
'type' => 'checkbox',
|
||||
'name' => 'Specify category for normal search ?',
|
||||
'name' => 'Specify category for keyword search ?',
|
||||
),
|
||||
'cat' => array(
|
||||
'name' => 'Category number',
|
||||
|
@ -94,7 +94,7 @@ class ThePirateBayBridge extends BridgeAbstract {
|
|||
return $timestamp;
|
||||
}
|
||||
|
||||
$catBool = $this->getInput('cat_check');
|
||||
$catBool = $this->getInput('catCheck');
|
||||
if($catBool) {
|
||||
$catNum = $this->getInput('cat');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue