Commit 65dd02190e134ded467cf62a2fe0bf15c87b6285
1 parent
593851ec
-Bar tabs
Showing
14 changed files
with
26 additions
and
30 deletions
Show diff stats
CHANGELOG.md
| @@ -4,4 +4,3 @@ All notable changes to this project will be documented in this file. | @@ -4,4 +4,3 @@ All notable changes to this project will be documented in this file. | ||
| 4 | ## 1.0.0 - 2017-03-21 | 4 | ## 1.0.0 - 2017-03-21 |
| 5 | ### Added | 5 | ### Added |
| 6 | - This CHANGELOG file to hopefully serve as an evolving example of a standardized open source project CHANGELOG. | 6 | - This CHANGELOG file to hopefully serve as an evolving example of a standardized open source project CHANGELOG. |
| 7 | -- Added Gentelella XPanel widget. | ||
| 8 | \ No newline at end of file | 7 | \ No newline at end of file |
controllers/ArticleController.php
| @@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
| 16 | /** | 16 | /** |
| 17 | * BlogArticleController implements the CRUD actions for BlogArticle model. | 17 | * BlogArticleController implements the CRUD actions for BlogArticle model. |
| 18 | */ | 18 | */ |
| 19 | - class BlogArticleController extends Controller | 19 | + class ArticleController extends Controller |
| 20 | { | 20 | { |
| 21 | /** | 21 | /** |
| 22 | * @inheritdoc | 22 | * @inheritdoc |
controllers/BlogCategoryController.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | - namespace artweb\artbox\blog\controllers; | 3 | + namespace artbox\weblog\controllers; |
| 4 | 4 | ||
| 5 | use Yii; | 5 | use Yii; |
| 6 | - use artweb\artbox\blog\models\BlogCategory; | ||
| 7 | - use artweb\artbox\blog\models\BlogCategorySearch; | 6 | + use artbox\weblog\models\BlogCategory; |
| 7 | + use artbox\weblog\models\BlogCategorySearch; | ||
| 8 | use yii\helpers\ArrayHelper; | 8 | use yii\helpers\ArrayHelper; |
| 9 | use yii\web\Controller; | 9 | use yii\web\Controller; |
| 10 | use yii\web\NotFoundHttpException; | 10 | use yii\web\NotFoundHttpException; |
controllers/BlogTagController.php
| @@ -3,8 +3,8 @@ | @@ -3,8 +3,8 @@ | ||
| 3 | namespace artweb\artbox\blog\controllers; | 3 | namespace artweb\artbox\blog\controllers; |
| 4 | 4 | ||
| 5 | use Yii; | 5 | use Yii; |
| 6 | - use artweb\artbox\blog\models\BlogTag; | ||
| 7 | - use artweb\artbox\blog\models\BlogTagSearch; | 6 | + use artbox\weblog\models\BlogTag; |
| 7 | + use artbox\weblog\models\BlogTagSearch; | ||
| 8 | use yii\web\Controller; | 8 | use yii\web\Controller; |
| 9 | use yii\web\NotFoundHttpException; | 9 | use yii\web\NotFoundHttpException; |
| 10 | use yii\filters\VerbFilter; | 10 | use yii\filters\VerbFilter; |
controllers/DefaultController.php
models/BlogArticle.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | - namespace artweb\artbox\blog\models; | 3 | + namespace artbox\weblog\models; |
| 4 | 4 | ||
| 5 | - use artweb\artbox\behaviors\SaveImgBehavior; | ||
| 6 | use yii\behaviors\TimestampBehavior; | 5 | use yii\behaviors\TimestampBehavior; |
| 7 | use yii\db\ActiveRecord; | 6 | use yii\db\ActiveRecord; |
| 8 | - use artweb\artbox\language\behaviors\LanguageBehavior; | ||
| 9 | - use artweb\artbox\language\models\Language; | ||
| 10 | - use artweb\artbox\ecommerce\models\Product; | 7 | + use artbox\core\behaviors\LanguageBehavior; |
| 8 | + use artbox\core\models\Language; | ||
| 11 | use yii\db\ActiveQuery; | 9 | use yii\db\ActiveQuery; |
| 12 | use yii\web\Request; | 10 | use yii\web\Request; |
| 13 | 11 |
models/BlogArticleLang.php
models/BlogArticleSearch.php
models/BlogCategory.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | - namespace artweb\artbox\blog\models; | 3 | + namespace artbox\weblog\models; |
| 4 | 4 | ||
| 5 | use yii\db\ActiveRecord; | 5 | use yii\db\ActiveRecord; |
| 6 | - use artweb\artbox\language\behaviors\LanguageBehavior; | ||
| 7 | - use artweb\artbox\behaviors\SaveImgBehavior; | ||
| 8 | - use artweb\artbox\language\models\Language; | 6 | + use artbox\core\behaviors\LanguageBehavior; |
| 7 | + use artbox\core\models\Language; | ||
| 9 | use yii\db\ActiveQuery; | 8 | use yii\db\ActiveQuery; |
| 10 | use yii\web\Request; | 9 | use yii\web\Request; |
| 11 | 10 |
models/BlogCategoryLang.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | - namespace artweb\artbox\blog\models; | 3 | + namespace artbox\weblog\models; |
| 4 | 4 | ||
| 5 | use yii\db\ActiveRecord; | 5 | use yii\db\ActiveRecord; |
| 6 | - use artweb\artbox\language\models\Language; | 6 | + use artbox\core\models\Language; |
| 7 | 7 | ||
| 8 | /** | 8 | /** |
| 9 | * This is the model class for table "blog_category_lang". | 9 | * This is the model class for table "blog_category_lang". |
models/BlogCategorySearch.php
models/BlogTag.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | - namespace artweb\artbox\blog\models; | 3 | + namespace artbox\weblog\models; |
| 4 | 4 | ||
| 5 | use yii\db\ActiveRecord; | 5 | use yii\db\ActiveRecord; |
| 6 | - use artweb\artbox\language\behaviors\LanguageBehavior; | ||
| 7 | - use artweb\artbox\language\models\Language; | 6 | + use artbox\core\behaviors\LanguageBehavior; |
| 7 | + use artbox\core\models\Language; | ||
| 8 | use yii\db\ActiveQuery; | 8 | use yii\db\ActiveQuery; |
| 9 | use yii\web\Request; | 9 | use yii\web\Request; |
| 10 | 10 |
models/BlogTagLang.php