Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
a43be083
Commit
a43be083
authored
Feb 01, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved forms used in frontend only to frontend
parent
d98ec80c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
SiteController.php
apps/advanced/frontend/controllers/SiteController.php
+4
-4
ContactForm.php
apps/advanced/frontend/models/forms/ContactForm.php
+1
-1
PasswordResetRequestForm.php
...vanced/frontend/models/forms/PasswordResetRequestForm.php
+1
-1
ResetPasswordForm.php
apps/advanced/frontend/models/forms/ResetPasswordForm.php
+1
-1
SignupForm.php
apps/advanced/frontend/models/forms/SignupForm.php
+1
-1
contact.php
apps/advanced/frontend/views/site/contact.php
+1
-1
requestPasswordResetToken.php
...dvanced/frontend/views/site/requestPasswordResetToken.php
+1
-1
resetPassword.php
apps/advanced/frontend/views/site/resetPassword.php
+1
-1
signup.php
apps/advanced/frontend/views/site/signup.php
+1
-1
No files found.
apps/advanced/frontend/controllers/SiteController.php
View file @
a43be083
...
...
@@ -2,10 +2,10 @@
namespace
frontend\controllers
;
use
common\models\forms\LoginForm
;
use
common
\models\forms\PasswordResetRequestForm
;
use
common
\models\forms\ResetPasswordForm
;
use
common
\models\forms\SignupForm
;
use
frontend\models\ContactForm
;
use
frontend
\models\forms\PasswordResetRequestForm
;
use
frontend
\models\forms\ResetPasswordForm
;
use
frontend
\models\forms\SignupForm
;
use
frontend\models\
forms\
ContactForm
;
use
yii\base\InvalidParamException
;
use
yii\web\BadRequestHttpException
;
use
yii\web\Controller
;
...
...
apps/advanced/frontend/models/ContactForm.php
→
apps/advanced/frontend/models/
forms/
ContactForm.php
View file @
a43be083
<?php
namespace
frontend\models
;
namespace
frontend\models
\forms
;
use
Yii
;
use
yii\base\Model
;
...
...
apps/advanced/
common
/models/forms/PasswordResetRequestForm.php
→
apps/advanced/
frontend
/models/forms/PasswordResetRequestForm.php
View file @
a43be083
<?php
namespace
common
\models\forms
;
namespace
frontend
\models\forms
;
use
common\models\User
;
use
yii\base\Model
;
...
...
apps/advanced/
common
/models/forms/ResetPasswordForm.php
→
apps/advanced/
frontend
/models/forms/ResetPasswordForm.php
View file @
a43be083
<?php
namespace
common
\models\forms
;
namespace
frontend
\models\forms
;
use
common\models\User
;
use
yii\base\InvalidParamException
;
...
...
apps/advanced/
common
/models/forms/SignupForm.php
→
apps/advanced/
frontend
/models/forms/SignupForm.php
View file @
a43be083
<?php
namespace
common
\models\forms
;
namespace
frontend
\models\forms
;
use
common\models\User
;
use
yii\base\Model
;
...
...
apps/advanced/frontend/views/site/contact.php
View file @
a43be083
...
...
@@ -6,7 +6,7 @@ use yii\captcha\Captcha;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var
frontend\model
s\ContactForm $model
* @var
\frontend\models\form
s\ContactForm $model
*/
$this
->
title
=
'Contact'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/requestPasswordResetToken.php
View file @
a43be083
...
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var
common
\models\forms\PasswordResetRequestForm $model
* @var
\frontend
\models\forms\PasswordResetRequestForm $model
*/
$this
->
title
=
'Request password reset'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/resetPassword.php
View file @
a43be083
...
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var
common
\models\forms\ResetPasswordForm $model
* @var
\frontend
\models\forms\ResetPasswordForm $model
*/
$this
->
title
=
'Reset password'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/signup.php
View file @
a43be083
...
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var
common
\models\forms\SignupForm $model
* @var
\frontend
\models\forms\SignupForm $model
*/
$this
->
title
=
'Signup'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
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