?>
px"><div style="width: <?php 
    dpa_achievement_progress_bar_width();
    ?>
px"></div></div>
	<?php 
}
?>
</div><!-- #item-header-avatar -->

<div id="item-header-content">
	<h2><a href="<?php 
dpa_achievement_slug_permalink();
?>
"><?php 
dpa_achievement_name();
?>
</a></h2>

	<p>
		<?php 
if (dpa_is_achievement_a_badge()) {
    ?>
			<span class="highlight"><?php 
    _e('Award', 'dpa');
    ?>
</span>&nbsp;
		<?php 
}
?>
    /**
     * Convenience function to return list of Achievement name and ID pairs
     *
     * @param string $achievement_slug Current selection's slug
     * @since 2.0
     */
    function get_achievements_list($achievement_slug)
    {
        if (dpa_has_achievements('type=alphabetical&page=1&per_page=0')) {
            while (dpa_achievements()) {
                dpa_the_achievement();
                $slug = dpa_get_achievement_slug();
                ?>

				<option value="<?php 
                echo esc_attr($slug);
                ?>
" <?php 
                if ($achievement_slug == $slug) {
                    echo 'selected="selected"';
                }
                ?>
><?php 
                dpa_achievement_name();
                ?>
</option>

			<?php 
            }
        }
    }