<?php
/**
 * @var $selected_currency
 * @var $wpjobster_currencies_array
 * @var $wpjobster_currencies_symbols_array
 */
?>

<li class="nh-accordion-container">

	<a class="item nh-accordion-handler" href="#"><?php _e( "Currency", "wpjobster" ); ?></a>

	<div class="nh-accordion" style="display: none;">

		<ul class="reset currency-list-mobile" id="currency-selector-mobile-list">

			<?php foreach ( $wpjobster_currencies_array as $wpjobster_currency ) { ?>

				<li data-currencyval="<?php echo $wpjobster_currency; ?>">

					<a class="item <?php if ( $selected_currency == $wpjobster_currency ) { echo 'active'; } ?>">

						<?php echo $wpjobster_currency;

						if ( $wpjobster_currencies_symbols_array[$wpjobster_currency] != $wpjobster_currency ) { ?>

							<span class="description"><?php echo $wpjobster_currencies_symbols_array[$wpjobster_currency]; ?></span>

						<?php } ?>

					</a>

				</li>

			<?php } ?>

		</ul>

	</div>

</li>