File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if (!gps('txpreview')) {
88
99 // Do not let them slow us down.
1010 $opts = array('http' => array('timeout' => 1.6));
11- $url = 'http ://website.informer.com/w/textpatternwidget.php';
11+ $url = 'https ://website.informer.com/w/textpatternwidget.php';
1212
1313 $context = stream_context_create($opts);
1414 $widget = file_get_contents($url, false, $context);
@@ -54,13 +54,13 @@ if (!gps('txpreview')) {
5454EOHTML;
5555
5656 foreach ($linkInfo as $row) {
57- $out .= '<li><a rel="external" href="'.$row['href'].'">'.$row['content'].'</a></li>'.n;
57+ $out .= '<li><a rel="external" referrerpolicy="origin" href="'.$row['href'].'">'.$row['content'].'</a></li>'.n;
5858 }
5959
6060 // Hard-code the footer, since it's easier than trying to get innerHTML from DOMDocument.
6161 $out .= <<<EOHTML
6262</ul>
63- <small>Powered by <a rel="external" href="http ://website.informer.com/">website.informer.com</a></small>
63+ <small>Powered by <a rel="external" href="https ://website.informer.com/">website.informer.com</a></small>
6464EOHTML;
6565
6666 echo n,comment(date('c'));
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ foreach ($json->topic as $topic) {
245245 echo '<li><a href="'.htmlspecialchars($topic->link).'">'.htmlspecialchars($topic->title).'</a> <small class="block">by '.htmlspecialchars($topic->author->name).' on <time datetime="'.htmlspecialchars($topic->postedutc).'">'.htmlspecialchars($topic->posted).'</time></small></li>';
246246}
247247 </txp:php>
248- <txp:linklist category="paid-links-content" break="li"><a rel="external" href="<txp:link_url />"><txp:link_name /></a> <small>(Ad)</small></txp:linklist>
248+ <txp:linklist category="paid-links-content" break="li"><a rel="external" referrerpolicy="origin" href="<txp:link_url />"><txp:link_name /></a> <small>(Ad)</small></txp:linklist>
249249 </txp:etc_cache>
250250 </ul>
251251 <txp:output_form form="ads_webinformer" />
You can’t perform that action at this time.
0 commit comments