Code

Swapped icons to be like in all other dialogs
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 04:40:25 +0000 (04:40 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 04:40:25 +0000 (04:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3916 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_SnapShotDialog.inc

index 4d44f0b708e5983a162d5c55e9488db3e28a289a..2a56ee27fb214f768b60ebf58ad1e00fc3e736a0 100755 (executable)
@@ -4,14 +4,15 @@
 class SnapShotDialog extends plugin 
 {
        var $config;
-       var $attributes                                 = array("CurrentDescription");
-       var $CurrentDescription                 = "";
-       var $parent                                             = NULL;
-       var $display_restore_dialog             = false;                /* Defines the restore mode */
-       var $display_all_removed_objects= false;                /* Specifies which objects will be listed, all snapshots for a single entry 
-                                                                                                               or all snapshots of already deleted objects  */ 
-       var $dialog                                             = true;
-       var $del_dn                                             = "";
+       var $attributes= array("CurrentDescription");
+       var $CurrentDescription= "";
+       var $parent= NULL;
+       var $display_restore_dialog= false;                   /* Defines the restore mode */
+       var $display_all_removed_objects= false;                /* Specifies which objects will be listed, all
+                                                 snapshots for a single entry or all snapshots
+                                                 of already deleted objects  */        
+       var $dialog= true;
+       var $del_dn= "";
        var $ui;
        var $acl;
        
@@ -100,10 +101,10 @@ class SnapShotDialog extends plugin
                        /* Add Elements to divlist */   
                        foreach($list_of_elements as $entry){
 
-                               $actions = "<input type='image' src='images/edittrash.png' name='RemoveSnapShot_%KEY' 
-                                                               class='center' title='"._("Remove snapshot")."'>&nbsp;";
-                               $actions.= "<input type='image' src='images/restore.png' name='RestoreSnapShot_%KEY' 
+                               $actions= "<input type='image' src='images/restore.png' name='RestoreSnapShot_%KEY' 
                                                                class='center' title='"._("Restore snapshot")."'>&nbsp;";
+                               $actions.= "<input type='image' src='images/edittrash.png' name='RemoveSnapShot_%KEY' 
+                                                               class='center' title='"._("Remove snapshot")."'>&nbsp;";
 
                                $time_stamp     = date("d.m.Y H.i.s",preg_replace("/\-.*$/","",$entry['gosaSnapshotTimestamp'][0]));
                                $display_data   = $entry['description'][0];
@@ -155,4 +156,5 @@ class SnapShotDialog extends plugin
        }
 }
 
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>