File: assets/switch-templates/ul.php

Recommend this page to a friend!
  Classes of mohammad anzawi  >  PHP Multilingual Support Library  >  assets/switch-templates/ul.php  >  Download  
File: assets/switch-templates/ul.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Multilingual Support Library
Translate texts for Web sites from JSON or DB
Author: By
Last change:
Date: 2 months ago
Size: 393 bytes
 

 

Contents

Class file image Download
<ul class='logaty-switcher'>

    <?php foreach ( $this->app->enabled() as $lang ) : ?>
<li class='logaty-switcher__li' data-value='<?=$lang?>'>
            <a href='<?=$this->app->link('', $lang)?>'>
                <img alt="<?=$lang?>" src='<?=$this->app->flag($lang)?>'>
                 <?=$this->app->nameN($lang);?>
</a>
        </li>
    <?php endforeach; ?>

</ul>


For more information send a message to info at phpclasses dot org.