From 0e484f539c032b45548508403f11322bec46efc6 Mon Sep 17 00:00:00 2001 From: captainbeer Date: Fri, 9 Feb 2018 18:39:26 +0200 Subject: [PATCH] -Some menu manipulation --- frontend/views/layouts/main.php | 1353 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 file changed, 660 insertions(+), 693 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 7345b63..ba51463 100644 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -64,738 +64,705 @@ ?> beginPage() ?> - - - - - - - - <?= Html::encode($seo->title) ?> - head() ?> - - - beginBody() ?> - - -
- -
- - - - - -
+ + + + -
-
-
-
-

-
-
-
+ - -
-
-
- field($feedback, "area") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_area' - ) - ) ?> -
-
- field($feedback, "power") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_power' - ) - ) ?> -
-
- field($feedback, "budget") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_budget' - ) - ) ?> -
-
-
-
- -
-
-

-
-
- field($feedback, "auth_day") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_auth_day' - ) - ) ?> - - field($feedback, "auth_month") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_auth_month' - ) - ) ?> -
- -
- field($feedback, "auth_pwr_all") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_auth_pwr_all' - ) - ) ?> - field($feedback, "auth_pwr_days") - ->textInput() - ->label( - \Yii::t( - 'app', - 'info_auth_pwr_days' - ) - ) ?> -
+
+ + + + + + -
+ + -

- -

- - - -
-
-
- - - - - - - - - - - - request->getUrl() !== Url::toRoute( - [ 'site/legal' ] - ) and \Yii::$app->request->getUrl() !== Url::toRoute([ 'site/individual' ])) { - ?> -
-
-
-
-

- controller->id === $default_controller || Yii::$app->controller->action->id === $controller->defaultAction || Yii::$app->controller->action->id === 'search') { - echo ( isset($this->params[ 'h1' ]) ) ? $this->params[ 'h1' ] : "put \$this->params['h1'] in " . Yii::$app->controller->id . "/" . Yii::$app->controller->action->id . " view file"; - } else { - echo $seo->h1 ?? "put h1 in adminka in alias"; - } - - ?> -

-
-
- isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [], - 'homeLink' => [ - 'label' => \Yii::t('app', "Home"), - 'url' => \Yii::$app->homeUrl . \artbox\core\models\Language::getCurrent()->url, - ], - ] - ) ?> - -
+
- - - - - - - - -
-
-
+ + + + about)) { + if ( + !$isHome and + \Yii::$app->request->getUrl() !== Url::toRoute(['site/legal']) and + \Yii::$app->request->getUrl() !== Url::toRoute(['site/individual']) + ) { ?> -

-

about); ?>

+
+
+
+
+

+ controller->id === $default_controller || + Yii::$app->controller->action->id === $controller->defaultAction || + Yii::$app->controller->action->id === 'search' + ){ + echo (isset($this->params['h1'])) ? + $this->params['h1'] : + "put \$this->params['h1'] in " . Yii::$app->controller->id . "/" . Yii::$app->controller->action->id . " view file"; + } + else { + echo $seo->h1 ?? "put h1 in adminka in alias"; + } + + ?> +

+
+
+ isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [], + 'homeLink' => [ + 'label' => \Yii::t('app', "Home"), + 'url' => \Yii::$app->homeUrl . \artbox\core\models\Language::getCurrent()->url + ] + ] + ) ?> + +
+
+
+
- - -
- -
-

- + +
+ + + - 'btn btn-small btn-template-transparent-primary', - ] - ) ?> - - +
+ + - - -
- - - - - - - - - - - - - - endBody() ?> - - + + endBody() ?> + + endPage() ?> \ No newline at end of file -- libgit2 0.21.4