| @@ -89,18 +89,18 @@ | ||
| 89 | 89 |      { | 
| 90 | 90 | $config = []; | 
| 91 | 91 | foreach ([ | 
| 92 | - 'host', | |
| 93 | - 'port', | |
| 94 | - 'username', | |
| 95 | - 'password', | |
| 96 | - 'ssl', | |
| 97 | - 'timeout', | |
| 98 | - 'root', | |
| 99 | - 'permPrivate', | |
| 100 | - 'permPublic', | |
| 101 | - 'passive', | |
| 102 | - 'transferMode', | |
| 103 | -                 ] as $name) { | |
| 92 | + 'host', | |
| 93 | + 'port', | |
| 94 | + 'username', | |
| 95 | + 'password', | |
| 96 | + 'ssl', | |
| 97 | + 'timeout', | |
| 98 | + 'root', | |
| 99 | + 'permPrivate', | |
| 100 | + 'permPublic', | |
| 101 | + 'passive', | |
| 102 | + 'transferMode', | |
| 103 | +                    ] as $name) { | |
| 104 | 104 |              if ($this->$name !== null) { | 
| 105 | 105 | $config[$name] = $this->$name; | 
| 106 | 106 | } | 
| @@ -90,16 +90,16 @@ | ||
| 90 | 90 | $config = []; | 
| 91 | 91 | |
| 92 | 92 | foreach ([ | 
| 93 | - 'host', | |
| 94 | - 'port', | |
| 95 | - 'username', | |
| 96 | - 'password', | |
| 97 | - 'timeout', | |
| 98 | - 'root', | |
| 99 | - 'privateKey', | |
| 100 | - 'permPrivate', | |
| 101 | - 'permPublic', | |
| 102 | -                 ] as $name) { | |
| 93 | + 'host', | |
| 94 | + 'port', | |
| 95 | + 'username', | |
| 96 | + 'password', | |
| 97 | + 'timeout', | |
| 98 | + 'root', | |
| 99 | + 'privateKey', | |
| 100 | + 'permPrivate', | |
| 101 | + 'permPublic', | |
| 102 | +                    ] as $name) { | |
| 103 | 103 |              if ($this->$name !== null) { | 
| 104 | 104 | $config[$name] = $this->$name; | 
| 105 | 105 | } | 
| @@ -63,13 +63,13 @@ | ||
| 63 | 63 | $config = []; | 
| 64 | 64 | |
| 65 | 65 | foreach ([ | 
| 66 | - 'baseUri', | |
| 67 | - 'userName', | |
| 68 | - 'password', | |
| 69 | - 'proxy', | |
| 70 | - 'authType', | |
| 71 | - 'encoding', | |
| 72 | -                 ] as $name) { | |
| 66 | + 'baseUri', | |
| 67 | + 'userName', | |
| 68 | + 'password', | |
| 69 | + 'proxy', | |
| 70 | + 'authType', | |
| 71 | + 'encoding', | |
| 72 | +                    ] as $name) { | |
| 73 | 73 |              if ($this->$name !== null) { | 
| 74 | 74 | $config[$name] = $this->$name; | 
| 75 | 75 | } | 
| @@ -23,8 +23,8 @@ | ||
| 23 | 23 | /** | 
| 24 | 24 | * Handles adding <?= $columns ?> to table `<?= $table ?>`. | 
| 25 | 25 |  <?= $this->render('_foreignTables', [ | 
| 26 | - 'foreignKeys' => $foreignKeys, | |
| 27 | - ]) ?> | |
| 26 | + 'foreignKeys' => $foreignKeys, | |
| 27 | + ]) ?> | |
| 28 | 28 | */ | 
| 29 | 29 | class <?= $className ?> extends Migration | 
| 30 | 30 |  { | 
| @@ -54,7 +54,7 @@ | ||
| 54 | 54 | [ | 
| 55 | 55 | 'attribute' => 'icon', | 
| 56 | 56 |                          'value' => function($model) { | 
| 57 | - return Html::icon($model->icon); | |
| 57 | + return Html::icon($model->icon); | |
| 58 | 58 | }, | 
| 59 | 59 | 'format' => 'raw' | 
| 60 | 60 | ], | 
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | 'autocomplete' => 'off', | 
| 57 | 57 |                  'placeholder' => Yii::t('yuncms', 'Password') | 
| 58 | 58 | ], | 
| 59 | - 'errorOptions' => ['class' => 'help-block help-block-error full-width','style'=>'text-align:left'], | |
| 59 | + 'errorOptions' => ['class' => 'help-block help-block-error full-width','style'=>'text-align:left'], | |
| 60 | 60 | ])->passwordInput()->label(false) ?> | 
| 61 | 61 | |
| 62 | 62 | <?= $form->field($model, 'verifyCode', [ | 
| @@ -4,25 +4,25 @@ | ||
| 4 | 4 | * @copyright Copyright (c) 2012 TintSoft Technology Co. Ltd. | 
| 5 | 5 | * @license http://www.tintsoft.com/license/ | 
| 6 | 6 | */ | 
| 7 | - namespace xutl\inspinia; | |
| 7 | + namespace xutl\inspinia; | |
| 8 | 8 | |
| 9 | - use yii\web\View; | |
| 10 | - use yii\web\AssetBundle; | |
| 9 | + use yii\web\View; | |
| 10 | + use yii\web\AssetBundle; | |
| 11 | 11 | |
| 12 | - class PaceAsset extends AssetBundle{ | |
| 13 | - public $sourcePath = '@yuncms/admin/resources/assets'; | |
| 12 | +    class PaceAsset extends AssetBundle{ | |
| 13 | + public $sourcePath = '@yuncms/admin/resources/assets'; | |
| 14 | 14 | |
| 15 | - /** | |
| 16 | - * 发布参数 | |
| 17 | - * | |
| 18 | - * @var array | |
| 19 | - */ | |
| 20 | - public $jsOptions = [ | |
| 21 | - 'position' => View::POS_HEAD, | |
| 22 | - 'data-pace-options' => ['restartOnRequestAfter' => true] | |
| 23 | - ]; | |
| 15 | + /** | |
| 16 | + * 发布参数 | |
| 17 | + * | |
| 18 | + * @var array | |
| 19 | + */ | |
| 20 | + public $jsOptions = [ | |
| 21 | + 'position' => View::POS_HEAD, | |
| 22 | + 'data-pace-options' => ['restartOnRequestAfter' => true] | |
| 23 | + ]; | |
| 24 | 24 | |
| 25 | - public $js = [ | |
| 26 | - 'js/plugins/pace/pace.min.js' | |
| 27 | - ]; | |
| 28 | - } | |
| 29 | 25 | \ No newline at end of file | 
| 26 | + public $js = [ | |
| 27 | + 'js/plugins/pace/pace.min.js' | |
| 28 | + ]; | |
| 29 | + } | |
| 30 | 30 | \ No newline at end of file | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | use yii\helpers\Url; | 
| 3 | 3 | use yuncms\helpers\Html; | 
| 4 | - ?> | |
| 4 | + ?> | |
| 5 | 5 | <li class="nav-header"> | 
| 6 | 6 | <div class="logo-element-main"> | 
| 7 | 7 | YUNCMS |