@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace luya\web; |
4 | 4 | |
5 | 5 | use Yii; |
6 | -use luya\helpers\Url; |
|
7 | 6 | use yii\web\BadRequestHttpException; |
8 | 7 | |
9 | 8 | /** |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace app\properties; |
4 | 4 | |
5 | -use Yii; |
|
6 | - |
|
7 | 5 | class TestProperty extends \admin\base\Property |
8 | 6 | { |
9 | 7 | public function init() |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Yii; |
6 | 6 | use Exception; |
7 | 7 | use admin\helpers\Storage; |
8 | -use admin\models\StorageImage; |
|
9 | 8 | use admin\models\StorageFile; |
10 | 9 | use admin\models\StorageFolder; |
11 | 10 | use admin\Module; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @todo http://php.net/manual/en/features.file-upload.errors.php |
103 | 103 | * |
104 | 104 | * @return array|json Key represents the uploaded file name, value represents the id in the database. |
105 | - */ |
|
105 | + */ |
|
106 | 106 | public function actionFilesUpload() |
107 | 107 | { |
108 | 108 | foreach ($_FILES as $k => $file) { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace admin\controllers; |
4 | 4 | |
5 | 5 | use Yii; |
6 | -use admin\Module; |
|
7 | 6 | use luya\helpers\Url; |
8 | 7 | use yii\helpers\Json; |
9 | 8 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use yii\db\Query; |
6 | 6 | use luya\helpers\ArrayHelper; |
7 | -use cmsadmin\models\NavContainer; |
|
8 | 7 | use admin\models\Lang; |
9 | 8 | |
10 | 9 | class MenuController extends \admin\base\RestController |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Goutte\Client; |
6 | 6 | use yii\base\InvalidConfigException; |
7 | 7 | use yii\base\yii\base; |
8 | -use luya\helpers\Url; |
|
9 | 8 | |
10 | 9 | class CrawlPage extends \yii\base\Object |
11 | 10 | { |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @var $className |
|
4 | - * @var $namespace |
|
5 | - * @var $luya |
|
6 | - * @var $moduleId |
|
7 | - * @var $alias |
|
8 | - */ |
|
3 | + * @var $className |
|
4 | + * @var $namespace |
|
5 | + * @var $luya |
|
6 | + * @var $moduleId |
|
7 | + * @var $alias |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | echo "<?php\n"; |
11 | 11 | ?> |
@@ -24,9 +24,9 @@ |
||
24 | 24 | public function config() |
25 | 25 | { |
26 | 26 | return [ |
27 | - 'vars' => [ |
|
27 | + 'vars' => [ |
|
28 | 28 | ['var' => 'soundUrl', 'label' => 'Embeded Code', 'type' => 'zaa-text'], |
29 | - ], |
|
29 | + ], |
|
30 | 30 | ]; |
31 | 31 | } |
32 | 32 |
@@ -125,7 +125,7 @@ |
||
125 | 125 | '{% if extras.name and extras.email and extras.message %}'. |
126 | 126 | '{% if extras.mailerResponse == "success" %}'. |
127 | 127 | '<div class="alert alert-success">{{ extras.sendSuccess }}</div>'. |
128 | - '{% else %}'. |
|
128 | + '{% else %}'. |
|
129 | 129 | '<div class="alert alert-danger">{{ extras.sendError }}</div>'. |
130 | 130 | '{% endif %}'. |
131 | 131 | '{% endif %}'. |