@@ -48,11 +48,20 @@ |
||
| 48 | 48 | <br /> |
| 49 | 49 | <?php p($l->t('Notify members of the following groups about available updates:')); ?> |
| 50 | 50 | <input name="oca_updatenotification_groups_list" type="hidden" id="oca_updatenotification_groups_list" value="<?php p($_['notify_groups']) ?>" style="width: 200px"> |
| 51 | - <em class="<?php if (!in_array($currentChannel, ['daily', 'git'])) p('hidden'); ?>"> |
|
| 51 | + <em class="<?php if (!in_array($currentChannel, ['daily', 'git'])) { |
|
| 52 | + p('hidden'); |
|
| 53 | +} |
|
| 54 | +?>"> |
|
| 52 | 55 | <br /> |
| 53 | 56 | <?php p($l->t('Only notification for app updates are available.')); ?> |
| 54 | - <?php if ($currentChannel === 'daily') p($l->t('The selected update channel makes dedicated notifications for the server obsolete.')); ?> |
|
| 55 | - <?php if ($currentChannel === 'git') p($l->t('The selected update channel does not support updates of the server.')); ?> |
|
| 57 | + <?php if ($currentChannel === 'daily') { |
|
| 58 | + p($l->t('The selected update channel makes dedicated notifications for the server obsolete.')); |
|
| 59 | +} |
|
| 60 | +?> |
|
| 61 | + <?php if ($currentChannel === 'git') { |
|
| 62 | + p($l->t('The selected update channel does not support updates of the server.')); |
|
| 63 | +} |
|
| 64 | +?> |
|
| 56 | 65 | </em> |
| 57 | 66 | </p> |
| 58 | 67 | </form> |