@@ -18,7 +18,7 @@ discard block |
||
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 |
||
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 | } |
@@ -22,7 +22,7 @@ |
||
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 |
@@ -44,7 +44,7 @@ |
||
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 | } |
@@ -17,7 +17,7 @@ discard block |
||
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 |
||
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 |
@@ -14,7 +14,7 @@ |
||
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 |
@@ -71,7 +71,7 @@ discard block |
||
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 |
||
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() |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -error_reporting(E_ALL &~E_DEPRECATED); |
|
2 | +error_reporting(E_ALL & ~E_DEPRECATED); |
|
3 | 3 | set_include_path(get_include_path()); |
4 | 4 | |
5 | 5 | define('INTRAFACE_XMLPRC_SERVER_PATH', 'http://localhost/intraface/intraface.dk/xmlrpc/'); |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | { |
4 | 4 | function renderHtml() |
5 | 5 | { |
6 | - return get_class($this) . ' has intentionally been left blank'; |
|
6 | + return get_class($this).' has intentionally been left blank'; |
|
7 | 7 | } |
8 | 8 | |
9 | 9 | function getPrivateKey() |
@@ -23,17 +23,17 @@ discard block |
||
23 | 23 | |
24 | 24 | function getContactClient() |
25 | 25 | { |
26 | - return new IntrafacePublic_Contact_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH . "contact/server.php"); |
|
26 | + return new IntrafacePublic_Contact_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH."contact/server.php"); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | function getNewsletterClient() |
30 | 30 | { |
31 | - return new IntrafacePublic_Newsletter_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH . "newsletter/server.php"); |
|
31 | + return new IntrafacePublic_Newsletter_XMLRPC_Client($this->getCredentials(), false, INTRAFACE_XMLPRC_SERVER_PATH."newsletter/server.php"); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | function getDebtorClient() |
35 | 35 | { |
36 | - return new IntrafacePublic_Debtor_XMLRPC_Client($this->getCredentials(), true, INTRAFACE_XMLPRC_SERVER_PATH . "debtor/server.php"); |
|
36 | + return new IntrafacePublic_Debtor_XMLRPC_Client($this->getCredentials(), true, INTRAFACE_XMLPRC_SERVER_PATH."debtor/server.php"); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | function execute() |
@@ -10,7 +10,7 @@ |
||
10 | 10 | |
11 | 11 | function renderHtml() |
12 | 12 | { |
13 | - return get_class($this) . ' intentionally left blank'; |
|
13 | + return get_class($this).' intentionally left blank'; |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | function getPrivateKey() |