From: hickert Date: Tue, 12 Dec 2006 05:12:11 +0000 (+0000) Subject: Updated Image Production. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5968d8b031057ae89dbb12ac0b734b5e4c7f82ad;p=gosa.git Updated Image Production. Fixed W3c errors git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5351 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 56899502e..19759d55b 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -234,16 +234,33 @@ class systems extends plugin /* Start CD-Creation */ if (isset($_POST["cd_create"])){ - $smarty->assign("src", "?plug=".$_GET['plug']."&PerformIsoCreation"); + $smarty->assign("src", "?plug=".$_GET['plug']."&PerformIsoCreation"); return ($smarty->fetch(get_template_path('gencd_frame.tpl', TRUE))); } if ($this->dn != "" && isset($_GET['PerformIsoCreation'])){ /* Initialize some attributes */ - $this->image_creation_log = ""; - $download_button = ""._("Download").""; - $return_button = ""._("Back to work").""; + $this->image_creation_log = +" +GOsa - FAI image +Date : ".date("d.m.Y - H:i:s")." +User-cn : ".$this->ui->cn." +User-dn : ".$this->ui->dn." + +Object-dn : ".$this->dn." + +/* Script returned : */ +"; + + $download_button = "". + "". + _("Use this link to download the logfile").""; + + $return_button = " ". + " ". + _("Back to work").""; + $dsc = array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w")); /* Get and check command */ @@ -253,7 +270,9 @@ class systems extends plugin @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__, $command, "Execute"); /* Print out html introduction */ - echo ""; + echo ' + '; echo ""; echo ""; echo " @@ -299,7 +318,8 @@ class systems extends plugin $this->image_creation_log.=$buffer."\n\n"; } - echo $return_button.$download_button; + echo $download_button."

"; + echo $return_button."
"; } else { $tmp= "

".sprintf(_("Command '%s', specified for ISO creation doesn't seem to exist."), $command)."

";