Code

Restored second button for "restore snapshots"
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 05:15:12 +0000 (05:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 05:15:12 +0000 (05:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3919 594d385d-05f5-0310-b6e9-bd551577e9d8

html/images/restore.png
include/class_MultiSelectWindow.inc

index f61bd38b16e2a6e352f51311d93c8f6ba43681f5..037c2da98d1c629fd33957baa64edc60197ef767 100644 (file)
Binary files a/html/images/restore.png and b/html/images/restore.png differ
index f2c792a0e9d05325db9010a0413f7ed72cc13021..a5bccb58913a406e6598f8c6659324e325318663 100644 (file)
@@ -508,16 +508,16 @@ class MultiSelectWindow{
 
   function GetSnapShotActions($dn)
   {
-    $str = "";
+    $str= "";
     if($this->parent->snapshotEnabled()){
 
-      $str= "<input class='center' type='image' src='images/snapshot.png'
-        alt='"._("Create snapshot")."' name='CreateSnapShotDialog_".base64_encode($dn)."' title='"._("Create a new snapshot from this object")."'>&nbsp;";
-
       if(count($this->parent->Available_SnapsShots($dn))){
-        $str= "<input class='center' type='image' src='images/restore.png'
+        $str.= "<input class='center' type='image' src='images/restore.png'
           alt='"._("Restore snapshot")."' name='RestoreSnapShotDialog_".base64_encode($dn)."' title='"._("Restore snapshot")."'>&nbsp;";
       }
+
+      $str.= "<input class='center' type='image' src='images/snapshot.png'
+        alt='"._("Create snapshot")."' name='CreateSnapShotDialog_".base64_encode($dn)."' title='"._("Create a new snapshot from this object")."'>&nbsp;";
     }
 
     return($str);