]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/linklist.paging.html
Use new header plugin placeholders
[github/shaarli/Shaarli.git] / tpl / default / linklist.paging.html
index 4dbfb32413043278d350aa88ebd25a7187e889c8..5e9c84868f94421cfa33cbf668de3f8f8892f71d 100644 (file)
               ><i class="fa fa-key"></i></a>
             {/if}
             {loop="$action_plugin"}
-              <!-- FIXME! Plugin update to handle that. -->
-              <a href="?privateonly" title="{$value.title}" class=
-                {if="$value.on"}
-                  "filter-on"
-                {else}
-                  "filter-off"
-                {/if}
-              >{$value.url}</a>
+              {$value.class=isset($value.class) ? $value.class : ''}
+              {$value.class=!empty($value.on) ? $value.class .' filter-on' : $value.class .' filter-off'}
+              <a
+                {loop="$value"}
+                  {if="$key!='html'"}
+                    {$key}="{$value}"
+                  {/if}
+                {/loop}>
+                {$value.html}
+              </a>
             {/loop}
           {/if}
         </div>