Commit e1b0c10658558987b6868e9ff8a02cc76b95eb9d
1 parent
46db9e52
Show more information to system administrators on how to fix their lack
of email configuration. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5373 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
plugins/ktcore/KTDashlets.php
| ... | ... | @@ -247,8 +247,10 @@ class KTMailServerDashlet extends KTBaseDashlet { |
| 247 | 247 | function render() { |
| 248 | 248 | $oTemplating =& KTTemplating::getSingleton(); |
| 249 | 249 | $oTemplate = $oTemplating->loadTemplate("ktcore/dashlets/mailserver"); |
| 250 | + $admin = Permission::userIsSystemAdministrator($_SESSION['userID']); | |
| 250 | 251 | $aTemplateData = array( |
| 251 | 252 | "context" => $this, |
| 253 | + 'admin' => $admin, | |
| 252 | 254 | ); |
| 253 | 255 | return $oTemplate->render($aTemplateData); |
| 254 | 256 | } | ... | ... |