<?xml version="1.0" encoding="UTF-8" ?>
<Module >
 <ModulePrefs title="Translated Content"
 	description="Create your content in multiple languages, and expand your network reach internationally." 
	screenshot="http://www.lingotip.com/images/logo_square.png"
	thumbnail="http://www.lingotip.com/images/lt_ning_avatar.png"
	author_email="info@lingotip.com"
>
   <Require feature="opensocial-0.7"/>
   <Require feature="ning" />
   <Require feature="dynamic-height"/>
 </ModulePrefs>
 <Content type="html" view="canvas">

 <![CDATA[

<head>
 <script language="javaScript" src="http://lingotip.com/xml/ltutils_.js" type="text/javascript"></script>
 <link rel="stylesheet" type="text/css" href="http://lingotip.com/xml/style.css" />

</head>
<body>

<div id="owner"></div>
<div  id="error_div"></div>

<form id='lt_form' name='lt_form' action='javascript:void(0);' > 
	<div class="form_div" id="form_div"></div>
</form>
<div id="content_div" ></div>
</body>

<script type="text/javascript">
	var errorMessage = "";
	var uid, uname;
	var email = "";
	var password = "";

	var wids=new Array(); 
	var selected2wid=new Array(); 
	var wid2code=new Array(); 
	var selected_wid; // wid selected by the user to show

	var is_owner;	
	var mycontent = '';
	var uid_exist = '';
	
	var LTI_SERVER = "http://www.lingotip.com";
	var LTI_PATH = "for-pay";
	var OPENSOCIAL = "ning";
	var CID=3482;
	
	//var PAYPAL_URL = 'https://www.paypal.com/cgi-bin/webscr';
	var PAYPAL_URL = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
	var IPN = LTI_SERVER+"/for-pay/utils/paypal_actions.php?action=ipn";
	var PAYPAL_ADDRESS = 'payments@lingotip.com';
	var SUCCESS_PAGE = 'http://lingotip.ning.com'; //'http://URL/success.php';
	var CANCEL_PAGE = 'http://lingotip.ning.com'; //'http://URL/cancel.php';

	
	// Estimate info
	var target = new Array();
	var word_count;
	var conversion;
	var ppword;
	var estimate;
	var total;
	var level;
	var text, post_note, assigned;
	var source;
	var captcha, ucaptcha;
	
	// post info
	var txn;
	var txns = new Array();
	var rand;

	start();

</script>

</body>
  ]]>
  </Content>
  <Content type="html" view="profile">
	<![CDATA[
	<p>Please click the <b>Translated Content</b> tab on top to access the translated content view.</p>
	]]>
  </Content>
</Module>
