@@ -1,4 +1,4 @@ discard block  | 
                                                    ||
| 1 | -<tr class="&(data['class']);" id="task_<?php echo $data['task']->id;?>">  | 
                                                        |
| 1 | +<tr class="&(data['class']);" id="task_<?php echo $data['task']->id; ?>">  | 
                                                        |
| 2 | 2 | <td>  | 
                                                        
| 3 | 3 | <input type="checkbox"<?php echo $data['disabled']; ?> name="org_openpsa_invoices_invoice_tasks[<?php echo $data['task']->id; ?>]" checked="checked" value="1" />  | 
                                                        
| 4 | 4 | </td>  | 
                                                        
@@ -18,12 +18,12 @@ discard block  | 
                                                    ||
| 18 | 18 | <?php echo $data['reported_hours']; ?>  | 
                                                        
| 19 | 19 | </td>  | 
                                                        
| 20 | 20 | <td class="numeric">  | 
                                                        
| 21 | - <input id="units_<?php echo $data['task']->id;?>" class="units" type="text"<?php echo $data['disabled']; ?> size="6" name="org_openpsa_invoices_invoice_tasks_units[<?php echo $data['task']->id; ?>]" value="<?php echo $data['invoiceable_units']; ?>" />  | 
                                                        |
| 21 | + <input id="units_<?php echo $data['task']->id; ?>" class="units" type="text"<?php echo $data['disabled']; ?> size="6" name="org_openpsa_invoices_invoice_tasks_units[<?php echo $data['task']->id; ?>]" value="<?php echo $data['invoiceable_units']; ?>" />  | 
                                                        |
| 22 | 22 | </td>  | 
                                                        
| 23 | 23 | <td class="numeric">  | 
                                                        
| 24 | - <input id="price_per_unit_<?php echo $data['task']->id;?>" class="price_per_unit" type="text"<?php echo $data['disabled']; ?> size="6" name="org_openpsa_invoices_invoice_tasks_price[<?php echo $data['task']->id; ?>]" value="<?php echo $data['default_price']; ?>" />  | 
                                                        |
| 24 | + <input id="price_per_unit_<?php echo $data['task']->id; ?>" class="price_per_unit" type="text"<?php echo $data['disabled']; ?> size="6" name="org_openpsa_invoices_invoice_tasks_price[<?php echo $data['task']->id; ?>]" value="<?php echo $data['default_price']; ?>" />  | 
                                                        |
| 25 | 25 | </td>  | 
                                                        
| 26 | - <td id="row_sum_<?php echo $data['task']->id;?>" class="numeric">  | 
                                                        |
| 27 | - <?php echo $data['invoiceable_units'] * $data['default_price'];?>  | 
                                                        |
| 26 | + <td id="row_sum_<?php echo $data['task']->id; ?>" class="numeric">  | 
                                                        |
| 27 | + <?php echo $data['invoiceable_units'] * $data['default_price']; ?>  | 
                                                        |
| 28 | 28 | </td>  | 
                                                        
| 29 | 29 | </tr>  | 
                                                        
| 30 | 30 | \ No newline at end of file  | 
                                                        
@@ -1,11 +1,11 @@  | 
                                                    ||
| 1 | 1 | <div class="area org_openpsa_helper_box">  | 
                                                        
| 2 | -<h3><?php echo $data['l10n']->get('folders');?></h3> | 
                                                        |
| 2 | +<h3><?php echo $data['l10n']->get('folders'); ?></h3> | 
                                                        |
| 3 | 3 | <?php  | 
                                                        
| 4 | 4 |  midcom_show_style('show-search-form-simple'); | 
                                                        
| 5 | 5 | |
| 6 | 6 | $nap = new midcom_helper_nav();  | 
                                                        
| 7 | 7 | $current_node = $nap->get_node($nap->get_current_node());  | 
                                                        
| 8 | 8 | $url = $current_node[MIDCOM_NAV_RELATIVEURL];  | 
                                                        
| 9 | -midcom::get()->dynamic_load($url. "directory/navigation/");  | 
                                                        |
| 9 | +midcom::get()->dynamic_load($url . "directory/navigation/");  | 
                                                        |
| 10 | 10 | ?>  | 
                                                        
| 11 | 11 | </div>  | 
                                                        
| 12 | 12 | \ No newline at end of file  | 
                                                        
@@ -1,3 +1,3 @@  | 
                                                    ||
| 1 | 1 | |
| 2 | -<li class="folder" id="key_<?php echo $data["id"];?>">  | 
                                                        |
| 3 | - <a href="<?php echo $data["link_url"];?>"><?php echo $data["name"]; ?></a>  | 
                                                        |
| 4 | 2 | \ No newline at end of file  | 
                                                        
