forked from vincent3569/zpBootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
archive.php
69 lines (62 loc) · 1.69 KB
/
archive.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php include('inc_header.php'); ?>
<!-- .container main -->
<!-- .page-header -->
<!-- .header -->
<h3><?php echo gettext('Search'); ?></h3>
</div><!-- .header -->
</div><!-- /.page-header -->
<div class="page-header row">
<div class="col-xs-offset-1 col-xs-10 col-sm-offset-2 col-sm-8 col-md-offset-3 col-md-6">
<?php printSearchForm(); ?>
</div>
</div>
<table id="archives" class="table">
<thead>
<th><h4><?php echo gettext('Gallery archive'); ?></h4></th>
<?php if ($_zenpage_news_enabled) { ?>
<th><h4><?php echo gettext('News archive'); ?></h4></th>
<?php } ?>
</thead>
<tbody>
<tr>
<td>
<?php printAllDates('list-unstyled', 'year', 'month nav nav-pills col-xs-offset-1', 'desc'); ?>
</td>
<?php if ($_zenpage_news_enabled) { ?>
<td id="newsarchives">
<?php printNewsArchive('list-unstyled', 'year', 'month nav nav-pills col-xs-offset-1', null, false, 'desc'); ?>
</td>
<?php } ?>
</tr>
</tbody>
</table>
<?php if (getOption('zpB_show_tags')) { ?>
<table id="tags" class="table">
<thead>
<th><h4><?php echo gettext('Tags'); ?></h4></th>
</thead>
<tbody>
<tr>
<td>
<?php printAllTagsAs('list', 'nav nav-pills', 'abc', true, true); ?>
</td>
</tr>
</tbody>
</table>
<?php } ?>
<?php if ($_zenpage_news_enabled) { ?>
<table id="cat" class="table">
<thead>
<th><h4><?php echo gettext('News Categories'); ?></h4></th>
</thead>
<tbody>
<tr>
<td>
<?php printAllNewsCategories('', true, 'news-cat-list'); ?>
</td>
</tr>
</tbody>
</table>
<?php } ?>
</div><!-- /.container main -->
<?php include('inc_footer.php'); ?>