@@ -49,7 +49,7 @@ |
||
| 49 | 49 | <textarea id="working_description" name="description" rows="3" cols="40">&(workingon.description);</textarea> |
| 50 | 50 | <div id="working_invoiceable_div" > |
| 51 | 51 | <label for="working_invoiceable"> |
| 52 | - <input type="checkbox" name="working_invoiceable" <?php echo $checked;?> id="working_invoiceable"/><?php echo $data['l10n']->get('invoiceable'); ?> |
|
| 52 | + <input type="checkbox" name="working_invoiceable" <?php echo $checked; ?> id="working_invoiceable"/><?php echo $data['l10n']->get('invoiceable'); ?> |
|
| 53 | 53 | </label> |
| 54 | 54 | </div> |
| 55 | 55 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | $target_person_label = midcom::get()->i18n->get_string('system', 'org.openpsa.projects'); |
| 5 | 5 | |
| 6 | 6 | $fallback_creator = midcom_db_person::get_cached(1); |
| 7 | -if ( $task_status->metadata->creator |
|
| 7 | +if ($task_status->metadata->creator |
|
| 8 | 8 | && $task_status->metadata->creator != $fallback_creator->guid) { |
| 9 | 9 | $status_changer = org_openpsa_widgets_contact::get($task_status->metadata->creator); |
| 10 | 10 | $status_changer_label = $status_changer->show_inline(); |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | echo "<form action=\"{$data['expenses_url']}\" method='post'><div>"; |
| 46 | 46 | $current_user = midcom::get()->auth->user->get_storage(); |
| 47 | 47 | echo "<input type=\"hidden\" name=\"person[]\" value=\"{$current_user->id}\" />"; |
| 48 | - echo "<input type=\"submit\" value=\"".sprintf($data['l10n']->get('see all %s hours'), round($total_hours, 2))."\" />"; |
|
| 48 | + echo "<input type=\"submit\" value=\"" . sprintf($data['l10n']->get('see all %s hours'), round($total_hours, 2)) . "\" />"; |
|
| 49 | 49 | echo "</div></form>"; |
| 50 | 50 | } else { |
| 51 | 51 | echo "<p><a href=\"{$data['expenses_url']}\">" . midcom::get()->i18n->get_string('report hours', 'org.openpsa.expenses') . "</a></p>\n"; |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | echo "\n<li class=\"separator\"></li>"; |
| 15 | 15 | echo "\n<li class=\"page splitter\">...</li>"; |
| 16 | 16 | } |
| 17 | - if ( $i > 0 |
|
| 17 | + if ($i > 0 |
|
| 18 | 18 | && $i < $total_links) { |
| 19 | 19 | echo "\n<li class=\"separator\"></li>"; |
| 20 | 20 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | <?php |
| 55 | 55 | //index is needed for sorting |
| 56 | 56 | echo "'index_name',"; |
| 57 | - echo "'" . $data['l10n']->get('entry title') ."',"; |
|
| 57 | + echo "'" . $data['l10n']->get('entry title') . "',"; |
|
| 58 | 58 | echo "'" . $data['l10n']->get('entry text') . "',"; |
| 59 | 59 | echo "'" . $data['l10n']->get('entry created') . "',"; |
| 60 | 60 | echo "'index_creator', '" . $data['l10n_midcom']->get('creator') . "',"; |
@@ -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 | ?> |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | <dl class="midgard_admin_asgard_rcs_diff"> |
| 12 | 12 | <?php |
| 13 | 13 | foreach ($preview as $attribute => $value) { |
| 14 | - if ( $value == '' |
|
| 14 | + if ($value == '' |
|
| 15 | 15 | || $value == '0000-00-00' |
| 16 | 16 | || !midcom_services_rcs::is_field_showable($attribute) |
| 17 | 17 | || is_array($value)) { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $workflow = new midcom\workflow\delete(['object' => $file, 'label' => $file->name]); |
| 22 | 22 | $revisor = midcom::get()->auth->get_user($file->metadata->revisor); |
| 23 | 23 | $class = ''; |
| 24 | - if ( isset($data['file']) |
|
| 24 | + if (isset($data['file']) |
|
| 25 | 25 | && $file->name == $data['file']->name) { |
| 26 | 26 | $class = ' class="selected"'; |
| 27 | 27 | } |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | -if ( !is_numeric($n) |
|
| 45 | +if (!is_numeric($n) |
|
| 46 | 46 | || $n <= 0 |
| 47 | 47 | || !is_numeric($length) |
| 48 | 48 | || $length <= 0) { |