| 3 | +<li class="folder" id="key_<?php echo $data["id"]; ?>">  | 
                                                        |
| 4 | + <a href="<?php echo $data["link_url"]; ?>"><?php echo $data["name"]; ?></a>  | 
                                                        |
| 5 | 5 | \ No newline at end of file  | 
                                                        
@@ -35,7 +35,7 @@  | 
                                                    ||
| 35 | 35 | </div>  | 
                                                        
| 36 | 36 | |
| 37 | 37 | <?php  | 
                                                        
| 38 | - //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH  | 
                                                        |
| 39 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 40 | - ?>  | 
                                                        |
| 38 | + //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH  | 
                                                        |
| 39 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 40 | + ?>  | 
                                                        |
| 41 | 41 | </li>  | 
                                                        
@@ -10,7 +10,7 @@  | 
                                                    ||
| 10 | 10 | <ul class="metadata">  | 
                                                        
| 11 | 11 | <li class="time"><?php echo $data['l10n']->get_formatter()->date($page->metadata->created); ?></li>  | 
                                                        
| 12 | 12 | <li class="members"><?php  | 
                                                        
| 13 | -        echo midcom::get()->i18n->get_string('author', 'net.nemein.wiki') . ': ' ; | 
                                                        |
| 13 | +        echo midcom::get()->i18n->get_string('author', 'net.nemein.wiki') . ': '; | 
                                                        |
| 14 | 14 | echo $author_card->show_inline(); ?>  | 
                                                        
| 15 | 15 | </li>  | 
                                                        
| 16 | 16 | </ul>  | 
                                                        
@@ -1,7 +1,7 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | echo "<rows>";  | 
                                                        
| 3 | 3 | echo "<page>" . $data['page'] . "</page>";  | 
                                                        
| 4 | -echo "<total>" . count($data['entries']) ."</total>";  | 
                                                        |
| 4 | +echo "<total>" . count($data['entries']) . "</total>";  | 
                                                        |
| 5 | 5 | echo "<records>" . count($data['entries']) . "</records>";  | 
                                                        
| 6 | 6 | |
| 7 | 7 | //jqgrid need nodes in special form like following:  | 
                                                        
@@ -27,7 +27,7 @@  | 
                                                    ||
| 27 | 27 | <div id="org_openpsa_relatedto_details_&(salesproject.guid);" class="details hidden" style="display: none;">  | 
                                                        
| 28 | 28 | </div>  | 
                                                        
| 29 | 29 | <?php  | 
                                                        
| 30 | - //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH  | 
                                                        |
| 31 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 32 | - ?>  | 
                                                        |
| 30 | + //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH  | 
                                                        |
| 31 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 32 | + ?>  | 
                                                        |
| 33 | 33 | </li>  | 
                                                        
@@ -31,7 +31,7 @@  | 
                                                    ||
| 31 | 31 | <div id="org_openpsa_relatedto_details_&(document.guid);" class="details hidden" style="display: none;">  | 
                                                        
| 32 | 32 | </div>  | 
                                                        
| 33 | 33 | <?php  | 
                                                        
| 34 | - //TODO: get correct node and via it then handle details trough AHAH (and when we have node we can use proper link in document_url as well  | 
                                                        |
| 35 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 36 | - ?>  | 
                                                        |
| 34 | + //TODO: get correct node and via it then handle details trough AHAH (and when we have node we can use proper link in document_url as well  | 
                                                        |
| 35 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 36 | + ?>  | 
                                                        |
| 37 | 37 | </li>  | 
                                                        
@@ -25,6 +25,6 @@  | 
                                                    ||
| 25 | 25 | </div>  | 
                                                        
| 26 | 26 | <?php  | 
                                                        
| 27 | 27 | //TODO: necessary JS stuff to load details (which should in turn include the events own relatedtos) via AHAH  | 
                                                        
| 28 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 29 | - ?>  | 
                                                        |
| 28 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);  | 
                                                        |
| 29 | + ?>  | 
                                                        |
| 30 | 30 | </li>  | 
                                                        
@@ -13,7 +13,7 @@  | 
                                                    ||
| 13 | 13 |      echo "<li class=\"members\">" . midcom::get()->i18n->get_string('participants', 'org.openpsa.calendar') . ": "; | 
                                                        
| 14 | 14 |      foreach ($event->participants as $person_id => $confirmed) { | 
                                                        
| 15 | 15 | $participant_card = org_openpsa_widgets_contact::get($person_id);  | 
                                                        
| 16 | - echo $participant_card->show_inline()." ";  | 
                                                        |
| 16 | + echo $participant_card->show_inline() . " ";  | 
                                                        |
| 17 | 17 | }  | 
                                                        
| 18 | 18 | echo "</li>\n";  | 
                                                        
| 19 | 19 | ?>  |