diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-25 22:10:13 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-25 22:10:13 -0300 |
commit | 5c168b0e892c9a1d2a7acee2e3eaf13156b16020 (patch) | |
tree | b18bb2425ed0169b781deaa3763d87a0a06c12df /data/templates | |
parent | de24e70ae17850b12ff8ac69439da86bb6d77d74 (diff) | |
download | semanticscuttle-5c168b0e892c9a1d2a7acee2e3eaf13156b16020.tar.gz semanticscuttle-5c168b0e892c9a1d2a7acee2e3eaf13156b16020.tar.bz2 |
Syntax fixes
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/default/bookmarks.tpl.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/templates/default/bookmarks.tpl.php b/data/templates/default/bookmarks.tpl.php index 6b8a7c7..a0ef56e 100644 --- a/data/templates/default/bookmarks.tpl.php +++ b/data/templates/default/bookmarks.tpl.php @@ -349,14 +349,14 @@ if ($currenttag!= '') { $assetPng = $assetLink .'/screenshot.png'; // Check if the link exists - if (file_exists($cacheInfo .'/' $assetHash .'/hascache')) { + if (file_exists($cacheInfo .'/'. $assetHash .'/hascache')) { $cacheLink = "| <a href=\"$assetLink\">Cache</a>"; - if (file_exists($cacheInfo .'/' $assetHash .'/haspdf')) { + if (file_exists($cacheInfo .'/'. $assetHash .'/haspdf')) { $cacheLink .= " | <a href=\"$assetPdf\">PDF</a>"; } - if (file_exists($cacheInfo .'/' $assetHash .'/haspng')) { + if (file_exists($cacheInfo .'/'. $assetHash .'/haspng')) { $cacheLink .= " | <a href=\"$assetPng\">PNG</a>"; } } @@ -367,11 +367,11 @@ if ($currenttag!= '') { $retcode = curl_getinfo($fp, CURLINFO_HTTP_CODE); if ($retcode != 404) { - if (!file_exists($cacheInfo .'/' $assetHash)) { + if (!file_exists($cacheInfo .'/'. $assetHash)) { mkdir($cacheInfo .'/' $assetHash); } - touch($cacheInfo .'/' $assetHash .'/hascache'); + touch($cacheInfo .'/'. $assetHash .'/hascache'); $cacheLink = "| <a href=\"$assetLink\">Cache</a>"; // Check if PDF is available @@ -382,7 +382,7 @@ if ($currenttag!= '') { $retcode = curl_getinfo($fp, CURLINFO_HTTP_CODE); if ($retcode != 404) { - touch($cacheInfo .'/' $assetHash .'/haspdf'); + touch($cacheInfo .'/'. $assetHash .'/haspdf'); $cacheLink .= " | <a href=\"$assetPdf\">PDF</a>"; } |