Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions print/print-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{
?><p id="CommentTitle"><?php echo sprintf(_n('%s Validação', '%s Validações', $validacao, 'delibera'), number_format_i18n($validacao)); ?></p><?php
$comments_tmp = delibera_comments_filter_portipo($comments, array('validacao'));
include('print_comment_template.php');
// include('print_comment_template.php');
get_template_part('print_comment_template');
}
if($discussao > 0)
{
Expand All @@ -48,20 +49,23 @@
}
?></p><?php
$comments_tmp = delibera_comments_filter_portipo($comments, array('discussao', 'encaminhamento', 'resolucao'));
include('print_comment_template.php');
// include('print_comment_template.php');
get_template_part('print_comment_template');
}
if($voto > 0)
{
?><p id="CommentTitle"><?php echo sprintf(_n('%s Voto', '%s Votos', $voto, 'delibera'), number_format_i18n($voto)); ?></p><?php
$comments_tmp = delibera_comments_filter_portipo($comments, array('voto'));
include('print_comment_template.php');
// include('print_comment_template.php');
get_template_part('print_comment_template');
}
if($encaminhamento > 0)
{
define('RESOLUCOES', true);
?><p id="CommentTitle"><?php echo 'Votação' ?></p><?php
$comments_tmp = delibera_comments_filter_portipo($comments, array('encaminhamento', 'resolucao'));
include('print_comment_template.php');
// include('print_comment_template.php');
get_template_part('print_comment_template');
}

/*if($resolucao > 0)
Expand All @@ -70,4 +74,4 @@
}*/ ?>
<hr class="Divider" style="text-align: center;" />
</div>
<?php endif; ?>
<?php endif; ?>