From: cajus Date: Tue, 27 Jun 2006 04:59:26 +0000 (+0000) Subject: Merged icons for save/restore X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d00c540f49a26a2d62e481c4823cf775bdff0d43;p=gosa.git Merged icons for save/restore git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3917 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/images/restore.png b/html/images/restore.png index 037c2da98..f61bd38b1 100644 Binary files a/html/images/restore.png and b/html/images/restore.png differ diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 82aac59ee..d50f41007 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -511,16 +511,15 @@ class MultiSelectWindow{ $str = ""; if($this->parent->snapshotEnabled()){ - $str .=" "; if(count($this->parent->Available_SnapsShots($dn))){ - $str .=" "; - }else{ - $str.= " "; } } + return($str); } diff --git a/plugins/admin/applications/class_divListApplication.inc b/plugins/admin/applications/class_divListApplication.inc index 86f1aa235..8487f9b4d 100755 --- a/plugins/admin/applications/class_divListApplication.inc +++ b/plugins/admin/applications/class_divListApplication.inc @@ -151,7 +151,7 @@ class divListApplication extends MultiSelectWindow foreach($list as $key => $val){ /* Create action icons */ - $actions = $this->GetSnapShotActions($val['dn']); + $actions= ""; if($this->parent->CopyPasteHandler){ $actions.= " "; @@ -160,6 +160,7 @@ class divListApplication extends MultiSelectWindow } $actions.= ""; + $actions.= $this->GetSnapShotActions($val['dn']); $actions.= ""; diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc index f03145108..e2b1509e6 100755 --- a/plugins/admin/departments/class_divListDepartment.inc +++ b/plugins/admin/departments/class_divListDepartment.inc @@ -124,9 +124,9 @@ class divListDepartment extends MultiSelectWindow $disp = get_sub_department($cdn); } - $actions = $this->GetSnapShotActions($val['dn']); - $actions.= ""; + $actions.= $this->GetSnapShotActions($val['dn']); $actions.= ""; diff --git a/plugins/admin/fai/class_divListFai.inc b/plugins/admin/fai/class_divListFai.inc index b308def3c..fcbb72468 100644 --- a/plugins/admin/fai/class_divListFai.inc +++ b/plugins/admin/fai/class_divListFai.inc @@ -223,16 +223,16 @@ _("Submit")."'> ". $desc= ""; } - $action = $this->GetSnapShotActions($value['dn']);; if($value['FAIstate'] == "freeze"){ - $action .= ""; $edi = $editlink; $acti = $action; }else{ - $action .= ""; - $action .= "GetSnapShotActions($value['dn']);; + $action.= ""; $acti = $action; $edi = $editlink; diff --git a/plugins/admin/groups/class_divListGroup.inc b/plugins/admin/groups/class_divListGroup.inc index 0e8ac98f1..06c9b5b47 100644 --- a/plugins/admin/groups/class_divListGroup.inc +++ b/plugins/admin/groups/class_divListGroup.inc @@ -165,7 +165,7 @@ class divListGroup extends MultiSelectWindow foreach($groups as $key => $val){ /* Create action icons - copy & paste icons */ - $actions = $this->GetSnapShotActions($val['dn']); + $actions= ""; if($this->parent->CopyPasteHandler){ $actions.= " "; @@ -174,6 +174,7 @@ class divListGroup extends MultiSelectWindow } $actions.= ""; + $actions.= $this->GetSnapShotActions($val['dn']); $actions.= ""; diff --git a/plugins/admin/ogroups/class_divListOGroup.inc b/plugins/admin/ogroups/class_divListOGroup.inc index 073286cbf..607a6976c 100755 --- a/plugins/admin/ogroups/class_divListOGroup.inc +++ b/plugins/admin/ogroups/class_divListOGroup.inc @@ -157,7 +157,7 @@ class divListOGroup extends MultiSelectWindow foreach($list as $key => $val){ /* Create action icons */ - $actions = $this->GetSnapShotActions($val['dn']); + $actions= ""; if($this->parent->CopyPasteHandler){ $actions.= " "; @@ -166,6 +166,7 @@ class divListOGroup extends MultiSelectWindow } $actions.= ""; + $actions.= $this->GetSnapShotActions($val['dn']); $actions.= ""; diff --git a/plugins/admin/systems/class_divListSystem.inc b/plugins/admin/systems/class_divListSystem.inc index 1f804349a..fe125e2aa 100644 --- a/plugins/admin/systems/class_divListSystem.inc +++ b/plugins/admin/systems/class_divListSystem.inc @@ -153,8 +153,8 @@ class divListSystem extends MultiSelectWindow // Test Every Entry and generate divlist Array foreach($terminals as $key => $val){ - $action = $this->GetSnapShotActions($val['dn']); - $action.= ""; + $action= ""; + $action.= $this->GetSnapShotActions($val['dn']); $action.= ""; /* Generate picture list, which is currently disabled */ diff --git a/plugins/admin/users/class_divListUsers.inc b/plugins/admin/users/class_divListUsers.inc index af5b0af65..ed885c2d0 100644 --- a/plugins/admin/users/class_divListUsers.inc +++ b/plugins/admin/users/class_divListUsers.inc @@ -211,7 +211,7 @@ class divListUsers extends MultiSelectWindow foreach($list as $key => $val){ /* Create action icons */ - $action = $this->GetSnapShotActions($val['dn']); + $action= ""; if($this->parent->CopyPasteHandler){ $action .= " "; @@ -222,6 +222,7 @@ class divListUsers extends MultiSelectWindow name='user_edit_%KEY%' title='"._("Edit user")."'>"; $action.= ""; + $action.= $this->GetSnapShotActions($val['dn']); $action.= ""; diff --git a/plugins/gofax/blocklists/class_divListBlocklists.inc b/plugins/gofax/blocklists/class_divListBlocklists.inc index e99ca587b..171393df6 100755 --- a/plugins/gofax/blocklists/class_divListBlocklists.inc +++ b/plugins/gofax/blocklists/class_divListBlocklists.inc @@ -127,8 +127,8 @@ class divListBlocklist extends MultiSelectWindow /* Append to list */ foreach($list as $key => $val){ - $action = $this->GetSnapShotActions($val['dn']); - $action.= ""; + $action= ""; + $action.= $this->GetSnapShotActions($val['dn']); $action.= ""; // Generate Array to Add diff --git a/plugins/gofon/conference/class_divListConferences.inc b/plugins/gofon/conference/class_divListConferences.inc index 7276357fb..073486bb0 100755 --- a/plugins/gofon/conference/class_divListConferences.inc +++ b/plugins/gofon/conference/class_divListConferences.inc @@ -126,9 +126,9 @@ class divListConference extends MultiSelectWindow /* Insert conferneces*/ foreach($list as $conferencekey => $conference ){ - $action = $this->GetSnapShotActions($conference['dn']); $actions= ""; + $actions.= $this->GetSnapShotActions($conference['dn']); $actions.= ""; $actions2= " $val){ - $action = $this->GetSnapShotActions($val['dn']); - $action .= ""; - $action .= "GetSnapShotActions($val['dn']); + $action.= ""; $display= $val["displayName"][0];