|
@@ 433-440 (lines=8) @@
|
| 430 |
|
$context['actions'][$actual_filename]['description'] = $context['actions'][$actual_filename]['failed'] ? $txt['package_action_failure'] : $txt['package_action_success']; |
| 431 |
|
} |
| 432 |
|
} |
| 433 |
|
elseif ($mod_action['type'] == 'skipping') |
| 434 |
|
{ |
| 435 |
|
$context['actions'][$actual_filename] = array( |
| 436 |
|
'type' => $txt['execute_modification'], |
| 437 |
|
'action' => $smcFunc['htmlspecialchars'](strtr($mod_action['filename'], array($boarddir => '.'))), |
| 438 |
|
'description' => $txt['package_action_skipping'] |
| 439 |
|
); |
| 440 |
|
} |
| 441 |
|
elseif ($mod_action['type'] == 'missing' && empty($mod_action['is_custom'])) |
| 442 |
|
{ |
| 443 |
|
$context['has_failure'] = true; |
|
@@ 451-457 (lines=7) @@
|
| 448 |
|
'failed' => true, |
| 449 |
|
); |
| 450 |
|
} |
| 451 |
|
elseif ($mod_action['type'] == 'error') |
| 452 |
|
$context['actions'][$actual_filename] = array( |
| 453 |
|
'type' => $txt['execute_modification'], |
| 454 |
|
'action' => $smcFunc['htmlspecialchars'](strtr($mod_action['filename'], array($boarddir => '.'))), |
| 455 |
|
'description' => $txt['package_action_error'], |
| 456 |
|
'failed' => true, |
| 457 |
|
); |
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
// We need to loop again just to get the operations down correctly. |