@@ -52,7 +52,6 @@ discard block |
||
| 52 | 52 | * @method warning() |
| 53 | 53 | * @method success() |
| 54 | 54 | * @method danger() |
| 55 | - |
|
| 56 | 55 | * |
| 57 | 56 | *@author Mathias Gelhausen <[email protected]> |
| 58 | 57 | */ |
@@ -149,7 +148,7 @@ discard block |
||
| 149 | 148 | ) { |
| 150 | 149 | $class .= ' alert-dismissable'; |
| 151 | 150 | $content = '<button type="button" class="close" data-dismiss="alert">×</button>' |
| 152 | - . '<span class="notification-content">' . $content . '</span>'; |
|
| 151 | + . '<span class="notification-content">' . $content . '</span>'; |
|
| 153 | 152 | } |
| 154 | 153 | |
| 155 | 154 | $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':''; |
@@ -52,10 +52,10 @@ discard block |
||
| 52 | 52 | |
| 53 | 53 | if ($element instanceof ViewPartialProviderInterface && !$ignoreViewPartial) { |
| 54 | 54 | return $this->getView()->partial($element->getViewPartial(), |
| 55 | - array( |
|
| 56 | - 'element' => $element, |
|
| 57 | - 'labelWitdh' => $labelWidth, |
|
| 58 | - 'label_attributes' => $labelAttributes |
|
| 55 | + array( |
|
| 56 | + 'element' => $element, |
|
| 57 | + 'labelWitdh' => $labelWidth, |
|
| 58 | + 'label_attributes' => $labelAttributes |
|
| 59 | 59 | ) |
| 60 | 60 | ); |
| 61 | 61 | } |
@@ -107,10 +107,10 @@ discard block |
||
| 107 | 107 | $desc = $element->getOption('description', false); |
| 108 | 108 | if ($desc && $this->layout != Form::LAYOUT_BARE) { |
| 109 | 109 | if (null !== ($translator = $this->getTranslator())) { |
| 110 | - $desc = $translator->translate( |
|
| 111 | - $desc, |
|
| 112 | - $this->getTranslatorTextDomain() |
|
| 113 | - ); |
|
| 110 | + $desc = $translator->translate( |
|
| 111 | + $desc, |
|
| 112 | + $this->getTranslatorTextDomain() |
|
| 113 | + ); |
|
| 114 | 114 | } |
| 115 | 115 | $elementString .= sprintf( |
| 116 | 116 | '<div id="%s-desc" class="cam-description alert alert-info">%s</div>', |
@@ -48,8 +48,8 @@ |
||
| 48 | 48 | } |
| 49 | 49 | $linktext = $translator->translate($linktext); |
| 50 | 50 | $link = '<a data-toggle="modal" href="' . $href . '" ' |
| 51 | - . 'data-target="#modal-' . $element->getAttribute('id') . '">' |
|
| 52 | - . $linktext . '</a>'; |
|
| 51 | + . 'data-target="#modal-' . $element->getAttribute('id') . '">' |
|
| 52 | + . $linktext . '</a>'; |
|
| 53 | 53 | |
| 54 | 54 | $label = sprintf($label, $link); |
| 55 | 55 | } |
@@ -134,8 +134,8 @@ |
||
| 134 | 134 | $elementOptions = $element->getOptions(); |
| 135 | 135 | if (array_key_exists('placeholder', $elementOptions) && !empty($elementOptions['placeholder'])) { |
| 136 | 136 | $placeHolder = '<div id="placeholder-' . $name . '" style="border: 0 none; position: relative; top: 0ex; left: 10px; color: #aaa; height: 0px; overflow: visible;' . |
| 137 | - (empty($content)?'':'display:none;') . |
|
| 138 | - '">' . $this->translator->translate($elementOptions['placeholder']) . '</div>'; |
|
| 137 | + (empty($content)?'':'display:none;') . |
|
| 138 | + '">' . $this->translator->translate($elementOptions['placeholder']) . '</div>'; |
|
| 139 | 139 | } |
| 140 | 140 | return |
| 141 | 141 | $placeHolder |
@@ -83,8 +83,8 @@ |
||
| 83 | 83 | if ($element instanceof ViewPartialProviderInterface) { |
| 84 | 84 | $parameterPartial = array_merge(array('element' => $element, 'layout' => $layout), $parameterPartial); |
| 85 | 85 | $content .= $this->getView()->partial( |
| 86 | - $element->getViewPartial(), |
|
| 87 | - $parameterPartial |
|
| 86 | + $element->getViewPartial(), |
|
| 87 | + $parameterPartial |
|
| 88 | 88 | ); |
| 89 | 89 | |
| 90 | 90 | } elseif ($element instanceof ViewHelperProviderInterface) { |
@@ -45,6 +45,6 @@ |
||
| 45 | 45 | */ |
| 46 | 46 | public function getViewPartial() |
| 47 | 47 | { |
| 48 | - return $this->partial; |
|
| 48 | + return $this->partial; |
|
| 49 | 49 | } |
| 50 | 50 | } |
@@ -158,8 +158,8 @@ |
||
| 158 | 158 | if ($mimetypes) { |
| 159 | 159 | $mimeTypeValidator = new MimeType(); |
| 160 | 160 | $mimeTypeValidator->setMagicFile(false) |
| 161 | - ->disableMagicFile(true) |
|
| 162 | - ->setMimeType($this->getAllowedTypes()); |
|
| 161 | + ->disableMagicFile(true) |
|
| 162 | + ->setMimeType($this->getAllowedTypes()); |
|
| 163 | 163 | |
| 164 | 164 | $validators[] = $mimeTypeValidator; |
| 165 | 165 | } |
@@ -93,8 +93,8 @@ |
||
| 93 | 93 | // Create a file with the class/file map. |
| 94 | 94 | // Stupid syntax highlighters make separating < from PHP declaration necessary |
| 95 | 95 | $content = '<' . "?php\n" |
| 96 | - . "\n" |
|
| 97 | - . 'return ' . var_export($config, true) . ';'; |
|
| 96 | + . "\n" |
|
| 97 | + . 'return ' . var_export($config, true) . ';'; |
|
| 98 | 98 | |
| 99 | 99 | // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op |
| 100 | 100 | $content = str_replace("\\'", "'", $content); |
@@ -25,8 +25,8 @@ discard block |
||
| 25 | 25 | public function init() |
| 26 | 26 | { |
| 27 | 27 | $this->setIsDisableCapable(false) |
| 28 | - ->setIsDisableElementsCapable(false) |
|
| 29 | - ->setAttribute('data-submit-on', 'checkbox'); |
|
| 28 | + ->setIsDisableElementsCapable(false) |
|
| 29 | + ->setAttribute('data-submit-on', 'checkbox'); |
|
| 30 | 30 | |
| 31 | 31 | $this->add( |
| 32 | 32 | array( |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | 'route' => 'lang/content', |
| 55 | 55 | 'params' => array( |
| 56 | 56 | 'view' => 'applications-privacy-policy' |
| 57 | - ) |
|
| 57 | + ) |
|
| 58 | 58 | ), |
| 59 | 59 | 'attributes' => array( |
| 60 | 60 | 'data-validate' => 'acceptedPrivacyPolicy', |