@@ -21,7 +21,7 @@ |
||
| 21 | 21 | <div id="content" class="no-header"> |
| 22 | 22 | <div class="midcom-view-toolbar"> |
| 23 | 23 | <?php |
| 24 | - midcom::get()->toolbars->show_view_toolbar(); |
|
| 24 | + midcom::get()->toolbars->show_view_toolbar(); |
|
| 25 | 25 | ?> |
| 26 | 26 | </div> |
| 27 | 27 | <(content)> |
@@ -58,18 +58,18 @@ |
||
| 58 | 58 | </noscript> |
| 59 | 59 | |
| 60 | 60 | <?php |
| 61 | - if ($login_warning) |
|
| 62 | - { |
|
| 63 | - echo '<p class="login_warning">' . $login_warning . "</p>\n"; |
|
| 64 | - } ?> |
|
| 61 | + if ($login_warning) |
|
| 62 | + { |
|
| 63 | + echo '<p class="login_warning">' . $login_warning . "</p>\n"; |
|
| 64 | + } ?> |
|
| 65 | 65 | </div> |
| 66 | 66 | <script type="text/javascript"> |
| 67 | 67 | document.getElementById('username').focus(); |
| 68 | 68 | </script> |
| 69 | 69 | <div class="org_openpsa_softwareinfo"> |
| 70 | 70 | <a href="http://www.openpsa.org/">OpenPSA <?php |
| 71 | - echo org_openpsa_core_version::get_version_both(); |
|
| 72 | - ?></a>, |
|
| 71 | + echo org_openpsa_core_version::get_version_both(); |
|
| 72 | + ?></a>, |
|
| 73 | 73 | <a href="http://www.midgard-project.org/">Midgard <?php echo mgd_version(); ?></a> |
| 74 | 74 | </div> |
| 75 | 75 | </div> |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | new type\radiocheckselect, |
| 29 | 29 | new type\subform, |
| 30 | 30 | new type\select, |
| 31 | - new type\tinymce, |
|
| 31 | + new type\tinymce, |
|
| 32 | 32 | new type\toolbar, |
| 33 | 33 | ); |
| 34 | 34 | } |
@@ -48,10 +48,10 @@ |
||
| 48 | 48 | |
| 49 | 49 | public function process() |
| 50 | 50 | { |
| 51 | - if (!$this->form->isSubmitted()) |
|
| 52 | - { |
|
| 53 | - $this->form->handleRequest(); |
|
| 54 | - } |
|
| 51 | + if (!$this->form->isSubmitted()) |
|
| 52 | + { |
|
| 53 | + $this->form->handleRequest(); |
|
| 54 | + } |
|
| 55 | 55 | // we add the stylesheet regardless of processing result, since save does not automatically mean relocate... |
| 56 | 56 | midcom::get()->head->add_stylesheet(MIDCOM_STATIC_URL . "/midcom.datamanager/default.css"); |
| 57 | 57 | |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | |
| 8 | 8 | if (count($history) == 0) |
| 9 | 9 | { |
| 10 | - echo $data['l10n']->get('no revisions exist'); |
|
| 10 | + echo $data['l10n']->get('no revisions exist'); |
|
| 11 | 11 | } |
| 12 | 12 | else |
| 13 | 13 | { |
@@ -281,10 +281,10 @@ |
||
| 281 | 281 | break; |
| 282 | 282 | case 'delete': |
| 283 | 283 | if (empty($_POST['guids'])) |
| 284 | - { |
|
| 285 | - throw new midcom_error('Invalid request'); |
|
| 286 | - } |
|
| 287 | - break; |
|
| 284 | + { |
|
| 285 | + throw new midcom_error('Invalid request'); |
|
| 286 | + } |
|
| 287 | + break; |
|
| 288 | 288 | default: |
| 289 | 289 | throw new midcom_error('Invalid request'); |
| 290 | 290 | } |
@@ -243,13 +243,13 @@ |
||
| 243 | 243 | datatype: "local", |
| 244 | 244 | data: &(grid_id);_entries, |
| 245 | 245 | colNames: ['id', <?php |
| 246 | - echo '"index_date", "' . midcom::get()->i18n->get_string('date', 'org.openpsa.projects') . '",'; |
|
| 246 | + echo '"index_date", "' . midcom::get()->i18n->get_string('date', 'org.openpsa.projects') . '",'; |
|
| 247 | 247 | |
| 248 | - echo '"index_reporter", "' . midcom::get()->i18n->get_string('reporter', 'org.openpsa.projects') . '",'; |
|
| 249 | - echo '"' . midcom::get()->i18n->get_string('hours', 'org.openpsa.projects') . '",'; |
|
| 250 | - echo '"' . midcom::get()->i18n->get_string('description', 'org.openpsa.projects') . '",'; |
|
| 251 | - echo '"' . midcom::get()->i18n->get_string('approved', 'org.openpsa.projects') . '",'; |
|
| 252 | - echo '"' . midcom::get()->i18n->get_string('task', 'org.openpsa.projects') . '"'; |
|
| 248 | + echo '"index_reporter", "' . midcom::get()->i18n->get_string('reporter', 'org.openpsa.projects') . '",'; |
|
| 249 | + echo '"' . midcom::get()->i18n->get_string('hours', 'org.openpsa.projects') . '",'; |
|
| 250 | + echo '"' . midcom::get()->i18n->get_string('description', 'org.openpsa.projects') . '",'; |
|
| 251 | + echo '"' . midcom::get()->i18n->get_string('approved', 'org.openpsa.projects') . '",'; |
|
| 252 | + echo '"' . midcom::get()->i18n->get_string('task', 'org.openpsa.projects') . '"'; |
|
| 253 | 253 | ?>], |
| 254 | 254 | colModel:[ |
| 255 | 255 | {name:'id', index:'id', hidden:true, key:true}, |
@@ -438,7 +438,7 @@ |
||
| 438 | 438 | || !isset($_POST['price']) |
| 439 | 439 | || !isset($_POST['quantity'])) |
| 440 | 440 | { |
| 441 | - throw new midcom_error('Incomplete POST data'); |
|
| 441 | + throw new midcom_error('Incomplete POST data'); |
|
| 442 | 442 | } |
| 443 | 443 | } |
| 444 | 444 | |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | $customer = $customer_id; |
| 108 | 108 | } |
| 109 | 109 | catch (midcom_error $e){} |
| 110 | - } |
|
| 110 | + } |
|
| 111 | 111 | } |
| 112 | 112 | $customer_cache[$array['task']] = $customer; |
| 113 | 113 | if (!isset($this->_request_data['customers'][$customer])) |