@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @var $model |
|
4 | - */ |
|
3 | + * @var $model |
|
4 | + */ |
|
5 | 5 | ?> |
6 | 6 | <h1 style="color: #f00;"><?php echo $model->message; ?></h1> |
7 | 7 | <p style="color: #800000;">from <strong><?php echo $model->serverName; ?></strong></p> |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | ?> |
6 | 6 | <h1 style="color: #f00;"><?php echo $model->message; ?></h1> |
7 | 7 | <p style="color: #800000;">from <strong><?php echo $model->serverName; ?></strong></p> |
8 | -<a href="https://github.com/luyadev/luya/issues/new?title=<?php echo urlencode('#'. $model->identifier . ' ' . $model->message);?>"><?php echo errorapi\Module::t('mail_create_issue') ?></a> |
|
8 | +<a href="https://github.com/luyadev/luya/issues/new?title=<?php echo urlencode('#'.$model->identifier.' '.$model->message); ?>"><?php echo errorapi\Module::t('mail_create_issue') ?></a> |
|
9 | 9 | <table cellspacing="2" cellpadding="6" border="0" width="1200"> |
10 | 10 | <?php foreach ($model->errorArray as $key => $value): ?> |
11 | 11 | <tr> |
@@ -34,13 +34,13 @@ discard block |
||
34 | 34 | <table cellspacing="0" cellpadding="4" border="0"> |
35 | 35 | <?php foreach ($value as $k => $v): ?> |
36 | 36 | <tr> |
37 | - <td><?php echo $k; ?>:</td><td><?php echo (is_array($v)) ? print_r($v, true) : $v; ?></td> |
|
37 | + <td><?php echo $k; ?>:</td><td><?php echo (is_array($v)) ? print_r($v, true) : $v; ?></td> |
|
38 | 38 | </tr> |
39 | 39 | <?php endforeach; ?> |
40 | 40 | </table> |
41 | 41 | <?php else: ?> |
42 | 42 | <?php echo $value; ?> |
43 | - <?php endif;?> |
|
43 | + <?php endif; ?> |
|
44 | 44 | </tr> |
45 | 45 | <?php endforeach; ?> |
46 | 46 | </table> |
47 | 47 | \ No newline at end of file |
@@ -38,8 +38,11 @@ |
||
38 | 38 | </tr> |
39 | 39 | <?php endforeach; ?> |
40 | 40 | </table> |
41 | - <?php else: ?> |
|
42 | - <?php echo $value; ?> |
|
41 | + <?php else { |
|
42 | + : ?> |
|
43 | + <?php echo $value; |
|
44 | +} |
|
45 | +?> |
|
43 | 46 | <?php endif;?> |
44 | 47 | </tr> |
45 | 48 | <?php endforeach; ?> |
@@ -23,6 +23,6 @@ |
||
23 | 23 | $this->output(print_r($container->getReport(), true)); |
24 | 24 | |
25 | 25 | $timeElapsed = round((microtime(true) - $start) / 60, 2); |
26 | - return $this->outputSuccess('Cralwer finished in ' . $timeElapsed . ' min.'); |
|
26 | + return $this->outputSuccess('Cralwer finished in '.$timeElapsed.' min.'); |
|
27 | 27 | } |
28 | 28 | } |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | public function getAlias() |
111 | 111 | { |
112 | - return $this->menuItem->alias . '/' . $this->alias; |
|
112 | + return $this->menuItem->alias.'/'.$this->alias; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | public function getContainer() |
@@ -189,12 +189,12 @@ discard block |
||
189 | 189 | |
190 | 190 | public function getId() |
191 | 191 | { |
192 | - return $this->menuItem->id . '_' . md5(spl_object_hash($this) . $this->getAlias()); |
|
192 | + return $this->menuItem->id.'_'.md5(spl_object_hash($this).$this->getAlias()); |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | public function getNavId() |
196 | 196 | { |
197 | - return $this->menuItem->navId . '_' . $this->getChildOf(); |
|
197 | + return $this->menuItem->navId.'_'.$this->getChildOf(); |
|
198 | 198 | } |
199 | 199 | |
200 | 200 | public function toArray() |
@@ -56,7 +56,7 @@ |
||
56 | 56 | if ($item) { |
57 | 57 | $link = $item->link; |
58 | 58 | |
59 | - if ($item->type == 2 && !empty($rule)) { |
|
59 | + if ($item->type == 2 && !empty($rule)) { |
|
60 | 60 | $routeParams = [$rule['route']]; |
61 | 61 | |
62 | 62 | foreach ($rule['params'] as $key => $value) { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | public function parseRequest($manager, $request) |
16 | 16 | { |
17 | 17 | // add trace info |
18 | - Yii::info('LUYA-CMS CatchAllUrlRule is parsing the Request for path info \'' . $request->pathInfo .'\'', __METHOD__); |
|
18 | + Yii::info('LUYA-CMS CatchAllUrlRule is parsing the Request for path info \''.$request->pathInfo.'\'', __METHOD__); |
|
19 | 19 | |
20 | 20 | if (empty($request->pathInfo)) { |
21 | 21 | return false; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | public function parseRequest($manager, $request) |
19 | 19 | { |
20 | 20 | // add trace info |
21 | - Yii::info('LUYA-CMS RouteBehaviorUrlRule is parsing the Request for path info \'' . $request->pathInfo .'\'', __METHOD__); |
|
21 | + Yii::info('LUYA-CMS RouteBehaviorUrlRule is parsing the Request for path info \''.$request->pathInfo.'\'', __METHOD__); |
|
22 | 22 | // return the custom route |
23 | 23 | |
24 | 24 | $parts = explode("/", $request->pathInfo); |
@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | foreach ($imageList as $image) { |
59 | 59 | if (array_key_exists($image['file_id'], $allStorageFileEntries)) { |
60 | - $filterImage = $image['filter_id'] . '_' . $allStorageFileEntries[$image['file_id']]['name_new_compound']; |
|
60 | + $filterImage = $image['filter_id'].'_'.$allStorageFileEntries[$image['file_id']]['name_new_compound']; |
|
61 | 61 | foreach ($storageFileList as $key => $file) { |
62 | 62 | if ($filterImage == pathinfo($file, PATHINFO_BASENAME)) { |
63 | 63 | unset($storageFileList[$key]); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | private function getFieldId($name) |
62 | 62 | { |
63 | - return Inflector::camel2id($this->id . $name); |
|
63 | + return Inflector::camel2id($this->id.$name); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | public function run() |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | // do we have option params for the button |
70 | 70 | $params = (array_key_exists('params', $this->options)) ? $this->options['params'] : []; |
71 | 71 | // create the angular controller name |
72 | - $controller = 'Controller'.Inflector::camelize($this->id) . Inflector::camelize($this->callback) . time(); |
|
72 | + $controller = 'Controller'.Inflector::camelize($this->id).Inflector::camelize($this->callback).time(); |
|
73 | 73 | // render and return the view with the specific params |
74 | 74 | return $this->render('@admin/views/aws/base/_callbackForm', [ |
75 | 75 | 'angularCrudControllerName' => $controller, |
@@ -74,7 +74,7 @@ |
||
74 | 74 | public function getHashName() |
75 | 75 | { |
76 | 76 | if ($this->_hashName === null) { |
77 | - $this->_hashName = sha1($this->getName() . $this->icon . $this->alias); |
|
77 | + $this->_hashName = sha1($this->getName().$this->icon.$this->alias); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | return $this->_hashName; |