@@ -28,7 +28,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | 'instance_manager' => $instance_manager, |
22 | 22 | 'value' => $value); |
23 | 23 | |
24 | - $tpl = $this->template->create(dirname(__FILE__) . '/../templates/sizes-edit'); |
|
24 | + $tpl = $this->template->create(dirname(__FILE__).'/../templates/sizes-edit'); |
|
25 | 25 | return $tpl->render($this, $data); |
26 | 26 | } |
27 | 27 |
@@ -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 |