File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2929 < i class ="fas fa-bell <?if($panel[$user]['NOTIFICATIONS'] == 'yes') echo " animated extended swing status-icon orange "; ?> "> </ i >
3030 </ a >
3131 </ div >
32- < div class ="l-menu__item <?php if($TAB == 'SERVER' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'UPDATES' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'IP' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'RRD' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'FIREWALL' ) echo 'l-menu__item--active' ?> "> < a href ="/list/server/ " class ="l-profile__serversettings " title ="<?=_('Server')?> "> < i class ="fas fa-cog "> </ i > </ a > </ div >
32+ < ?php if ((isset($panel[$user]['ROLE'])) && (!empty($panel[$user]['ROLE'])) && ($panel[$user]['ROLE'] == "admin")) {?>
33+ < div class ="l-menu__item <?php if($TAB == 'SERVER' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'UPDATES' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'IP' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'RRD' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'FIREWALL' ) echo 'l-menu__item--active' ?> "> < a href ="/list/server/ " class ="l-profile__serversettings " title ="<?=_('Server')?> "> < i class ="fas fa-cog "> </ i > </ a > </ div >
34+ < ?php } ?>
3335 < div class ="l-menu__item "> < a href ="/edit/user/?user=<?php echo $user; ?> " title ="<?=htmlspecialchars($user)?> (<?=htmlspecialchars($panel[$user]['NAME'])?>) " class ="l-profile__username "> < i class ="fas fa-user-edit "> </ i > </ a > </ div >
3436 < div class ="l-menu__item "> < a href ="https://github.com/hestiacp/hestiacp/issues/ " target ="_new " title ="<?=_('Submit an issue report')?> " class ="l-profile__help "> < i class ="fas fa-exclamation-triangle "> </ i > </ a > </ div >
3537 < div class ="l-menu__item "> < a href ="https://docs.hestiacp.com/ " title ="<?=_('Help')?> " class ="l-profile__help " target ="_blank "> < i class ="fas fa-question-circle "> </ i > </ a > </ div >
Original file line number Diff line number Diff line change 2525 </ span >
2626 </ div >
2727 < div class ="l-menu__item "> < a title ="<?=_('Notifications')?> " class ="l-profile__notifications <? if($panel[$user]['NOTIFICATIONS'] == 'yes') echo " updates "; ?> "> < i class ="fas fa-bell <?if($panel[$user]['NOTIFICATIONS'] == 'yes') echo " status-icon orange "; ?> "> </ i > </ a > </ div >
28+ < ?php if ((isset($panel[$user]['ROLE'])) && (!empty($panel[$user]['ROLE'])) && ($panel[$user]['ROLE'] == "admin")) {?>
29+ < div class ="l-menu__item <?php if($TAB == 'SERVER' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'UPDATES' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'IP' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'RRD' ) echo 'l-menu__item--active' ?> <?php if($TAB == 'FIREWALL' ) echo 'l-menu__item--active' ?> "> < a href ="/list/server/ " class ="l-profile__serversettings " title ="<?=_('Server')?> "> < i class ="fas fa-cog "> </ i > </ a > </ div >
30+ < ?php } ?>
2831 < div class ="l-menu__item "> < a href ="/edit/user/?user=<?php echo $user; ?> " title ="<?=htmlspecialchars($user)?> (<?=htmlspecialchars($panel[$user]['NAME'])?>) " class ="l-profile__username "> < i class ="fas fa-user-edit "> </ i > </ a > </ div >
2932 < div class ="l-menu__item "> < a href ="https://github.com/hestiacp/hestiacp/issues/ " target ="_new " title ="Submit a bug report " class ="l-profile__help "> < i class ="fas fa-exclamation-triangle "> </ i > </ a > </ div >
3033 < div class ="l-menu__item "> < a href ="https://docs.hestiacp.com/ " title ="<?=_('Help')?> " class ="l-profile__help " target ="_blank "> < i class ="fas fa-question-circle "> </ i > </ a > </ div >
You can’t perform that action at this time.
0 commit comments