| @@ 106-116 (lines=11) @@ | ||
| 103 | } |
|
| 104 | } |
|
| 105 | ||
| 106 | if( $what == "modvt" ) |
|
| 107 | { |
|
| 108 | $this->bdel = true; |
|
| 109 | $this->del = absences_translate("Delete"); |
|
| 110 | $this->add = absences_translate("Modify"); |
|
| 111 | } |
|
| 112 | else |
|
| 113 | { |
|
| 114 | $this->bdel = false; |
|
| 115 | $this->add = absences_translate("Add"); |
|
| 116 | } |
|
| 117 | } |
|
| 118 | } |
|
| 119 | ||
| @@ 271-281 (lines=11) @@ | ||
| 268 | $this->vcid = $vcid; |
|
| 269 | $this->what = $what; |
|
| 270 | ||
| 271 | if( $what == "modvc") |
|
| 272 | { |
|
| 273 | $this->bdel = true; |
|
| 274 | $this->del = absences_translate("Delete"); |
|
| 275 | $this->add = absences_translate("Modify"); |
|
| 276 | } |
|
| 277 | else |
|
| 278 | { |
|
| 279 | $this->bdel = false; |
|
| 280 | $this->add = absences_translate("Add"); |
|
| 281 | } |
|
| 282 | ||
| 283 | if( $what == "modvc" && empty($tname)) |
|
| 284 | { |
|