<div class="crumb">
    <ul>
        <li>
            <a href="theme/">themes</a>
        </li>
        <li>
            <a href="theme/current/">current</a>
        </li>
    </ul>
</div>
<div class="theme clear">
    <?php foreach ($theme['skin']['options'] as $option) : ?>
        <div class="icon">
            <div class="content"<?php if ($option['type'] === 'color') : echo ' style="background:' . htmlspecialchars($option['value']) . ';"'; endif; ?>>
                <a href="setting/edit/<?php echo htmlspecialchars($option['name']); ?>/site.theme">
                    <?php echo htmlspecialchars(str_replace('-', ' ', $option['name'])); ?>
                </a>
            </div>
            <div class="action">
                <a href="setting/edit/<?php echo htmlspecialchars($option['name']); ?>/site.theme">Edit</a>
            </div>
        </div>
    <?php endforeach; ?>
</div>