<?php use common\helpers\Translate; use frontend\widgets\Gallery; use common\helpers\Configuration; /* @var $this yii\web\View */ $this->title = 'My Yii Application'; ?> <div class="site-index"> <div class="jumbotron"> <?php echo Translate::t('index', 'texto1'); ?> <h1>Congratulationss! <?php echo Yii::t('frontend/index', 'probandoss'); ?> </h1> <?php echo Configuration::get('fasd-asd-afs-fs'); ?> <p class="lead">You have successfully created your Yii-powered application.</p> <p><a class="btn btn-lg btn-success" href="http://www.yiiframework.com">Get started with Yii</a></p> </div> <div class="body-content"> <div class="row"> <div class="col-lg-4"> <?php
<?php use yii\helpers\Html; use common\helpers\Translate; use common\models\FlatPage; $this->params['breadcrumbs'][] = $flatPage->anchor; ?> <h1><?php echo $flatPage->anchor; ?> </h1> <?php echo Translate::t($flatPage->url, 'main-content');