|
@@ 208-213 (lines=6) @@
|
| 205 |
|
} |
| 206 |
|
|
| 207 |
|
$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 '; |
| 208 |
|
if ($nbAwaitingPatchs != 0) { |
| 209 |
|
$html .= $nbAwaitingPatchs." awaiting patch".(($nbAwaitingPatchs != 1)?"es":""); |
| 210 |
|
if ($nbPatchesInError != 0) { |
| 211 |
|
$html .=" and"; |
| 212 |
|
} |
| 213 |
|
} |
| 214 |
|
if ($nbPatchesInError != 0) { |
| 215 |
|
$html .=$nbPatchesInError." patch".(($nbPatchesInError != 1)?"es":"")." in error"; |
| 216 |
|
} |
|
@@ 214-216 (lines=3) @@
|
| 211 |
|
$html .=" and"; |
| 212 |
|
} |
| 213 |
|
} |
| 214 |
|
if ($nbPatchesInError != 0) { |
| 215 |
|
$html .=$nbPatchesInError." patch".(($nbPatchesInError != 1)?"es":"")." in error"; |
| 216 |
|
} |
| 217 |
|
$html .='</a>'; |
| 218 |
|
|
| 219 |
|
|