Esempio n. 1
0
                    $count++;
                    if ($tms < $oldest) {
                        $oldest = $tms;
                    }
                }
            }
            ?>
							<?php 
            if ($count >= TOPLISTS_HOT_MIN_COUNT) {
                ?>
								<?php 
                $hotFound = true;
                ?>
								<div class="HotItem">
									<span><?php 
                echo wfMessage('toplists-list-hotitem-count', $count, TopListHelper::formatTimeSpan($latest - $oldest))->inContentLanguage()->escaped();
                ?>
</span>
								</div>
							<?php 
            }
            ?>
						<?php 
        }
        ?>
					<?php 
    }
    ?>
				</div>
				<div class="ItemVotes"><?php 
    echo wfMessage('toplists-list-votes-num', $item->getVotesCount())->inContentLanguage()->parse();
Esempio n. 2
0
                    $count++;
                    if ($tms < $oldest) {
                        $oldest = $tms;
                    }
                }
            }
            ?>
							<?php 
            if ($count >= TOPLISTS_HOT_MIN_COUNT) {
                ?>
								<?php 
                $hotFound = true;
                ?>
								<div class="HotItem">
									<span><?php 
                echo wfMsgExt('toplists-list-hotitem-count', array('parsemag', 'content'), array($count, TopListHelper::formatTimeSpan($latest - $oldest)));
                ?>
</span>
								</div>
							<?php 
            }
            ?>
						<?php 
        }
        ?>
					<?php 
    }
    ?>
				</div>
				<div class="ItemVotes"><?php 
    echo wfMsgExt('toplists-list-votes-num', array('parsemag', 'content'), array($item->getVotesCount()));