Completed
Pull Request — master (#26)
by Lars
10:03
created
src/Intraface/Filehandler/Controller/Show.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     function renderHtml()
30 30
     {
31
-        $this->document->setTitle('File') . ': ' . $this->getFile()->get('file_name');
31
+        $this->document->setTitle('File').': '.$this->getFile()->get('file_name');
32 32
 
33 33
         $this->getKernel()->useShared('keyword');
34 34
         $keyword = new Intraface_Keyword_Appender($this->getFile());
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             'kernel'      => $this->getKernel(),
40 40
             'keywords'    => $keywords);
41 41
 
42
-        $tpl = $this->template->create(dirname(__FILE__) . '/../templates/show');
42
+        $tpl = $this->template->create(dirname(__FILE__).'/../templates/show');
43 43
         return $tpl->render($this, $data);
44 44
     }
45 45
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         $data = array('filemanager' => $this->getFile(),
56 56
                       'values' => $values);
57 57
 
58
-        $tpl = $this->template->create(dirname(__FILE__) . '/../templates/edit');
58
+        $tpl = $this->template->create(dirname(__FILE__).'/../templates/edit');
59 59
         return $tpl->render($this, $data);
60 60
     }
61 61
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $this->document->setTitle('Edit file');
54 54
 
55 55
         $data = array('filemanager' => $this->getFile(),
56
-                      'values' => $values);
56
+                        'values' => $values);
57 57
 
58 58
         $tpl = $this->template->create(dirname(__FILE__) . '/../templates/edit');
59 59
         return $tpl->render($this, $data);
Please login to merge, or discard this patch.
src/Intraface/Filehandler/Controller/Viewer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             } else {
32 32
                 $query = 'query_parts[1] is empty';
33 33
             }
34
-            $response = new k_TextResponse('Could not login using the key ' . $query);
34
+            $response = new k_TextResponse('Could not login using the key '.$query);
35 35
             $response->setStatus(403);
36 36
             return $response;
37 37
         }
Please login to merge, or discard this patch.
src/Intraface/Filehandler/Controller/Upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
         $data = array('filemanager' => $this->getFilehandler(), 'redirect' => $redirect);
23 23
 
24
-        $tpl = $this->template->create(dirname(__FILE__) . '/../templates/upload');
24
+        $tpl = $this->template->create(dirname(__FILE__).'/../templates/upload');
25 25
         return $tpl->render($this, $data);
26 26
     }
27 27
 
Please login to merge, or discard this patch.
src/Intraface/Filehandler/Controller/UploadScript.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             'kernel' => $kernel,
19 19
             'filemanager' => $filemanager);
20 20
 
21
-        $tpl = $this->template->create(dirname(__FILE__) . '/../templates/uploadscript');
21
+        $tpl = $this->template->create(dirname(__FILE__).'/../templates/uploadscript');
22 22
 
23 23
         return new k_HttpResponse(200, $tpl->render($this, $data));
24 24
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             'kernel' => $kernel,
37 37
             'filemanager' => $filemanager);
38 38
 
39
-        $tpl = $this->template->create(dirname(__FILE__) . '/../templates/uploadscript-post');
39
+        $tpl = $this->template->create(dirname(__FILE__).'/../templates/uploadscript-post');
40 40
 
41 41
         return new k_HtmlResponse($tpl->render($this, $data));
42 42
     }
Please login to merge, or discard this patch.
src/Intraface/Filehandler/Controller/UploadMultiple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         $data = array('filemanager' => $filemanager, 'redirect' => $redirect);
24 24
 
25
-        $tpl = $this->template->create(dirname(__FILE__) . '/../templates/uploadmultiple');
25
+        $tpl = $this->template->create(dirname(__FILE__).'/../templates/uploadmultiple');
26 26
         return $tpl->render($this, $data);
27 27
     }
28 28
 
Please login to merge, or discard this patch.
src/Intraface/Controller/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     function wrapHtml($content)
46 46
     {
47
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/outside');
47
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/outside');
48 48
         $content = $tpl->render($this, array('content' => $content));
49 49
         return new k_HtmlResponse($content);
50 50
     }
Please login to merge, or discard this patch.
src/Intraface/Controller/ModuleGatekeeper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
                 try {
18 18
                     $this->getKernel()->module($name);
19 19
                 } catch (Exception $e) {
20
-                    throw new Exception('No access to module ' . $name . ': ' . $e->getMessage());
20
+                    throw new Exception('No access to module '.$name.': '.$e->getMessage());
21 21
                 }
22 22
                 return 'Intraface_modules_'.$name.'_Controller_Index';
23 23
             }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         require_once 'Intraface/modules/intranetmaintenance/ModuleMaintenance.php';
34 34
 
35
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/modulegatekeeper');
35
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/modulegatekeeper');
36 36
         return $smarty->render($this);
37 37
     }
38 38
 
Please login to merge, or discard this patch.
src/Intraface/Controller/ModulePackage/Process.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         // When we recieve from Quickpay payment not being logged in
15 15
         $action = Intraface_modules_modulepackage_ActionStore::restoreFromIdentifier($this->mdb2, $_GET['action_store_identifier']);
16 16
         if (!$action) {
17
-            throw new Exception('Unable to restore action from identifier '. $_GET['action_store_identifier']);
17
+            throw new Exception('Unable to restore action from identifier '.$_GET['action_store_identifier']);
18 18
         }
19 19
 
20 20
         // We login to the intranet with the private key
Please login to merge, or discard this patch.
src/intraface.dk/demo/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 {
72 72
     function create($filename)
73 73
     {
74
-        $filename = $filename . '.tpl.php';
74
+        $filename = $filename.'.tpl.php';
75 75
         $__template_filename__ = k_search_include_path($filename);
76 76
         if (!is_file($__template_filename__)) {
77 77
             throw new Exception("Failed opening '".$filename."' for inclusion. (include_path=".ini_get('include_path').")");
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 {
86 86
     function new_IntrafacePublic_Admin_Client_XMLRPC()
87 87
     {
88
-        return new IntrafacePublic_Admin_Client_XMLRPC($GLOBALS["masterpassword"], false, INTRAFACE_XMLPRC_SERVER_PATH . "admin/server.php");
88
+        return new IntrafacePublic_Admin_Client_XMLRPC($GLOBALS["masterpassword"], false, INTRAFACE_XMLPRC_SERVER_PATH."admin/server.php");
89 89
     }
90 90
 
91 91
     function new_Cache_Lite()
Please login to merge, or discard this patch.