~ubuntu-branches/ubuntu/hoary/moodle/hoary

« back to all changes in this revision

Viewing changes to lib/editor/popups/preview.php

  • Committer: Bazaar Package Importer
  • Author(s): Isaac Clerencia
  • Date: 2004-12-29 00:49:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041229004952-gliyqzpj2w3e7clx
Tags: 1.4.3-1
* Urgency high as upstream release fixes several security bugs
* New upstream release
* Write database creation errors and warn the user about it, 
closes: #285842, #285842

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php // $Id: preview.php,v 1.2 2004/02/22 00:49:13 julmis Exp $ preview for insert image dialog
 
1
<?php // $Id: preview.php,v 1.3 2004/08/15 11:56:45 julmis Exp $ preview for insert image dialog
2
2
    
3
3
    include("../../../config.php");
4
4
    require("../../../files/mimetypes.php");
34
34
        $width = round($width / $division);
35
35
        $height = 190;
36
36
    }
37
 
    
 
37
    echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n";
 
38
    echo "\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
38
39
    echo "<html>\n";
39
40
    echo "<head>\n";
40
41
    echo "<title>Preview</title>\n";