|
1 | 1 | </div> |
2 | | - <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['POLICY_SYSTEM_HIDE_SERVICES'] !== 'yes')) {?> |
3 | | - <? if ($_SESSION['UPDATE_AVAILABLE'] === 'yes') { ?> |
| 2 | + <?php if (($_SESSION['userContext'] === 'admin') && ($_SESSION['POLICY_SYSTEM_HIDE_SERVICES'] !== 'yes')) {?> |
| 3 | + <?php if ($_SESSION['UPDATE_AVAILABLE'] === 'yes') { ?> |
4 | 4 | <div class="footer-banner updates" id="banner"> |
5 | 5 | <div> |
6 | 6 | <b>New updates are available!</b> To upgrade your server now, run <span style="font-family:'Courier New', Courier, monospace">apt update && apt upgrade</span> from a shell session. |
7 | 7 | </div> |
8 | 8 | <div style="margin-top: 4px;"></div><a href="javascript:elementHideShow('banner');">Hide</a></div> |
9 | 9 | </div> |
10 | | - <?}?> |
11 | | - <?}?> |
12 | | - <div title="<?=_('Confirmation')?>" class="confirmation-text-redirect hidden"> |
13 | | - <p class="confirmation"><?=_('LEAVE_PAGE_CONFIRMATION')?></p> |
| 10 | + <?php } ?> |
| 11 | + <?php } ?> |
| 12 | + <div title="<?=_('Confirmation');?>" class="confirmation-text-redirect hidden"> |
| 13 | + <p class="confirmation"><?=_('LEAVE_PAGE_CONFIRMATION');?></p> |
14 | 14 | </div> |
15 | 15 |
|
16 | 16 | <div class="shortcuts animated fadeIn" style="display:none"> |
17 | 17 | <div class="header"> |
18 | | - <div class="title"><?=_('Shortcuts')?></div> |
| 18 | + <div class="title"><?=_('Shortcuts');?></div> |
19 | 19 | <div class="close text-center"> |
20 | 20 | <i class="fas fa-times"></i> |
21 | 21 | </div> |
22 | 22 |
|
23 | 23 | </div> |
24 | 24 | <ul> |
25 | | - <li><span class="key">a</span><?=_('Add New object')?></li> |
26 | | - <li><span class="key">Ctrl + Enter</span><?=_('Save Form')?></li> |
27 | | - <li><span class="key">Ctrl + Backspace</span><?=_('Cancel saving form')?></li> |
| 25 | + <li><span class="key">a</span><?=_('Add New object');?></li> |
| 26 | + <li><span class="key">Ctrl + Enter</span><?=_('Save Form');?></li> |
| 27 | + <li><span class="key">Ctrl + Backspace</span><?=_('Cancel saving form');?></li> |
28 | 28 |
|
29 | | - <li class="step-top"><span class="key">1</span><?=_('Go to WEB list')?></li> |
30 | | - <li><span class="key">2</span><?=_('Go to DNS list')?></li> |
31 | | - <li><span class="key">3</span><?=_('Go to MAIL list')?></li> |
32 | | - <li><span class="key">4</span><?=_('Go to DB list')?></li> |
33 | | - <li><span class="key">5</span><?=_('Go to CRON list')?></li> |
34 | | - <li><span class="key">6</span><?=_('Go to BACKUP list')?></li> |
| 29 | + <li class="step-top"><span class="key">1</span><?=_('Go to WEB list');?></li> |
| 30 | + <li><span class="key">2</span><?=_('Go to DNS list');?></li> |
| 31 | + <li><span class="key">3</span><?=_('Go to MAIL list');?></li> |
| 32 | + <li><span class="key">4</span><?=_('Go to DB list');?></li> |
| 33 | + <li><span class="key">5</span><?=_('Go to CRON list');?></li> |
| 34 | + <li><span class="key">6</span><?=_('Go to BACKUP list');?></li> |
35 | 35 | </ul> |
36 | 36 | <ul> |
37 | | - <li><span class="key">f</span><?=_('Focus on search')?></li> |
38 | | - <li class="step-top"><span class="key">h</span><?=_('Display/Close shortcuts')?></li> |
| 37 | + <li><span class="key">f</span><?=_('Focus on search');?></li> |
| 38 | + <li class="step-top"><span class="key">h</span><?=_('Display/Close shortcuts');?></li> |
39 | 39 |
|
40 | | - <li class="step-top"><span class="key bigger">←</span><?=_('Move backward through top menu')?></li> |
41 | | - <li><span class="key bigger">→</span><?=_('Move forward through top menu')?></li> |
42 | | - <li><span class="key">Enter</span><?=_('Enter focused element')?></li> |
| 40 | + <li class="step-top"><span class="key bigger">←</span><?=_('Move backward through top menu');?></li> |
| 41 | + <li><span class="key bigger">→</span><?=_('Move forward through top menu');?></li> |
| 42 | + <li><span class="key">Enter</span><?=_('Enter focused element');?></li> |
43 | 43 |
|
44 | | - <li class="step-top"><span class="key bigger">↑</span><?=_('Move up through elements list')?></li> |
45 | | - <li><span class="key bigger">↓</span><?=_('Move down through elements list')?></li> |
| 44 | + <li class="step-top"><span class="key bigger">↑</span><?=_('Move up through elements list');?></li> |
| 45 | + <li><span class="key bigger">↓</span><?=_('Move down through elements list');?></li> |
46 | 46 | </ul> |
47 | 47 | </div> |
48 | 48 | </body> |
|
0 commit comments