Updated to reflect live site
Signed-off-by: Sophia Atkinson <sophialul@protonmail.com>
This commit is contained in:
@@ -42,12 +42,17 @@ function dd_preview_show( $keyword ) {
|
||||
$qrcode = 'https://api.qrserver.com/v1/create-qr-code/?size=256x256&format=svg&bgcolor=1D1D1D&color=fff&charset-source=UTF-8&ecc=H&data='.YOURLS_SITE.'/'.$keyword;
|
||||
|
||||
echo <<<HTML
|
||||
<h2>Link Preview</h2>
|
||||
<style>
|
||||
div.nav-open#navOpen{
|
||||
display: none
|
||||
}
|
||||
</style>
|
||||
<h2 class="linkpre">Link Preview</h2>
|
||||
<p>You requested the short URL <strong><a href="$base/$keyword">$base/$keyword</a></strong></p>
|
||||
<p>This short URL points to:</p>
|
||||
<ul>
|
||||
<li>Long URL: <strong><a href="$base/$keyword">$url</a></strong></li>
|
||||
<li>Page title: <strong>$title</strong></li>
|
||||
<li>Long URL: <strong class="qrurl"><a href="$base/$keyword">$url</a></strong></li>
|
||||
<li>Page title: <strong class="qrurl">$title</strong></li>
|
||||
<li>QR Code: <br><img src="$qrcode"></li>
|
||||
</ul>
|
||||
<p>If you still want to visit this link, please <strong><a href="$base/$keyword">click here</a></strong>.</p>
|
||||
|
||||
Reference in New Issue
Block a user