@@ -31,9 +31,9 @@ |
||
31 | 31 | protected $id; |
32 | 32 | |
33 | 33 | /** |
34 | - * @var EntityInterface |
|
35 | - * @ODM\EmbedOne |
|
36 | - * @ODM\Index |
|
34 | + * @var EntityInterface |
|
35 | + * @ODM\EmbedOne |
|
36 | + * @ODM\Index |
|
37 | 37 | */ |
38 | 38 | protected $entity; |
39 | 39 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Application configuration |
|
5 | - * |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license GPLv3 |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * Application configuration |
|
5 | + * |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license GPLv3 |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Core\Entity; |
11 | 11 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** XssFilter.php */ |
11 | 11 | namespace Core\Filter; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function filter($value) |
60 | 60 | { |
61 | - $htmlPurifier = $this->getHtmlPurifier(); |
|
62 | - return $htmlPurifier->filter($value); |
|
61 | + $htmlPurifier = $this->getHtmlPurifier(); |
|
62 | + return $htmlPurifier->filter($value); |
|
63 | 63 | } |
64 | 64 | } |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Core forms */ |
11 | 11 | namespace Core\Form; |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | } |
289 | 289 | $formName .= $form['name']; |
290 | 290 | $formInstance->setName($formName) |
291 | - ->setAttribute('action', '?form=' . $formName); |
|
291 | + ->setAttribute('action', '?form=' . $formName); |
|
292 | 292 | |
293 | 293 | //$testKey = $this->getActionFor($form['type']); |
294 | 294 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Core\Form\Element; |
@@ -159,8 +159,8 @@ discard block |
||
159 | 159 | if ($mimetypes) { |
160 | 160 | $mimeTypeValidator = new MimeType(); |
161 | 161 | $mimeTypeValidator->setMagicFile(false) |
162 | - ->disableMagicFile(true) |
|
163 | - ->setMimeType($this->getAllowedTypes()); |
|
162 | + ->disableMagicFile(true) |
|
163 | + ->setMimeType($this->getAllowedTypes()); |
|
164 | 164 | |
165 | 165 | $validators[] = $mimeTypeValidator; |
166 | 166 | } |
@@ -14,10 +14,10 @@ |
||
14 | 14 | protected $validator; |
15 | 15 | |
16 | 16 | /** |
17 | - * Get a validator if none has been set. |
|
18 | - * https://github.com/posabsolute/jQuery-Validation-Engine/issues/265 |
|
19 | - * @return ValidatorInterface |
|
20 | - */ |
|
17 | + * Get a validator if none has been set. |
|
18 | + * https://github.com/posabsolute/jQuery-Validation-Engine/issues/265 |
|
19 | + * @return ValidatorInterface |
|
20 | + */ |
|
21 | 21 | public function getValidator() |
22 | 22 | { |
23 | 23 | if (null === $this->validator) { |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Core forms view helpers */ |
11 | 11 | namespace Core\Form\View\Helper; |
@@ -71,12 +71,12 @@ discard block |
||
71 | 71 | $basepath = $renderer->plugin('basepath'); |
72 | 72 | |
73 | 73 | $headscript->appendFile($basepath('Core/js/core.spinnerbutton.js')) |
74 | - ->appendFile($basepath('js/select2.min.js')) |
|
75 | - ->appendFile($basepath('Core/js/core.forms.js')); |
|
74 | + ->appendFile($basepath('js/select2.min.js')) |
|
75 | + ->appendFile($basepath('Core/js/core.forms.js')); |
|
76 | 76 | |
77 | 77 | /* @noinspection PhpParamsInspection */ |
78 | 78 | $renderer->headLink()->appendStylesheet($basepath('css/select2.css')) |
79 | - ->appendStylesheet($basepath('css/select2-bootstrap.css')); |
|
79 | + ->appendStylesheet($basepath('css/select2-bootstrap.css')); |
|
80 | 80 | |
81 | 81 | if ($scripts = $form->getOption('headscript')) { |
82 | 82 | if (!is_array($scripts)) { |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - |
|
4 | - */ |
|
3 | + */ |
|
5 | 4 | |
6 | 5 | namespace Core\Form\View\Helper; |
7 | 6 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Core\Form\View\Helper; |
@@ -50,10 +50,10 @@ discard block |
||
50 | 50 | $renderer = $this->getView(); |
51 | 51 | $basepath = $renderer->plugin('basepath'); |
52 | 52 | $renderer->headscript() |
53 | - ->appendFile($basepath('js/jquery-file-upload/vendor/jquery.ui.widget.js')) |
|
54 | - ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js')) |
|
55 | - ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js')) |
|
56 | - ->appendFile($basepath($this->scriptFile)); |
|
53 | + ->appendFile($basepath('js/jquery-file-upload/vendor/jquery.ui.widget.js')) |
|
54 | + ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js')) |
|
55 | + ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js')) |
|
56 | + ->appendFile($basepath($this->scriptFile)); |
|
57 | 57 | |
58 | 58 | $markup = $this->renderMarkup($element); |
59 | 59 | // $fileInput = parent::render($element); |
@@ -126,11 +126,11 @@ discard block |
||
126 | 126 | |
127 | 127 | return str_replace( |
128 | 128 | array('#abort', |
129 | - '__file-uri__', |
|
130 | - '__file-name__', |
|
131 | - '__file-size__', |
|
132 | - 'fu-working', |
|
133 | - 'fa-file-o' |
|
129 | + '__file-uri__', |
|
130 | + '__file-name__', |
|
131 | + '__file-size__', |
|
132 | + 'fu-working', |
|
133 | + 'fa-file-o' |
|
134 | 134 | ), |
135 | 135 | array("$uri?do=delete", $uri, $name, $size, '', $icon), |
136 | 136 | $template |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>' |
159 | 159 | . $notice . '</div>'; |
160 | 160 | $emptynotice = '<div class="fu-empty-notice"' |
161 | - . ('' == trim($preview) ? '' : ' style="display: none;"') . '> |
|
161 | + . ('' == trim($preview) ? '' : ' style="display: none;"') . '> |
|
162 | 162 | <div class="pull-left"> |
163 | 163 | <span class="yk-icon fa-files-o fa-5x"></span> |
164 | 164 | </div>' . $notice . ' |