@@ -103,12 +103,12 @@ discard block |
||
| 103 | 103 | </a> |
| 104 | 104 | <div class="fu-errors input-error"> |
| 105 | 105 | <ul class="errors"> |
| 106 | - <li class="fu-error-size">' . $translator->translate('The file is too big', $textDomain) . '</li> |
|
| 107 | - <li class="fu-error-type">' . $translator->translate('The file type is not supported', $textDomain) . '</li> |
|
| 106 | + <li class="fu-error-size">' . $translator->translate('The file is too big', $textDomain).'</li> |
|
| 107 | + <li class="fu-error-type">' . $translator->translate('The file type is not supported', $textDomain).'</li> |
|
| 108 | 108 | <li class="fu-error-count">' . sprintf( |
| 109 | 109 | $translator->translate('You may only upload %d files', $textDomain), |
| 110 | 110 | $element->getAttribute('data-maxfilecount') |
| 111 | -) . '</li><li class="fu-error-general">' . $translator->translate('An unknown error occured.') . '</li> |
|
| 111 | +).'</li><li class="fu-error-general">'.$translator->translate('An unknown error occured.').'</li> |
|
| 112 | 112 | </ul> |
| 113 | 113 | </div> |
| 114 | 114 | </li>'; |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | /* @var $basepath \Zend\View\Helper\BasePath */ |
| 117 | 117 | $renderer = $this->getView(); |
| 118 | 118 | $basepath = $renderer->plugin('basepath'); |
| 119 | - $createFileDisplay = function ($file) use ($template, $basepath) { |
|
| 119 | + $createFileDisplay = function($file) use ($template, $basepath) { |
|
| 120 | 120 | /* @var $file \Core\Entity\FileInterface */ |
| 121 | 121 | $uri = $basepath($file->getUri()); |
| 122 | 122 | $name = $file->getName(); |
@@ -153,15 +153,15 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | $notice = |
| 156 | - '<small>' . $translator->translate('Click here to add files or use drag and drop.') . '</small>'; |
|
| 156 | + '<small>'.$translator->translate('Click here to add files or use drag and drop.').'</small>'; |
|
| 157 | 157 | $nonemptynotice = |
| 158 | - '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>' |
|
| 159 | - . $notice . '</div>'; |
|
| 158 | + '<div class="fu-nonempty-notice"'.('' == trim($preview) ? ' style="display:none;"' : '').'>' |
|
| 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 | - </div>' . $notice . ' |
|
| 164 | + </div>' . $notice.' |
|
| 165 | 165 | </div>'; |
| 166 | 166 | |
| 167 | 167 | $markup = ' |