-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbottom.php
More file actions
28 lines (28 loc) · 1.46 KB
/
bottom.php
File metadata and controls
28 lines (28 loc) · 1.46 KB
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
<?php if (!empty($this->options->OtherTool) && in_array('bottom-bar', $this->options->OtherTool)): ?>
<div class="bottom">
<div class="t-info flat-icon waves-effect waves-circle">
<p>© <?php echo date( "Y");?> <?php $this->options->title() ?></p>
<div class="cloud">
<div class="tag-cloud">
<?php $this->widget('Widget_Metas_Tag_Cloud', 'sort=mid&ignoreZeroCount=1&desc=0&limit=30')->to($tags); ?>
<?php if($tags->have()): ?>
<?php while ($tags->next()): ?>
<a href="<?php $tags->permalink(); ?>" rel="tag" class="size-<?php $tags->split(5, 10, 20, 30); ?>" title="<?php $tags->count(); ?>个话题"><?php $tags->name(); ?></a>
<?php endwhile; ?>
<?php else: ?>
<a><?php _e('暂时还没有标签噢...'); ?></a>
<?php endif; ?>
</div>
<div class="t-list">
<?php $this->widget('Widget_Contents_Post_Recent')->parse('<a href="{permalink}">{title}</a>'); ?>
</div>
<div class="comments">
<?php $this->widget('Widget_Comments_Recent')->to($comments); ?>
<?php while($comments->next()): ?>
<a href="<?php $comments->permalink(); ?>"><?php $comments->author(false); ?>: <?php $comments->excerpt(35, '...'); ?></a>
<?php endwhile; ?>
</div>
</div>
</div>
</div>
<?php endif;?>