@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @package org.openpsa.documents |
| 13 | 13 | */ |
| 14 | 14 | class org_openpsa_documents_handler_document_admin extends midcom_baseclasses_components_handler |
| 15 | - implements midcom_helper_datamanager2_interfaces_create |
|
| 15 | + implements midcom_helper_datamanager2_interfaces_create |
|
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * The document we're working with (if any). |
@@ -102,12 +102,12 @@ |
||
| 102 | 102 | if (null !== $guid) { |
| 103 | 103 | //pass the urls & titles for the tabs |
| 104 | 104 | $tabdata[] = array( |
| 105 | - 'url' => '__mfa/org.openpsa.relatedto/journalentry/' . $guid . '/', |
|
| 106 | - 'title' => midcom::get()->i18n->get_string('journal entries', 'org.openpsa.relatedto'), |
|
| 105 | + 'url' => '__mfa/org.openpsa.relatedto/journalentry/' . $guid . '/', |
|
| 106 | + 'title' => midcom::get()->i18n->get_string('journal entries', 'org.openpsa.relatedto'), |
|
| 107 | 107 | ); |
| 108 | 108 | $tabdata[] = array( |
| 109 | - 'url' => '__mfa/org.openpsa.relatedto/render/' . $guid . '/both/', |
|
| 110 | - 'title' => midcom::get()->i18n->get_string('related objects', 'org.openpsa.relatedto'), |
|
| 109 | + 'url' => '__mfa/org.openpsa.relatedto/render/' . $guid . '/both/', |
|
| 110 | + 'title' => midcom::get()->i18n->get_string('related objects', 'org.openpsa.relatedto'), |
|
| 111 | 111 | ); |
| 112 | 112 | } |
| 113 | 113 | |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $select_attributes['class'] .= ' selectcomponent'; |
| 46 | 46 | |
| 47 | 47 | $select_element = $this->_form->createElement('select', $this->name, $this->_translate($this->_field['title']), |
| 48 | - array(), $select_attributes); |
|
| 48 | + array(), $select_attributes); |
|
| 49 | 49 | |
| 50 | 50 | // Translate and add |
| 51 | 51 | foreach ($this->_all_elements as $key => $value) { |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | $this->add('Setting: upload_max_filesize', self::OK, ini_get('upload_max_filesize')); |
| 105 | 105 | } else { |
| 106 | 106 | $this->add('Setting: upload_max_filesize', |
| 107 | - self::WARNING, "To make bulk uploads (for exampe in the Image Gallery) useful, you should increase the Upload limit to something above 50 MB. (Current setting: {$upload_limit})"); |
|
| 107 | + self::WARNING, "To make bulk uploads (for exampe in the Image Gallery) useful, you should increase the Upload limit to something above 50 MB. (Current setting: {$upload_limit})"); |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | $post_limit = $this->ini_get_filesize('post_max_size'); |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | 'midcom' => array( |
| 95 | 95 | 'style-init' => '', |
| 96 | 96 | 'style-finish' => '', |
| 97 | - ) |
|
| 97 | + ) |
|
| 98 | 98 | ), |
| 99 | 99 | 'nodes' => array(), |
| 100 | 100 | ); |
@@ -306,7 +306,7 @@ |
||
| 306 | 306 | * See http://trac.midgard-project.org/ticket/1442 |
| 307 | 307 | $topic->set_parameter($this->_request_data['name'], var_export($value, true)); |
| 308 | 308 | */ |
| 309 | - continue; |
|
| 309 | + continue; |
|
| 310 | 310 | } |
| 311 | 311 | $topic->set_parameter($this->_request_data['name'], $key, $value); |
| 312 | 312 | } |
@@ -65,8 +65,8 @@ |
||
| 65 | 65 | private function prepare_field(array $config) |
| 66 | 66 | { |
| 67 | 67 | if ( empty($config['storage']['location']) |
| 68 | - // This line is needed because a parameter default is set by the schema parser and then ignored |
|
| 69 | - // by the type. The things we do for backwards compatibility... |
|
| 68 | + // This line is needed because a parameter default is set by the schema parser and then ignored |
|
| 69 | + // by the type. The things we do for backwards compatibility... |
|
| 70 | 70 | || $config['storage']['location'] === 'parameter') { |
| 71 | 71 | if (class_exists('midcom\datamanager\storage\\' . $config['type'])) { |
| 72 | 72 | $classname = 'midcom\datamanager\storage\\' . $config['type']; |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | public static function get_by_object(org_openpsa_invoices_interfaces_customer $object) |
| 42 | 42 | { |
| 43 | 43 | if ( !($bd = self::get_billing_data('org_openpsa_contacts_group_dba', $object->customer)) |
| 44 | - // check if the customerContact is set and has invoice_data |
|
| 44 | + // check if the customerContact is set and has invoice_data |
|
| 45 | 45 | && !($bd = self::get_billing_data('org_openpsa_contacts_person_dba', $object->customerContact))) { |
| 46 | 46 | $bd = new org_openpsa_invoices_billing_data_dba(); |
| 47 | 47 | $due = midcom_baseclasses_components_configuration::get('org.openpsa.invoices', 'config')->get('default_due_days'); |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * Converts the selected options according to the multiple_storagemode setting. |
| 88 | 88 | * |
| 89 | 89 | * @return mixed The data converted to the final data storage. |
| 90 | - */ |
|
| 90 | + */ |
|
| 91 | 91 | function convert_multiple_to_storage() |
| 92 | 92 | { |
| 93 | 93 | switch ($this->config['type_config']['multiple_storagemode']) { |