<?xml version="1.0" encoding="UTF-8" ?> 

<Module>
  <ModulePrefs title="FreshBooks Time Tracking" 
    description="Everyone agrees that tracking time can be tedious!  As frustrated time trackers, we needed a way to streamline this process and created the Time Tracking Gadget for FreshBooks.  With this free gadget, you'll be able to save time by immediate time entry, with notes, into FreshBooks within iGoogle or Gmail*. New projects and tasks are displayed immediately from FreshBooks. *For Gmail Please add the following URL to your 'Gadgets' Tab under 'Settings' page: http://hosting.gmodules.com/ig/gadgets/file/111062740007494393201/GmailTimeTracker.xml" 
    author="Bijan Sadeghi" 
    author_email="bsadeghi@myndbend.com" 
    screenshot="http://www.myndbendhosting.com/gtimetrack/img/timetracking.png" 
    thumbnail="http://www.myndbendhosting.com/gtimetrack/img/thumbnail.png" 
    title_url=""
    category="tools"
    category2="finance"    
    height="365"
    width="280">    
    <Require feature="setprefs"/>   
  </ModulePrefs>
      
  <UserPref 
    name="domain" 
    display_name="FreshBooks Subdomain"  
    required="true" /> 
  
  <UserPref 
    name="token" 
    display_name="Authentication Token"   
    required="true" />
  
  <UserPref 
    name="email" 
    display_name="Your Email"  
    required="false" />
    
  <UserPref 
    name="bgcolor" 
    display_name="Gadget Theme Color"  
    required="false" />
          
  <Content type="html" preferred_height="365" preferred_width="245">
  
    <![CDATA[
    <link rel="stylesheet" href="http://myndbendhosting.com/gtimetrack/time-tracking.css"> 
    <!--[if IE]>
    <link rel="stylesheet" href="http://myndbendhosting.com/gtimetrack/ie.css"> 
    <![endif]-->
    <script type='text/javascript' src="http://myndbendhosting.com/gtimetrack/scripts.js"></script> 
    <script type="text/javascript" src="http://myndbendhosting.com/gtimetrack/theme/jscolor.js"></script>
    <center>
    <div id="setupinfo" class="modtitle_s">
    <form id="timetracksetup">
      <ul>
      <li>Please provide the following information:</li>
      </ul>                
      <label for="domain">*Subdomain:</label><input type="text" name="domain"/><br/>
      <label for="token">Auth Token:</label><input type="text" name="token"/><br/> 
      <label for="techemail">Theme Color:</label><input class="color" type="text" name="bgcolor"/><br/>
      <label for="email">**Your Email:</label><input type="text" name="email"/><br/>
      <br/><br/>
      <p class="small">*Sub-Domain is your FreshBooks subdomain in the URL.<br/> e.g. "xxx" in xxx.freshbooks.com</p>
      <p class="small">**Email is optional but recommended for updates. We respect your privacy.</p>
      <p align="center"><input type="button" name="set" id="set" value="Save" onClick="f_setup(this.form);"/></p>
    </form>
    </div>        
    <iframe src="about:blank;" id="timetrack_f" name="timetrack_f" frameborder="0" border="0" scrolling="No"></iframe>  
    <div id="updatesetting"><a href="#" onclick="reconfig();">Update Settings</a></div> 
    <div id="copyright">© 2010 <a href="http://www.myndbend.com" target="_blank">Myndbend Inc.</a><br/>
    <a href="http://www.myndbend.com/tos/" target="_blank">Terms</a> - <a href="http://www.myndbend.com/aup/" target="_blank">Privacy Policy</a></div>     
    </center>

    <script language="JavaScript">
      window.onload=checkStatus;  
    </script>    
  ]]> 
  </Content>
</Module>