Skip to content

Commit

Permalink
reident; not sure this is used as it does not look like it could/woul…
Browse files Browse the repository at this point in the history
…d work (at least if called directly)

git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@102 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Sep 28, 2011
1 parent f88da1f commit 035d4c6
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions drawing.php
@@ -1,23 +1,27 @@
<?PHP /**
*
* Drawing page, brings up the xerte drawing tool in another window
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/
<?php
/**
*
* Drawing page, brings up the xerte drawing tool in another window
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/

echo file_get_contents("modules/xerte/drawing_xerte_top");
require_once('config.php');

echo "so.addVariable(\"xmlvariable\", \"$string_for_flash_xml\");";
echo "so.addVariable(\"rlovariable\", \"$string_for_flash_media\");";
echo "so.addVariable(\"originalpathvariable\", \"$string_for_flash_xwd\");";
echo "so.addVariable(\"template_id\", \"" . $row['template_id'] . "\");";

echo "so.write(\"flashcontent\");";
echo "</script>";
echo file_get_contents("modules/xerte/drawing_xerte_top");

echo "</body></html>";
echo "so.addVariable(\"xmlvariable\", \"$string_for_flash_xml\");";
echo "so.addVariable(\"rlovariable\", \"$string_for_flash_media\");";
echo "so.addVariable(\"originalpathvariable\", \"$string_for_flash_xwd\");";
echo "so.addVariable(\"template_id\", \"" . $row['template_id'] . "\");";

?>
echo "so.write(\"flashcontent\");";
echo "</script>";

echo "</body></html>";

?>

0 comments on commit 035d4c6

Please sign in to comment.