summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3079b7d)
raw | patch | inline | side by side (parent: 3079b7d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 10:09:16 +0000 (10:09 +0000) | ||
committer | hickert <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 | patch | blob | history |
diff --git a/gosa-core/plugins/personal/myaccount/main.inc b/gosa-core/plugins/personal/myaccount/main.inc
index 6983ebb811912b591a93b3fe5ef199fbd75a2d3a..142defd53f632090a99d613a38875060b3d17559 100644 (file)
/* Are we in edit mode? */
if (session::is_set('edit')){
$display.= "<button class='button' type='submit' name='edit_finish'>".msgPool::okButton()."</button>\n";
- $display.= " ";
$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." ";
-
- /* 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";
}