Advertisement
Guest User

LAN index

a guest
Jul 4th, 2020
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% set queries = uri.query(null, true) %}
  2. {% if queries is empty %}
  3. {% set collection = page.collection %}
  4. {% else %}
  5. {% set collection = taxonomy.findTaxonomy(queries) %}
  6. {% endif %}
  7.  
  8. {% import 'partials/cascade-filters.html.twig' as f %}
  9. <div class="sidebar column is-narrow">
  10. {% set taxlist = cascadeFilters.get() %} {# get texonomy list #}
  11. {% set queries = uri.query(null, true) %} {# get queries as Array #}
  12. <a href="{{ page.url }}" class="button">Clean all filters </a>
  13. {% if taxlist %}
  14. {% for key, values in taxlist %}
  15. <p>
  16. {{ key }}
  17. </p>
  18. <ul class="is-clearfix">
  19. {% for tax in values|keys %}
  20. <li style="float: left; margin: 5px">
  21. {{ f.genQueryUrl(queries|sort,key,tax, page.url, cascadeFilters) }}
  22. </li>
  23. {% endfor %}
  24. </ul>
  25. {% endfor %}
  26. {% endif %}
  27. </div>
  28.  
  29.  
  30.  
  31.  
  32. [![](AoE2.jpg)](http://192.168.1.75/home/aoe2)
  33. [![BFBC2](Battlefield%20Bad%20Company%202.jpg)](http://192.168.1.75/home/bfbc2)
  34. [![](Blur.jpg)](http://192.168.1.75/home/blur)
  35. [![](Day%20of%20Defeat.jpg)](http://192.168.1.75/home/dod-source)
  36. [![](Garry's%20mod.jpg)](http://192.168.1.75/home/gmod)
  37. [![](Golf%20it.jpg)](http://192.168.1.75/home/golf-it)
  38. [![](Golf%20with%20your%20Friends.jpg)](http://192.168.1.75/home/golf-friends)
  39. [![](Rune%20Classic.jpg)](http://192.168.1.75/home/rune)
  40. [![](Running%20with%20Rifles.jpg)](http://192.168.1.75/home/running-rifles)
  41. [![](Splinter%20Cell%20Chaos%20Theory.jpg)](http://192.168.1.75/home/splinter-cell-ct)
  42. [![](The%20Mean%20Greens.jpg)](http://192.168.1.75/home/mean-greens)
  43. [![](UT2K4.jpg)](http://192.168.1.75/home/ut2k4)
  44. [![](World%20in%20Conflict.jpg)](http://192.168.1.75/home/wic)
  45. [![](Wreckfest.jpg)](http://192.168.1.75/home/wreckfest)
Advertisement
RAW Paste Data Copied
Advertisement