Commit fb4f3d44 authored by john's avatar john

t_3104

parent 74872d73
...@@ -22,7 +22,17 @@ GeneratorAsset::register($this); ...@@ -22,7 +22,17 @@ GeneratorAsset::register($this);
<div class="way"> <div class="way">
<a href="/">Главная</a> <a href="/">Главная</a>
<span>|</span> <span>|</span>
<?php
if (strpos(Yii::$app->request->url, "/faq/video") !== 0) {
?>
<a href="/faq">Справка для пользователя</a> <a href="/faq">Справка для пользователя</a>
<?php
} else {
?>
<a href="/faq/video">Видео-инструкции</a>
<?php
}
?>
<span>|</span> <?= $model->lang->title ?><br> <span>|</span> <?= $model->lang->title ?><br>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment