Example #1
0
        ?>
						<div class="divider"></div>
						There are no update packages downloaded.
					<?php 
    } else {
        ?>
						<?php 
        foreach (Update::$updates as $version => $contents) {
            ?>
							<div class="divider"></div>
							<article class="update <?php 
            echo !Update::compareVersions(Update::$currentVersion, $version) ? "" : "old";
            ?>
">
								<h1><span class="tag <?php 
            echo !Update::compareVersions(Update::$currentVersion, $version) ? "good" : "";
            ?>
"><?php 
            echo $version;
            ?>
</span></h1>
								<?php 
            if ($contents['changelog']) {
                ?>
									<h2>What's new?</h2>
									<div class="changelog">
										<?php 
                echo $contents['changelog'];
                ?>
									</div>
								<?php