@@ -31,7 +31,7 @@ |
||
| 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 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | 'instance_manager' => $instance_manager, |
| 30 | 30 | 'instances' => $instances); |
| 31 | 31 | |
| 32 | - $tpl = $this->template->create(dirname(__FILE__) . '/../templates/sizes'); |
|
| 32 | + $tpl = $this->template->create(dirname(__FILE__).'/../templates/sizes'); |
|
| 33 | 33 | return $tpl->render($this, $data); |
| 34 | 34 | } |
| 35 | 35 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | 'instance_manager' => $instance_manager, |
| 48 | 48 | 'value' => $value); |
| 49 | 49 | |
| 50 | - $tpl = $this->template->create(dirname(__FILE__) . '/../templates/sizes-edit'); |
|
| 50 | + $tpl = $this->template->create(dirname(__FILE__).'/../templates/sizes-edit'); |
|
| 51 | 51 | return $tpl->render($this, $data); |
| 52 | 52 | } |
| 53 | 53 | |
@@ -21,7 +21,7 @@ |
||
| 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 | |
@@ -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() |