| @@ 115-122 (lines=8) @@ | ||
| 112 | $this->t_confirm_folder = absences_translate("Apply the same choice on all recurring request periods"); |
|
| 113 | $this->t_createdby = absences_translate("Created by"); |
|
| 114 | ||
| 115 | if ($entry->createdby == $entry->id_user) |
|
| 116 | { |
|
| 117 | $this->createdby = false; |
|
| 118 | } else if ($entry->createdby) { |
|
| 119 | $this->createdby = bab_toHtml(bab_getUserName($entry->createdby)); |
|
| 120 | } else { |
|
| 121 | $this->createdby = false; |
|
| 122 | } |
|
| 123 | ||
| 124 | $this->confirm = absences_translate("Approve"); |
|
| 125 | ||
| @@ 215-222 (lines=8) @@ | ||
| 212 | break; |
|
| 213 | } |
|
| 214 | ||
| 215 | if ($entry->createdby == $entry->id_user) |
|
| 216 | { |
|
| 217 | $this->createdby = false; |
|
| 218 | } elseif($entry->createdby) { |
|
| 219 | $this->createdby = bab_toHtml(bab_getUserName($entry->createdby)); |
|
| 220 | } else { |
|
| 221 | $this->createdby = false; |
|
| 222 | } |
|
| 223 | ||
| 224 | $this->datebegin = bab_toHtml(absences_longDate(bab_mktime($entry->date_begin))); |
|
| 225 | $this->dateend = bab_toHtml(absences_longDate(bab_mktime($entry->date_end))); |
|