fixed - left margin of a document for anonymous issue #5123

skala
John Hinojosa 17 years ago
parent fc9b4ad346
commit bbc06153f2
  1. 2
      main/document/create_document.php

@ -447,7 +447,7 @@ if ($form->validate()) {
$texte=Security::remove_XSS($texte,COURSEMANAGERLOWSECURITY);
if (!strstr($texte, '/css/frames.css')) {
$texte = str_replace('</head>', '<link rel="stylesheet" href="./css/frames.css" type="text/css" /></head>', $texte);
$texte = str_replace('</head>', '<style> body{margin:10px;}</style> <link rel="stylesheet" href="./css/frames.css" type="text/css" /></head>', $texte);
}
if ($fp = @ fopen($filepath.$filename.'.'.$extension, 'w')) {
$texte = text_filter($texte);

Loading…
Cancel
Save