Code

Udpated generic main.inc
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 10:09:16 +0000 (10:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 10:09:16 +0000 (10:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15890 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/myaccount/main.inc

index 6983ebb811912b591a93b3fe5ef199fbd75a2d3a..142defd53f632090a99d613a38875060b3d17559 100644 (file)
@@ -109,13 +109,8 @@ if (! $cleanup ){
     /* Are we in edit mode? */
     if (session::is_set('edit')){
       $display.= "<button class='button' type='submit' name='edit_finish'>".msgPool::okButton()."</button>\n";
-      $display.= "&nbsp;";
       $display.= "<button class='button' type='submit' name='edit_cancel'>".msgPool::cancelButton()."</button>\n";
     } else {
-      $info= "<img alt='' align='middle' src='".get_template_path('images/lists/unlocked.png').
-             "'> ".$ui->dn."&nbsp;";
-
-      /* Only display edit button if there is at least one attribute editable */
       if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/MyAccountTabs"))){
         $display.= "<button class='button' type='submit' name='edit'>".msgPool::editButton()."</button>\n";
       }