Use http:// or https:// in URLs based on URL of current page
This commit is contained in:
		| @@ -1,4 +1,7 @@ | ||||
| <?php include("../header_top.php"); ?> | ||||
| <?php | ||||
| include_once("../common.php"); | ||||
| include("../header_top.php"); | ||||
| ?> | ||||
| <title>SVG Parser - aclindsay.com</title> | ||||
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/dojo/1.5.0/dojo/dojo.xd.js"></script> | ||||
| <?php include("../header_bottom.php"); ?> | ||||
| @@ -11,7 +14,7 @@ | ||||
| 		but didn't cover many cases (example: gradient transformations). Therefore, if you wanted to use existing SVG | ||||
| 		files with dojox.gfx, you had to convert the file by hand. This was extremely tedious, so I have developed a converter tool | ||||
| 		with which you may convert existing SVG files into Javascript code ready to be used with dojox.gfx. If you have any comments or | ||||
| 		suggestions for improvement, feel free to <a href="http://aclindsay.com/contact">contact me</a>.</p> | ||||
| 		suggestions for improvement, feel free to <a href="<?php echo $base_url; ?>/contact">contact me</a>.</p> | ||||
| 		<fieldset style="border: solid black 1px;padding: 1em;"><legend>SVG (XML)</legend> | ||||
| 			<textarea id="input" rows="10" style="width: 100%" wrap="off"></textarea> | ||||
| 			<button onclick="submit()">Convert To Javascript</button> | ||||
| @@ -23,7 +26,7 @@ | ||||
| 			function submit(){ | ||||
| 				var data = dojo.byId("input").value; | ||||
| 					dojo.rawXhrPost({ | ||||
| 						url: "http://aclindsay.com/svgparser/parser/index.php",  | ||||
| 						url: "<?php echo $base_url; ?>/svgparser/parser/index.php", | ||||
| 						handleAs: "text", | ||||
| 						postData: data, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user