Completed
Pull Request — master (#194)
by
unknown
15:06
created
lib/net/nehmer/comments/style/admin-comments-item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     $view['author'],
17 17
     $formatter->datetime($created));
18 18
 
19
-if (   midcom::get()->auth->admin
20
-   || (   midcom::get()->auth->user
19
+if (midcom::get()->auth->admin
20
+   || (midcom::get()->auth->user
21 21
        && $comment->can_do('midgard:delete'))) {
22 22
     $creator = $comment->metadata->creator;
23 23
     $created = $comment->metadata->created;
Please login to merge, or discard this patch.
lib/net/nehmer/blog/style/index-empty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<p><?php $data['l10n']->show('no news found.');?></p>
2 1
\ No newline at end of file
2
+<p><?php $data['l10n']->show('no news found.'); ?></p>
3 3
\ No newline at end of file
Please login to merge, or discard this patch.
lib/org/openpsa/mypage/style/workingon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/org/openpsa/mypage/style/weekreview-day-item-task-status.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
lib/org/openpsa/mypage/style/workingon_expenses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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";
Please login to merge, or discard this patch.
lib/org/openpsa/qbpager/style/show_pages_as_list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
lib/org/openpsa/relatedto/style/show_entries_html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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') . "',";
Please login to merge, or discard this patch.
lib/org/openpsa/relatedto/style/relatedto_list_item_event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
     ?>
Please login to merge, or discard this patch.
lib/midgard/admin/asgard/style/midgard_admin_asgard_rcs_preview.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.