Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reident; not sure this is used as it does not look like it could/woul…
…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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>"; | ||
|
||
?> |