Post by sunrisephp » Thu Sep 01, 2016 9:18 am

Some need Non Drop-down language icon , you can change

/catalog/view/theme/*/template/common/language.tpl

Code: Select all

<?php if (count($languages) > 1) { ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form-language">
   
  <div class="btn-group" style="margin-top: 0px;margin-left: 3px;">

				<?php foreach ($languages as $language) { ?>
					<button class="language-select btn-link btn" type="button" name="<?php echo $language['code']; ?>"><img src="catalog/language/<?php echo $language['code']; ?>/<?php echo $language['code']; ?>.png" alt="<?php echo $language['name']; ?>" title="<?php echo $language['name']; ?>" /> <?php ///echo $language['name']; ?></button>
				<?php } ?>


  </div>

  <input type="hidden" name="code" value="" />
  <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />


</form>
<?php } ?>

New member

Posts

Joined
Fri Sep 07, 2012 4:05 pm
Who is online

Users browsing this forum: No registered users and 3 guests