除去空tag
This commit is contained in:
@@ -39,7 +39,9 @@
|
|||||||
?>
|
?>
|
||||||
<h3>其他标签</h3>
|
<h3>其他标签</h3>
|
||||||
<div class="tag-cloud">
|
<div class="tag-cloud">
|
||||||
<?php foreach ($remaining_tags as $tag): ?>
|
<?php foreach ($remaining_tags as $tag):
|
||||||
|
if (trim($tag) == "" || trim($tag) == " ") continue;
|
||||||
|
?>
|
||||||
<a href="problemset.php?search=<?php echo urlencode(trim($tag)); ?>" class="ui label"><?php echo trim($tag); ?></a>
|
<a href="problemset.php?search=<?php echo urlencode(trim($tag)); ?>" class="ui label"><?php echo trim($tag); ?></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user