diff --git a/plugin/API/info.php b/plugin/API/info.php index 0a1934bd8..238c0eba3 100644 --- a/plugin/API/info.php +++ b/plugin/API/info.php @@ -1,74 +1,97 @@
++ + You can get notified for the new video uploads with the Webhook in the Notification plugin, Check here for more details + +
+
+ +
+ +'; + echo htmlentities($frm); + ?> +
getMethod($method_name)->getDocComment();
- $comment = str_replace(array('{webSiteRootURL}','{getOrSet}','{APIName}','{APISecret}'), array($global['webSiteRootURL'],$matches[1],$matches[2], $obj->APISecret), $comment);
+ $comment = str_replace(array('{webSiteRootURL}', '{getOrSet}', '{APIName}', '{APISecret}'), array($global['webSiteRootURL'], $matches[1], $matches[2], $obj->APISecret), $comment);
preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#', $comment, $match2);
- //var_dump($match2[0]);
- $link = "".htmlentities($match2[0][0])."";
+ //var_dump($match2[0]);
+ $link = "" . htmlentities($match2[0][0]) . "";
$comment = str_replace(array($match2[0][0]), array($link), $comment);
-
+
echo ($comment);
//{webSiteRootURL}plugin/API/{getOrSet}.json.php?name={name}
?>
| + |
|---|