Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 0.52 kB
<h2><?php echo $active_text; ?></h2>
<ul>
<?php
foreach( $buttons as $button ):
if ( $button['current'] ) {
$button['description'] = '<span class="disabled">' . $button['description'] . '</span>';
}
?>
<li>
<button class="button <?php echo $button['primary']? 'button-primary' : '' ?>" <?php echo $button['current']? 'disabled="disabled"' : '' ?> value="<?php echo esc_attr( $button['value'] ) ?>">
<?php echo $button['text']; ?>
</button>
<?php echo $button['description'] ?>
</li>
<?php endforeach; ?>
</ul>
Jump to Line
Something went wrong with that request. Please try again.