Code

Updated style
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 09:38:38 +0000 (09:38 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 09:38:38 +0000 (09:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15789 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php
gosa-core/html/themes/modern/style.css
gosa-core/ihtml/themes/modern/framework.tpl

index 18c03e975b03e31616e45dd0d33c7b4ecd63fc32..f9e19fa341a9299e1d01dd558d2d8b7b107829e3 100644 (file)
@@ -283,9 +283,9 @@ if (session::global_get('js')==FALSE){
 }
 
 if($ui->ignore_acl_for_current_user()){
-  $smarty->assign ("username", "<font color='#FF0000';>"._("User ACL checks disabled")."</font>&nbsp;".$ui->username);
+  $smarty->assign ("loggedin", "<font color='red';>"._("ACLs are disabled")."</font>&nbsp;".sprintf("You're logged in as <span>%s [%s]</span>", $ui->cn, $ui->username));
 }else{
-  $smarty->assign ("username", $ui->username);
+  $smarty->assign ("loggedin", sprintf("You're logged in as <span>%s [%s]</span>", $ui->cn, $ui->username));
 }
 $smarty->assign ("go_logo", get_template_path('images/go_logo.png'));
 $smarty->assign ("go_base", get_template_path('images/dtree.png'));
index 28c41064b6d0f7f0824d49b48a7485abe949bcfe..339627b6ddfc3503d50cf3ba21374441bc83561c 100644 (file)
@@ -115,8 +115,8 @@ div.title-bar ul, div.title-bar ul li{
   padding:0;
 }
 
-span.logged-in-user{
-  font-style:italic;
+div.logged-in-label span{
+  font-weight:bold;
 }
 
 li.table-wrapper {
index aee92c0f31d7901282457705b1c2e7107d6940cb..ad40fc5bedc1df008d68d43f31904a9e107fae76 100644 (file)
@@ -16,8 +16,7 @@
       </div>
     </li>
     <li class='right table-wrapper'>
-      <div class='logged-in-label'>You're logged in as <span class='logged-in-user'>{$username}</span>
-      </div>
+      <div class='logged-in-label'>{$loggedin}</div>
     </li>
    </ul>
   </div>