@@ -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; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * Callculate to number of items when using count() function against the QueryIterator object. |
| 24 | 24 | * |
| 25 | 25 | * @return int The number of elements in the object. |
| 26 | - */ |
|
| 26 | + */ |
|
| 27 | 27 | public function count() |
| 28 | 28 | { |
| 29 | 29 | return count($this->data); |
@@ -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 %}'. |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | public function config() |
| 25 | 25 | { |
| 26 | 26 | return [ |
| 27 | - 'vars' => [ |
|
| 27 | + 'vars' => [ |
|
| 28 | 28 | ['var' => 'lineSpace', 'label' => Module::t('block_line_linespace_label'), 'type' => 'zaa-select', 'options' => [ |
| 29 | 29 | ['value' => '5px', 'label' => '5px ' . Module::t('block_line_linespace_space')], |
| 30 | 30 | ['value' => '10px', 'label' => '10px ' . Module::t('block_line_linespace_space')], |