|
@@ 215-220 (lines=6) @@
|
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
$html = '<strong>Patcher</strong>: <a href="'.ROOT_URL.'vendor/mouf/mouf/patcher/?name='.$instanceName.'" class="btn btn-large btn-success patch-run-all"><i class="icon-arrow-right icon-white"></i> Apply '; |
| 215 |
|
if ($nbAwaitingPatchs != 0) { |
| 216 |
|
$html .= $nbAwaitingPatchs." awaiting patch".(($nbAwaitingPatchs != 1)?"es":""); |
| 217 |
|
if ($nbPatchesInError != 0) { |
| 218 |
|
$html .=" and"; |
| 219 |
|
} |
| 220 |
|
} |
| 221 |
|
if ($nbPatchesInError != 0) { |
| 222 |
|
$html .=$nbPatchesInError." patch".(($nbPatchesInError != 1)?"es":"")." in error"; |
| 223 |
|
} |
|
@@ 221-223 (lines=3) @@
|
| 218 |
|
$html .=" and"; |
| 219 |
|
} |
| 220 |
|
} |
| 221 |
|
if ($nbPatchesInError != 0) { |
| 222 |
|
$html .=$nbPatchesInError." patch".(($nbPatchesInError != 1)?"es":"")." in error"; |
| 223 |
|
} |
| 224 |
|
$html .='</a>'; |
| 225 |
|
|
| 226 |
|
|