Completed
Branch master (b30f8b)
by Basil
06:06
created
core/console/commands/views/aw/create.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
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
 ?>
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/AudioBlock.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/FormBlock.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
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 %}'.
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/LineBlock.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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')],
Please login to merge, or discard this patch.
modules/errorapi/views/default/_mail.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
modules/admin/apis/StorageController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
modules/admin/storage/IteratorAbstract.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
modules/admin/aws/CoordinatesActiveWindow.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -12,59 +12,59 @@
 block discarded – undo
12 12
  */
13 13
 class CoordinatesActiveWindow extends \admin\ngrest\base\ActiveWindow
14 14
 {
15
-	public $module = '@admin';
15
+    public $module = '@admin';
16 16
 	
17
-	public $alias = 'Coordinates';
17
+    public $alias = 'Coordinates';
18 18
 	
19
-	public $icon = 'pin_drop';
19
+    public $icon = 'pin_drop';
20 20
 	
21
-	/**
22
-	 * @var string Register your maps application and enter your api key here
23
-	 * while configure the active window (https://console.developers.google.com).
24
-	 */
25
-	public $mapsApiKey = null;
21
+    /**
22
+     * @var string Register your maps application and enter your api key here
23
+     * while configure the active window (https://console.developers.google.com).
24
+     */
25
+    public $mapsApiKey = null;
26 26
 	
27
-	/**
28
-	 * {@inheritDoc}
29
-	 * @see \admin\ngrest\base\ActiveWindow::init()
30
-	 */
31
-	public function init()
32
-	{
33
-	    if ($this->mapsApiKey === null) {
34
-	        throw new Exception('A google maps API key can not be null.');
35
-	    }
36
-	}
27
+    /**
28
+     * {@inheritDoc}
29
+     * @see \admin\ngrest\base\ActiveWindow::init()
30
+     */
31
+    public function init()
32
+    {
33
+        if ($this->mapsApiKey === null) {
34
+            throw new Exception('A google maps API key can not be null.');
35
+        }
36
+    }
37 37
 	
38
-	/**
39
-	 * Renders the index file of the ActiveWindow.
40
-	 *
41
-	 * @return string The render index file.
42
-	 */
43
-	public function index()
44
-	{
45
-		return $this->render('index', [
46
-			'id' => $this->itemId,
47
-		    'mapsApiKey' => $this->mapsApiKey,
48
-		]);
49
-	}
38
+    /**
39
+     * Renders the index file of the ActiveWindow.
40
+     *
41
+     * @return string The render index file.
42
+     */
43
+    public function index()
44
+    {
45
+        return $this->render('index', [
46
+            'id' => $this->itemId,
47
+            'mapsApiKey' => $this->mapsApiKey,
48
+        ]);
49
+    }
50 50
 	
51
-	public function callbackGetCoordinates($address)
52
-	{
53
-	    $curl = new Curl();
54
-	    $curl->get('https://maps.googleapis.com/maps/api/geocode/json?', ['key' => $this->mapsApiKey, 'address' => $address]);
51
+    public function callbackGetCoordinates($address)
52
+    {
53
+        $curl = new Curl();
54
+        $curl->get('https://maps.googleapis.com/maps/api/geocode/json?', ['key' => $this->mapsApiKey, 'address' => $address]);
55 55
 	    
56
-	    if ($curl->error) {
57
-	        return $this->sendError('Error while getting data from google maps API: ' . $curl->error_message);
58
-	    }
56
+        if ($curl->error) {
57
+            return $this->sendError('Error while getting data from google maps API: ' . $curl->error_message);
58
+        }
59 59
 	    
60
-	    $response = Json::decode($curl->response);
60
+        $response = Json::decode($curl->response);
61 61
 	    
62
-	    if (!isset($response['results']) || !isset($response['results'][0])) {
63
-	        return $this->sendError('Error while collecting data for your adresse. Check if you adress was correct and try again.');
64
-	    }
62
+        if (!isset($response['results']) || !isset($response['results'][0])) {
63
+            return $this->sendError('Error while collecting data for your adresse. Check if you adress was correct and try again.');
64
+        }
65 65
 	    
66
-	    $cords = $response['results'][0]['geometry']['location'];
66
+        $cords = $response['results'][0]['geometry']['location'];
67 67
 	    
68
-	    return $this->sendSuccess('We have found your location and pinned the marker on the submit.', ['cords' => $cords]);
69
-	}
68
+        return $this->sendSuccess('We have found your location and pinned the marker on the submit.', ['cords' => $cords]);
69
+    }
70 70
 }
71 71
\ No newline at end of file
Please login to merge, or discard this patch.
modules/admin/views/aws/base/_callbackButton.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @param $angularCrudControllerName;
4
- * @param $callbackName
5
- * @param $callbackArgumentsJson
6
- * @param $closeOnSuccess
7
- * @param $reloadListOnSuccess;
8
- * @param $buttonNameValue
9
- */
3
+     * @param $angularCrudControllerName;
4
+     * @param $callbackName
5
+     * @param $callbackArgumentsJson
6
+     * @param $closeOnSuccess
7
+     * @param $reloadListOnSuccess;
8
+     * @param $buttonNameValue
9
+     */
10 10
 ?>
11 11
 <script>
12 12
 zaa.bootstrap.register('<?php echo $angularCrudControllerName; ?>', function($scope, $controller) {
Please login to merge, or discard this patch.