PHP Classes

File: template/View/render-language-form.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/View/render-language-form.phtml   Download  
File: template/View/render-language-form.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 1,400 bytes
 

Contents

Class file image Download
<div class="row">
    <div class="col-xs-12 col-md-3">
        <div class="product-text-tab-container">
            <ul class="nav-tabs product-text-tab">
                <?php $ctr = 0; foreach ($this->languages As $val):?>
<li class="<?php echo ($ctr++) ?: 'active'?>">
                        <a class="clearfix" data-toggle="tab" href="#moduletpl-text-transaltions-<?php echo $this->id . '-' . $val['lang_cms_locale']?>" aria-expanded="false">
                            <?php echo $val['lang_label']?>
</a>
                    </li>
                <?php endforeach;?>
</ul>
        </div>
    </div>
    <div class="col-xs-12 col-md-9">
        <div class="tab-content">
            <?php $ctr = 0; foreach ($this->langForm As $key => $form):?>
<div id="moduletpl-text-transaltions-<?php echo $this->id . '-' .$key ?>" class="tab-pane <?php echo ($ctr++) ? '': 'active'?>">
                    <?php
                        $form
->prepare();
                       
$form->setAttribute('id', $form->getAttribute('id').'-'.$key);
                        echo
$this->form()->openTag($form);
                        echo
$this->melisFieldCollection($form);
                        echo
$this->form()->closeTag();
                   
?>
</div>
            <?php endforeach;?>
</div>
    </div>
</div>