summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cbedb52)
raw | patch | inline | side by side (parent: cbedb52)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Dec 2008 13:34:43 +0000 (13:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Dec 2008 13:34:43 +0000 (13:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13114 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 79346e7014437c083281ec2bf60b85f33c051848..2ca362bdda94d55fa6940c6f359c2eb020f56428 100644 (file)
foreach($_POST as $name => $value){
-## foreach($_POST as $name => $value){
-## + $entry = base64_decode(preg_replace("/_[xy]$/","",$name));
-##
-## /* Create a new snapshot, display a dialog */
-## if(preg_match("/^CreateSnapShotDialog_/",$name) && $once){
-## $once = false;
-## - $entry = preg_replace("/^CreateSnapShotDialog_/","",$name);
-## - $entry = base64_decode(preg_replace("/_[xy]$/","",$entry));
-## + $entry = preg_replace("/^CreateSnapShotDialog_/","",$entry);
-##
-## if(!empty($entry) && $ui->allow_snapshot_create($entry,$this->parent->acl_module)){
-## $this->snapDialog = new SnapShotDialog($this->config,$entry,$this);
-## @@ -1538,8 +1530,7 @@
-## /* Restore a snapshot, display a dialog with all snapshots of the current object */
-## if(preg_match("/^RestoreSnapShotDialog_/",$name) && $once){
-## $once = false;
-## - $entry = preg_replace("/^RestoreSnapShotDialog_/","",$name);
-## - $entry = base64_decode(preg_replace("/_[xy]$/","",$entry));
-## + $entry = preg_replace("/^RestoreSnapShotDialog_/","",$entry);
-## if(!empty($entry) && $ui->allow_snapshot_restore($entry,$this->parent->acl_module)){
-## $this->snapDialog = new SnapShotDialog($this->config,$entry,$this);
-## $this->snapDialog->display_restore_dialog = true;
-## @@ -1566,8 +1557,7 @@
-## /* Restore selected snapshot */
-## if(preg_match("/^RestoreSnapShot_/",$name) && $once){
-## $once = false;
-## - $entry = preg_replace("/^RestoreSnapShot_/","",$name);
-## - $entry = base64_decode(trim(preg_replace("/_[xy]$/","",$entry)));
-## + $entry = preg_replace("/^RestoreSnapShot_/","",$entry);
-## if(!empty($entry) && $ui->allow_snapshot_restore($entry,$this->parent->acl_module)){
-## $this->restore_snapshot($entry);
-## $this->snapDialog = NULL;
-## @@ -1628,6 +1618,7 @@
-## */
-##
-##
-##
-
-
-
/* Create a new snapshot, display a dialog */
if(preg_match("/^CreateSnapShotDialog_[^_]*_[xy]$/",$name) && $once){