Fix more PHP Warnings
This commit is contained in:
parent
63602e44c9
commit
097e97dd1b
2 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
{% if(!empty($dirs)): %}
|
||||||
{% foreach($dirs as $d): %}
|
{% foreach($dirs as $d): %}
|
||||||
<div class="multi-image">
|
<div class="multi-image">
|
||||||
<a href="index.php?d={{ $dir }}/{{ $d }}&s={{ $slice }}&p=1">
|
<a href="index.php?d={{ $dir }}/{{ $d }}&s={{ $slice }}&p=1">
|
||||||
|
@ -24,6 +25,8 @@
|
||||||
<p class="dirname">{{ $d }}</p>
|
<p class="dirname">{{ $d }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endforeach %}
|
{% endforeach %}
|
||||||
|
{% endif %}
|
||||||
|
{% if(!empty($images)): %}
|
||||||
{% foreach($images as $image): %}
|
{% foreach($images as $image): %}
|
||||||
<div class="multi-image">
|
<div class="multi-image">
|
||||||
<a href="index.php?d={{ $dir }}&s=1&gs={{ $slice }}&p={{ $image['i'] }}{{ $filter }}">
|
<a href="index.php?d={{ $dir }}&s=1&gs={{ $slice }}&p={{ $image['i'] }}{{ $filter }}">
|
||||||
|
@ -31,6 +34,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endforeach %}
|
{% endforeach %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="page-footer">
|
<div class="page-footer">
|
||||||
<a id="link-first" href="/index.php?d={{ $dir }}&p=1&s={{ $slice }}{{ $filter }}">1</a>
|
<a id="link-first" href="/index.php?d={{ $dir }}&p=1&s={{ $slice }}{{ $filter }}">1</a>
|
||||||
|
|
|
@ -20,9 +20,11 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="page-footer">
|
<div class="page-footer">
|
||||||
|
{% if(!empty($tags)): %}
|
||||||
{% foreach($tags as $tag): %}
|
{% foreach($tags as $tag): %}
|
||||||
<a href="/index.php?d={{ $dir }}&s={{ $gallery_slice }}&f={{{ $tag }}}"><span class="tag">{{ $tag }}</span></a>
|
<a href="/index.php?d={{ $dir }}&s={{ $gallery_slice }}&f={{{ $tag }}}"><span class="tag">{{ $tag }}</span></a>
|
||||||
{% endforeach %}
|
{% endforeach %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue