Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
4fb04839
Commit
4fb04839
authored
Jan 26, 2017
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Проверяем вывод формы
parent
4d4cea0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
common/modules/school/views/course/index.php
common/modules/school/views/course/index.php
+16
-10
No files found.
common/modules/school/views/course/index.php
View file @
4fb04839
...
@@ -95,16 +95,6 @@ WidgetAssetBundle::register($this);
...
@@ -95,16 +95,6 @@ WidgetAssetBundle::register($this);
</div>
</div>
</section>
</section>
<div
class=
"white-popup-block mfp-hide"
>
<?php
$modelUser
=
new
User
();
$formPopup
=
new
\common\components\BaseForm
(
'/common/modules/users/forms/RegistrationUserPopupForm'
,
$modelUser
);
// \Yii::$app->controller->renderPartial('@common/modules/users/widgets/views/RegistrationWidget', ['formLoginPopup' => $formPopup->out]);
?>
<?php
//echo RegistrationWidget::widget(); ?>
<?
php
//echo LoginWidget::widget(); ?>
</
div
>
<?php
if
(
Yii
::
$app
->
user
->
isGuest
)
:
?>
<?php
if
(
Yii
::
$app
->
user
->
isGuest
)
:
?>
<section
class=
"sh_ft"
>
<section
class=
"sh_ft"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -137,4 +127,20 @@ WidgetAssetBundle::register($this);
...
@@ -137,4 +127,20 @@ WidgetAssetBundle::register($this);
</
section
>
</
section
>
<?
php
endif
;
?>
<?
php
endif
;
?>
<div
class=
"white-popup-block mfp-hide"
>
<!-- REGISTRATION FORM -->
<div
id=
"registration_form"
class=
"popup registration_form"
>
<span
class=
"popup__title2"
>
Регистрация
</span>
<?php
$form
=
ActiveForm
::
widget
([
'id'
=>
'reg_form_popup'
,
'options'
=>
[
'enctype'
=>
'multipart/form-data'
,
'class'
=>
'validreg_form2'
]]);
echo
yii\helpers\Html
::
a
(
yii\helpers\Html
::
tag
(
'div'
,
'Начать обучение'
,
[
'class'
=>
'save-button popup_bt_send save-button-lg'
]),
'javascript:void(0)'
,
[
'class'
=>
"save-button popup_bt_send save-button-lg"
]);
ActiveForm
::
end
();
?>
</div>
<?php
//echo RegistrationWidget::widget(); ?>
<?
php
//echo LoginWidget::widget(); ?>
</
div
>
<?
php
echo
\Yii
::
$app
->
controller
->
renderPartial
(
'@app/views/layouts/footer'
);
?>
<?
php
echo
\Yii
::
$app
->
controller
->
renderPartial
(
'@app/views/layouts/footer'
);
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment