Skip to content

Commit

Permalink
fix https
Browse files Browse the repository at this point in the history
  • Loading branch information
CB9TOIIIA committed Aug 29, 2016
1 parent 6029876 commit 0e311c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<field name="disqus_api_app"
type="text"
default=""
label="Disqus application"
label="Disqus application ID"
description="DISQUS_API_APP"
size="30" />
</fieldset>
Expand Down
5 changes: 3 additions & 2 deletions views/disqus/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function disqusRequest($url, $params = [], $ttl = DISQUS_TTL, $debugurl = 0)
echo '<input type="submit" value="Отправить"></form>';
echo '</div>';

if (preg_match('/http:/', $userdisqusform)) {
if (preg_match('/http.+/', $userdisqusform)) {
$urllistPosts = $userdisqusform;
$userdisqusform = '';
}
Expand Down Expand Up @@ -714,6 +714,7 @@ function disqusRequest($url, $params = [], $ttl = DISQUS_TTL, $debugurl = 0)
?>

<?php
if (JComponentHelper::isEnabled('com_zoo') == '1') {
if (empty($urllistPosts) && empty($userdisqusform)) {

echo "<table id='myTable' class='zebratable' role='grid'>";
Expand Down Expand Up @@ -780,7 +781,7 @@ function disqusRequest($url, $params = [], $ttl = DISQUS_TTL, $debugurl = 0)

}
echo "</table>";

}

endif;

Expand Down

0 comments on commit 0e311c9

Please sign in to comment.