예제 #1
0
파일: index.php 프로젝트: oakcms/oakcms
foreach ($models as $k => $model) {
    ?>
                <?php 
    echo $this->renderFile('@app/modules/content/views/frontend/default/_item_2.php', ['model' => $model, 'index' => $k]);
    ?>
            <?php 
}
?>
            <?php 
echo \yii\widgets\LinkPager::widget(['pagination' => $pages, 'registerLinkTags' => true]);
?>
        </div>
    </div>
</section>

<section id="developer" class="section section-5" style="margin-bottom: 250px">
    <?php 
if (LIVE_EDIT) {
    \app\widgets\EditorInline::begin(['name' => 'developer', 'dataUrlEdit' => \yii\helpers\Url::to(['/text/default/save/']), 'value' => \app\modules\text\api\Text::get('developer')]);
}
?>
    <?php 
echo !LIVE_EDIT ? \app\modules\text\api\Text::get('developer') : '';
?>
    <?php 
if (LIVE_EDIT) {
    \app\widgets\EditorInline::end();
}
?>
</section>
예제 #2
0
파일: header.php 프로젝트: oakcms/oakcms
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 26.08.2016
 * Project: osnova
 * File name: header.php
 *
 * @var $assets \app\templates\frontend\base\assets\BaseAsset;
 */
echo \app\modules\text\api\Text::get('header');
예제 #3
0
파일: slider.php 프로젝트: oakcms/oakcms
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 12.10.2016
 * Project: kotsyubynsk
 * File name: slider.php
 */
echo \app\modules\text\api\Text::get('slider');
예제 #4
0
파일: footer.php 프로젝트: oakcms/oakcms
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 26.08.2016
 * Project: falconcity
 * File name: footer.php
 * @var $assets \app\templates\frontend\base\assets\BaseAsset;
 */
use app\modules\text\api\Text;
echo Text::get('footer');
예제 #5
0
파일: index.php 프로젝트: oakcms/oakcms
    echo $category->title;
    ?>
</p>
                                    <a href="<?php 
    echo Url::to(['/realestate/category/view', 'slug' => $category->slug]);
    ?>
">
                                        <?php 
    echo Yii::t('realestate', '{count} view all', ['count' => $category->countItems]);
    ?>
                                    </a>
                                </div>
                            </div>
                        </div>
                        <?php 
}
?>
                    </div>
                </div>
            </div>
        </div>
    </section>
</section>

<?php 
echo Text::get('news_index');
?>

<?php 
echo Text::get('we_trust');
예제 #6
0
파일: main.php 프로젝트: oakcms/oakcms
}
echo $this->renderFile('@app/templates/frontend/base/views/layouts/blocks/slider.php', ['assets' => $bundle]);
?>


<?php 
echo Text::get('position_top_1');
echo Text::get('position_top_2');
echo Text::get('position_top_3');
echo Text::get('position_top_4');
echo Text::get('position_top_5');
?>

<?php 
echo $content;
?>

<?php 
echo Text::get('position_bottom_1');
echo Text::get('position_bottom_2');
echo Text::get('position_bottom_3');
echo Text::get('position_bottom_4');
echo Text::get('position_bottom_5');
?>

<?php 
echo $this->renderFile('@app/templates/frontend/base/views/layouts/blocks/footer.php', ['assets' => $bundle]);
$this->endContent();
?>

예제 #7
0
파일: contacts.php 프로젝트: oakcms/oakcms
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 18.09.2016
 * Project: osnovasite
 * File name: contacts.php
 * @var $this \app\components\View;
 */
use app\modules\text\api\Text;
$this->setSeoData(Yii::t('system', 'Contacts'), '', '', '/');
$this->params['breadcrumbs'] = ['label' => Yii::t('system', 'Contacts')];
echo Text::get('contact');
?>