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
a1497ca0
Commit
a1497ca0
authored
Feb 05, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed extra \models\forms namespace, moved all models to just \models
parent
5d7e7f4d
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
17 deletions
+17
-17
SiteController.php
apps/advanced/backend/controllers/SiteController.php
+1
-1
login.php
apps/advanced/backend/views/site/login.php
+1
-1
LoginForm.php
apps/advanced/common/models/LoginForm.php
+1
-1
SiteController.php
apps/advanced/frontend/controllers/SiteController.php
+5
-5
ContactForm.php
apps/advanced/frontend/models/ContactForm.php
+1
-1
PasswordResetRequestForm.php
apps/advanced/frontend/models/PasswordResetRequestForm.php
+1
-1
ResetPasswordForm.php
apps/advanced/frontend/models/ResetPasswordForm.php
+1
-1
SignupForm.php
apps/advanced/frontend/models/SignupForm.php
+1
-1
contact.php
apps/advanced/frontend/views/site/contact.php
+1
-1
login.php
apps/advanced/frontend/views/site/login.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/backend/controllers/SiteController.php
View file @
a1497ca0
...
@@ -4,7 +4,7 @@ namespace backend\controllers;
...
@@ -4,7 +4,7 @@ namespace backend\controllers;
use
Yii
;
use
Yii
;
use
yii\web\AccessControl
;
use
yii\web\AccessControl
;
use
yii\web\Controller
;
use
yii\web\Controller
;
use
common\models\
forms\
LoginForm
;
use
common\models\LoginForm
;
/**
/**
* Site controller
* Site controller
...
...
apps/advanced/backend/views/site/login.php
View file @
a1497ca0
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\widgets\ActiveForm $form
* @var
common\models\form
s\LoginForm $model
* @var
\common\model
s\LoginForm $model
*/
*/
$this
->
title
=
'Login'
;
$this
->
title
=
'Login'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/common/models/
forms/
LoginForm.php
→
apps/advanced/common/models/LoginForm.php
View file @
a1497ca0
<?php
<?php
namespace
common\models
\forms
;
namespace
common\models
;
use
common\models\User
;
use
common\models\User
;
use
yii\base\Model
;
use
yii\base\Model
;
...
...
apps/advanced/frontend/controllers/SiteController.php
View file @
a1497ca0
<?php
<?php
namespace
frontend\controllers
;
namespace
frontend\controllers
;
use
common\models\
forms\
LoginForm
;
use
common\models\LoginForm
;
use
frontend\models\
forms\
PasswordResetRequestForm
;
use
frontend\models\PasswordResetRequestForm
;
use
frontend\models\
forms\
ResetPasswordForm
;
use
frontend\models\ResetPasswordForm
;
use
frontend\models\
forms\
SignupForm
;
use
frontend\models\SignupForm
;
use
frontend\models\
forms\
ContactForm
;
use
frontend\models\ContactForm
;
use
yii\base\InvalidParamException
;
use
yii\base\InvalidParamException
;
use
yii\web\BadRequestHttpException
;
use
yii\web\BadRequestHttpException
;
use
yii\web\Controller
;
use
yii\web\Controller
;
...
...
apps/advanced/frontend/models/
forms/
ContactForm.php
→
apps/advanced/frontend/models/ContactForm.php
View file @
a1497ca0
<?php
<?php
namespace
frontend\models
\forms
;
namespace
frontend\models
;
use
Yii
;
use
Yii
;
use
yii\base\Model
;
use
yii\base\Model
;
...
...
apps/advanced/frontend/models/
forms/
PasswordResetRequestForm.php
→
apps/advanced/frontend/models/PasswordResetRequestForm.php
View file @
a1497ca0
<?php
<?php
namespace
frontend\models
\forms
;
namespace
frontend\models
;
use
common\models\User
;
use
common\models\User
;
use
yii\base\Model
;
use
yii\base\Model
;
...
...
apps/advanced/frontend/models/
forms/
ResetPasswordForm.php
→
apps/advanced/frontend/models/ResetPasswordForm.php
View file @
a1497ca0
<?php
<?php
namespace
frontend\models
\forms
;
namespace
frontend\models
;
use
common\models\User
;
use
common\models\User
;
use
yii\base\InvalidParamException
;
use
yii\base\InvalidParamException
;
...
...
apps/advanced/frontend/models/
forms/
SignupForm.php
→
apps/advanced/frontend/models/SignupForm.php
View file @
a1497ca0
<?php
<?php
namespace
frontend\models
\forms
;
namespace
frontend\models
;
use
common\models\User
;
use
common\models\User
;
use
yii\base\Model
;
use
yii\base\Model
;
...
...
apps/advanced/frontend/views/site/contact.php
View file @
a1497ca0
...
@@ -6,7 +6,7 @@ use yii\captcha\Captcha;
...
@@ -6,7 +6,7 @@ use yii\captcha\Captcha;
/**
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\widgets\ActiveForm $form
* @var \frontend\models\
forms\
ContactForm $model
* @var \frontend\models\ContactForm $model
*/
*/
$this
->
title
=
'Contact'
;
$this
->
title
=
'Contact'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/login.php
View file @
a1497ca0
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\widgets\ActiveForm $form
* @var
common\models\form
s\LoginForm $model
* @var
\common\model
s\LoginForm $model
*/
*/
$this
->
title
=
'Login'
;
$this
->
title
=
'Login'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/requestPasswordResetToken.php
View file @
a1497ca0
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\widgets\ActiveForm $form
* @var \frontend\models\
forms\
PasswordResetRequestForm $model
* @var \frontend\models\PasswordResetRequestForm $model
*/
*/
$this
->
title
=
'Request password reset'
;
$this
->
title
=
'Request password reset'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/resetPassword.php
View file @
a1497ca0
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\widgets\ActiveForm $form
* @var \frontend\models\
forms\
ResetPasswordForm $model
* @var \frontend\models\ResetPasswordForm $model
*/
*/
$this
->
title
=
'Reset password'
;
$this
->
title
=
'Reset password'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
...
...
apps/advanced/frontend/views/site/signup.php
View file @
a1497ca0
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
...
@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
/**
* @var yii\web\View $this
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var yii\widgets\ActiveForm $form
* @var \frontend\models\
forms\
SignupForm $model
* @var \frontend\models\SignupForm $model
*/
*/
$this
->
title
=
'Signup'
;
$this
->
title
=
'Signup'
;
$this
->
params
[
'breadcrumbs'
][]
=
$this
->
title
;
$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