Running OC : 1.5.4.1
I am trying to modify my language.tpl file not to show the country flags, just the language names? I searched couldn't find an example and I tired with no success to get this top happen.
So all I want to appear is Language English French
Here is my language.tpl file, can someone help?
Code: Select all
<?php if (count($languages) > 1) { ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
<div id="language" align="right"><?php echo $text_language; ?>
<?php foreach ($languages as $language) { ?>
<img src="image/flags/<?php echo $language['image']; ?>" alt="<?php echo $language['name']; ?>" title="<?php echo $language['name']; ?>" onClick="$('input[name=\'language_code\']').attr('value', '<?php echo $language['code']; ?>').submit(); $(this).parent().parent().submit();" />
<?php } ?>
<input type="hidden" name="language_code" value="" />
<input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
</div>
</form>
</br>
<?php } ?>