<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     default_default
 * @copyright   Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<div class="entry-edit">
    <?php foreach ($this->getReleases() as $_log): ?>
    <div class="entry-edit-head">
        <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $_log['version']['release'] ?> (<?php echo $_log['stability']['release'] ?>)</h4>
    </div>
    <fieldset>
        <legend><?php echo $_log['version']['release'] ?> (<?php echo $_log['stability']['release'] ?>)</legend>

        <table class="" cellspacing="5">
            <tbody>
                <tr><th><?php echo $this->__("Date:") ?></th><td><?php echo $_log['date'] ?></td></tr>
                <tr><th><?php echo $this->__("Version:") ?></th><td><?php echo $_log['version']['release'] ?> (<?php echo $_log['stability']['release'] ?>)</td></tr>
                <tr><th><?php echo $this->__("API:") ?></th><td><?php echo $_log['version']['api'] ?> (<?php echo $_log['stability']['api'] ?>)</td></tr>
                <tr><th><?php echo $this->__("License:") ?></th><td>
                    <?php if (is_array($_log['license'])): ?>
                        <?php if ($_uri = $_log['license']['attribs']['uri']): ?>
                            <a href="<?php echo $_uri ?>" target="_blank">
                        <?php endif ?>
                        <?php echo $_log['license']['_content'] ?>
                        <?php if ($_uri): ?>
                            </a>
                        <?php endif ?>
                    <?php else: ?>
                        <?php echo $_log['license'] ?>
                    <?php endif ?>
                </td></tr>
                <tr><th><?php echo $this->__("Notes:") ?></th><td><?php echo nl2br($_log['notes']) ?></td></tr>
            </tbody>
        </table>
    </fieldset>
    <?php endforeach ?>
</div>
