@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | public function settings(ConfigEntity $config = null) |
29 | 29 | { |
30 | - return View::make('dynamicField/category/afterTitle/createSkin', ['config' => $config,])->render(); |
|
30 | + return View::make('dynamicField/category/afterTitle/createSkin', ['config' => $config, ])->render(); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | public function create(array $inputs) |
@@ -49,8 +49,8 @@ discard block |
||
49 | 49 | $items = Category::progenitors($category); |
50 | 50 | |
51 | 51 | $itemId = ''; |
52 | - if (isset($args[$config->get('id') . 'ItemId'])) { |
|
53 | - $itemId = $args[$config->get('id') . 'ItemId']; |
|
52 | + if (isset($args[$config->get('id').'ItemId'])) { |
|
53 | + $itemId = $args[$config->get('id').'ItemId']; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | return View::make('dynamicField/category/afterTitle/edit', [ |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | { |
65 | 65 | $config = $this->config; |
66 | 66 | $item = ''; |
67 | - if (isset($args[$config->get('id') . 'ItemId'])) { |
|
68 | - $itemId = $args[$config->get('id') . 'ItemId']; |
|
67 | + if (isset($args[$config->get('id').'ItemId'])) { |
|
68 | + $itemId = $args[$config->get('id').'ItemId']; |
|
69 | 69 | $item = Category::getItem($itemId); |
70 | 70 | } |
71 | 71 |
@@ -59,8 +59,8 @@ discard block |
||
59 | 59 | { |
60 | 60 | $config = $this->config; |
61 | 61 | $text = ''; |
62 | - if (isset($args[$config->get('id') . 'Text'])) { |
|
63 | - $text = $args[$config->get('id') . 'Text']; |
|
62 | + if (isset($args[$config->get('id').'Text'])) { |
|
63 | + $text = $args[$config->get('id').'Text']; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | return View::make('dynamicField/text/default/edit', [ |
@@ -80,8 +80,8 @@ discard block |
||
80 | 80 | { |
81 | 81 | $config = $this->config; |
82 | 82 | $text = ''; |
83 | - if (isset($args[$config->get('id') . 'Text'])) { |
|
84 | - $text = $args[$config->get('id') . 'Text']; |
|
83 | + if (isset($args[$config->get('id').'Text'])) { |
|
84 | + $text = $args[$config->get('id').'Text']; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | return View::make('dynamicField/text/default/show', [ |
@@ -52,7 +52,7 @@ |
||
52 | 52 | |
53 | 53 | $headString = []; |
54 | 54 | $headString[] = "<ul>"; |
55 | - $headString[] = "<li data-jstree='{$treeOption}' id='{$menu->id}' node='{$menu->id}'>" . $menu->title; |
|
55 | + $headString[] = "<li data-jstree='{$treeOption}' id='{$menu->id}' node='{$menu->id}'>".$menu->title; |
|
56 | 56 | $headString[] = "<div class='action'>"; |
57 | 57 | |
58 | 58 | $headString[] = sprintf('<a href="/manage/menu/selectItemType/%s" onclick="javascript:appendItem(\'%s\')"><i class="fa fa-plus"></i></a>', |
@@ -28,13 +28,13 @@ |
||
28 | 28 | $nameGlobal = array_get($args, 'name'); |
29 | 29 | |
30 | 30 | $labelText = array_get($args, 'label'); |
31 | - if($labelText !== null) { |
|
31 | + if ($labelText !== null) { |
|
32 | 32 | $label->removeClass('hidden')->html($labelText); |
33 | 33 | } |
34 | 34 | |
35 | 35 | // checkbox가 따로 있을 경우 |
36 | - if($checkboxes !== null) { |
|
37 | - foreach((array) $checkboxes as $arg){ |
|
36 | + if ($checkboxes !== null) { |
|
37 | + foreach ((array) $checkboxes as $arg) { |
|
38 | 38 | $checkboxObj = PhpQuery::pq( |
39 | 39 | "<label class=\"checkbox-inline\"><input type=\"checkbox\"><span></span></label>" |
40 | 40 | ); |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | foreach ($arg as $value => $option) { |
38 | 38 | if (is_array($option) === false) { |
39 | 39 | $text = $option; |
40 | - if(is_string($value) === false) { |
|
40 | + if (is_string($value) === false) { |
|
41 | 41 | $value = $option; |
42 | 42 | } |
43 | 43 | $selected = ''; |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $labelEl->attr('for', $arg); |
60 | 60 | // pass to default |
61 | 61 | default: |
62 | - if(is_string($arg)){ |
|
62 | + if (is_string($arg)) { |
|
63 | 63 | $selectEl->attr($key, $arg); |
64 | 64 | } |
65 | 65 | break; |
@@ -55,8 +55,8 @@ |
||
55 | 55 | $this->loadDefault(); |
56 | 56 | |
57 | 57 | app('xe.frontend')->js([ |
58 | - 'assets/vendor/swiper2/idangerous.swiper.js', |
|
59 | - 'assets/core/plugin/js/plugin.js' |
|
58 | + 'assets/vendor/swiper2/idangerous.swiper.js', |
|
59 | + 'assets/core/plugin/js/plugin.js' |
|
60 | 60 | ])->appendTo('head')->load(); |
61 | 61 | app('xe.frontend')->css('assets/vendor/swiper2/idangerous.swiper.css') |
62 | 62 | ->before('assets/core/settings/css/admin.css')->load(); |
@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | 'storage' => array( |
30 | 30 | 'enabled' => true, |
31 | 31 | 'driver' => 'file', // redis, file, pdo |
32 | - 'path' => storage_path() . '/debugbar', // For file driver |
|
33 | - 'connection' => null, // Leave null for default connection (Redis/PDO) |
|
32 | + 'path' => storage_path().'/debugbar', // For file driver |
|
33 | + 'connection' => null, // Leave null for default connection (Redis/PDO) |
|
34 | 34 | ), |
35 | 35 | |
36 | 36 | /* |
@@ -71,20 +71,20 @@ discard block |
||
71 | 71 | */ |
72 | 72 | |
73 | 73 | 'collectors' => array( |
74 | - 'phpinfo' => true, // Php version |
|
75 | - 'messages' => true, // Messages |
|
76 | - 'time' => true, // Time Datalogger |
|
77 | - 'memory' => true, // Memory usage |
|
78 | - 'exceptions' => true, // Exception displayer |
|
79 | - 'log' => true, // Logs from Monolog (merged in messages if enabled) |
|
80 | - 'db' => true, // Show database (PDO) queries and bindings |
|
81 | - 'views' => true, // Views with their data |
|
82 | - 'route' => true, // Current route information |
|
74 | + 'phpinfo' => true, // Php version |
|
75 | + 'messages' => true, // Messages |
|
76 | + 'time' => true, // Time Datalogger |
|
77 | + 'memory' => true, // Memory usage |
|
78 | + 'exceptions' => true, // Exception displayer |
|
79 | + 'log' => true, // Logs from Monolog (merged in messages if enabled) |
|
80 | + 'db' => true, // Show database (PDO) queries and bindings |
|
81 | + 'views' => true, // Views with their data |
|
82 | + 'route' => true, // Current route information |
|
83 | 83 | 'laravel' => false, // Laravel version and environment |
84 | 84 | 'events' => false, // All events fired |
85 | 85 | 'default_request' => false, // Regular or special Symfony request logger |
86 | - 'symfony_request' => true, // Only one can be enabled.. |
|
87 | - 'mail' => true, // Catch mail messages |
|
86 | + 'symfony_request' => true, // Only one can be enabled.. |
|
87 | + 'mail' => true, // Catch mail messages |
|
88 | 88 | 'logs' => false, // Add the latest log messages |
89 | 89 | 'files' => false, // Show the included files |
90 | 90 | 'config' => false, // Display config settings |
@@ -103,23 +103,23 @@ discard block |
||
103 | 103 | |
104 | 104 | 'options' => array( |
105 | 105 | 'auth' => array( |
106 | - 'show_name' => false, // Also show the users name/email in the debugbar |
|
106 | + 'show_name' => false, // Also show the users name/email in the debugbar |
|
107 | 107 | ), |
108 | 108 | 'db' => array( |
109 | - 'with_params' => true, // Render SQL with the parameters substituted |
|
110 | - 'timeline' => false, // Add the queries to the timeline |
|
111 | - 'backtrace' => false, // EXPERIMENTAL: Use a backtrace to find the origin of the query in your files. |
|
109 | + 'with_params' => true, // Render SQL with the parameters substituted |
|
110 | + 'timeline' => false, // Add the queries to the timeline |
|
111 | + 'backtrace' => false, // EXPERIMENTAL: Use a backtrace to find the origin of the query in your files. |
|
112 | 112 | 'explain' => array( // EXPERIMENTAL: Show EXPLAIN output on queries |
113 | 113 | 'enabled' => false, |
114 | 114 | 'types' => array('SELECT'), // array('SELECT', 'INSERT', 'UPDATE', 'DELETE'); for MySQL 5.6.3+ |
115 | 115 | ), |
116 | - 'hints' => true, // Show hints for common mistakes |
|
116 | + 'hints' => true, // Show hints for common mistakes |
|
117 | 117 | ), |
118 | 118 | 'mail' => array( |
119 | 119 | 'full_log' => false |
120 | 120 | ), |
121 | 121 | 'views' => array( |
122 | - 'data' => false, //Note: Can slow down the application, because the data can be quite large.. |
|
122 | + 'data' => false, //Note: Can slow down the application, because the data can be quite large.. |
|
123 | 123 | ), |
124 | 124 | 'route' => array( |
125 | 125 | 'label' => true // show complete route on bar |
@@ -126,8 +126,8 @@ |
||
126 | 126 | private function summary($args) |
127 | 127 | { |
128 | 128 | foreach ($this->waste($args) as $basket) { |
129 | - $this->info(' name: ' . $basket::name()); |
|
130 | - $this->info(' summary: ' . $basket::summary()); |
|
129 | + $this->info(' name: '.$basket::name()); |
|
130 | + $this->info(' summary: '.$basket::summary()); |
|
131 | 131 | } |
132 | 132 | } |
133 | 133 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | $loop = 0; |
53 | 53 | try { |
54 | - while(true) { |
|
54 | + while (true) { |
|
55 | 55 | $files = $this->storage->paginate(['useCount' => 0, 'parentId' => null], 20); |
56 | 56 | if (count($files) < 1) { |
57 | 57 | break; |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | private function intercept() |
84 | 84 | { |
85 | - intercept('Storage@remove', 'storage.optimize.log', function ($target, $file) { |
|
85 | + intercept('Storage@remove', 'storage.optimize.log', function($target, $file) { |
|
86 | 86 | |
87 | 87 | $this->bag[] = $file; |
88 | 88 | |
@@ -102,22 +102,22 @@ discard block |
||
102 | 102 | switch ($verbosity) { |
103 | 103 | case 2: |
104 | 104 | if ($file->parentId === null) { |
105 | - $this->info("\t" . $file->clientname); |
|
105 | + $this->info("\t".$file->clientname); |
|
106 | 106 | } |
107 | 107 | break; |
108 | 108 | case 3: |
109 | 109 | if ($file->parentId === null) { |
110 | - $this->line("\t" . |
|
111 | - $file->disk . "\t" . |
|
112 | - "<info>" . $file->clientname . "</info>\t" . |
|
110 | + $this->line("\t". |
|
111 | + $file->disk."\t". |
|
112 | + "<info>".$file->clientname."</info>\t". |
|
113 | 113 | bytes($file->size) |
114 | 114 | ); |
115 | 115 | } |
116 | 116 | break; |
117 | 117 | case 4: |
118 | - $this->line("\t" . |
|
119 | - $file->disk . "\t" . |
|
120 | - "<info>" . $file->clientname . "</info>\t" . |
|
118 | + $this->line("\t". |
|
119 | + $file->disk."\t". |
|
120 | + "<info>".$file->clientname."</info>\t". |
|
121 | 121 | bytes($file->size) |
122 | 122 | ); |
123 | 123 | break; |