[data-v-language-list] option|deleteAllButFirstChild

[data-v-language-list] option|before = <?php
	foreach ($this->languagesList as $code => $language) {
		//$code = $language['code'];
?>

	[data-v-language-list] option|addNewAttribute = <?php 
		if ($this->currentLanguage == $code) echo 'selected';
	?>

	[data-v-language-list] option img|src = <?php 
			echo '/img/flags/' . $code . '.png';
	?>	
	
	/*
	[data-v-language-list] option|style = <?php 
			$code = $language['code'];
			echo 'background-image:url(/img/flags/' . $code . '.png)';
	?>
	*/
	
	[data-v-language-list] option|value = $code
	[data-v-language-list] option = <?php 
		if (isset($language['emoji'])) {
			echo $language['emoji'] . ' ';
		}
		echo htmlspecialchars($language['name']);
	?>
	

[data-v-language-list] option|after = <?php 
} ?>
