]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/vintage/linklist.paging.html
Merge tag 'v0.10.4' into stable
[github/shaarli/Shaarli.git] / tpl / vintage / linklist.paging.html
index 86019c01ee2a5cb4ddd2a9f8b50b59c694b00e2c..35149a6bfddda4c5b3633da3ca5ada947f855b9e 100644 (file)
@@ -1,11 +1,11 @@
 <div class="paging">
-{if="isLoggedIn()"}
+{if="$is_logged_in"}
     <div class="paging_privatelinks">
-        <a href="?privateonly">
-               {if="$privateonly"}
-               <img src="images/private_16x16_active.png#" width="16" height="16" title="Click to see all links" alt="Click to see all links">
-               {else}
-               <img src="images/private_16x16.png#" width="16" height="16" title="Click to see only private links" alt="Click to see only private links">
+      <a href="?visibility=private">
+               {if="$visibility=='private'"}
+      <img src="img/private_16x16_active.png" width="16" height="16" title="Click to see all links" alt="Click to see all links">
+    {else}
+      <img src="img/private_16x16.png" width="16" height="16" title="Click to see only private links" alt="Click to see only private links">
                {/if}
                </a>