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


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']?>
                <?php endforeach;?>
    <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'?>">
$form->setAttribute('id', $form->getAttribute('id').'-'.$key);
            <?php endforeach;?>