diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc
index 7af6280d70ceddc8439d09d2b68f9b252844ce6f..0c4569827398f9d48c58cc4debaba077a8e482d5 100644 (file)
} else {
/* Ok. There seem to be errors regarding to the tab data,
show message and continue as usual. */
} else {
/* Ok. There seem to be errors regarding to the tab data,
show message and continue as usual. */
- show_errors($message);
+ msgDialog::displayChecks($message);
}
}
}
}
/* Don't show buttons if tab dialog requests this */
if (!$this->mimetabs->by_object[$this->mimetabs->current]->dialog){
$display.= "<p style=\"text-align:right\">\n";
/* Don't show buttons if tab dialog requests this */
if (!$this->mimetabs->by_object[$this->mimetabs->current]->dialog){
$display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=\"submit\" name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_finish\" style=\"width:80px\" value=\"".msgPool::okButton()."\">\n";
$display.= " \n";
if ($this->dn != "new"){
$display.= " \n";
if ($this->dn != "new"){
- $display.= "<input type=submit name=\"edit_apply\" value=\""._("Apply")."\">\n";
+ $display.= "<input type=submit name=\"edit_apply\" value=\"".msgPool::applyButton()."\">\n";
$display.= " \n";
}
$display.= " \n";
}
- $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=\"submit\" name=\"edit_cancel\" value=\"".msgPool::cancelButton()."\">\n";
$display.= "</p>";
}
return ($display);
$display.= "</p>";
}
return ($display);
/* Return C&P dialog */
if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){
/* Return C&P dialog */
if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){
- /* Load entry from queue and set base */
- $this->CopyPasteHandler->load_entry_from_queue();
- $this->CopyPasteHandler->SetVar("base",$this->DivListMimeTypes->selectedBase);
-
/* Get dialog */
$data = $this->CopyPasteHandler->execute();
/* Get dialog */
$data = $this->CopyPasteHandler->execute();
+ $this->CopyPasteHandler->SetVar("base",$this->DivListMimeTypes->selectedBase);
/* Return dialog data */
if(!empty($data)){
/* Return dialog data */
if(!empty($data)){