Code

Added "You're not allowed..."
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 2 Dec 2010 08:44:10 +0000 (08:44 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 2 Dec 2010 08:44:10 +0000 (08:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20504 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/infoPage.tpl

index 6218c9a1a4b352dc2cf6fba6962ee3558063f2e6..f489aa7fced3c611fc4e503bf2aa67cb9ea62193 100644 (file)
     <div class="clear"></div>
 {/if}
 
+{if !$personalInfoAllowed && $plugins == ""}
+    <div style='width:100%;text-align:center;padding-top:100px;padding-bottom:100px'>
+    <b>{t}You have no permission to edit any properties. Please contact your administrator.{/t}</b>
+    </div>
+{/if}
+
 {if $managersCnt != 0}
     <hr>
     <h3>{t}Administrative contact{/t}</h3>