Code

removed header stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 14:24:11 +0000 (14:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 14:24:11 +0000 (14:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15801 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index f8169995e318c6210aeb774ccbdb8ce3f9e90021..07924d2409c6e7dbca2adf5a03880e3095d0c9c7 100644 (file)
@@ -109,28 +109,18 @@ if (! $cleanup ){
       $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";
-      $info= "<img alt='' align='middle' src='".get_template_path('images/lists/locked.png').
-             "'> ".$ui->dn."&nbsp;";
     } 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"))){
-        $info.= "<img alt='' align='middle' src='".get_template_path('images/lists/on.png')."'> ".
-          msgPool::clickEditToChange();
-
         $display.= "<button class='button' type='submit' name='edit'>".msgPool::editButton()."</button>\n";
       }
       $display.= "<input type='hidden' name='ignore'>\n";
     }
     $display.= "</div>\n";
   }
-
-  /* Page header*/
-  $display= print_header(get_template_path('plugins/posix/images/plugin.png'),
-                         _("POSIX settings"), $info).$display;
-
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: