You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install-todoist.php 872B

12345678910111213141516171819202122232425
  1. <?php
  2. $xmla = simplexml_load_file('../db/todoist.xml');
  3. if($xmla->token == '' || $xmla->token == null):?>
  4. <html>
  5. <head>
  6. <title>Todoist : Login</title>
  7. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  8. <script type="text/javascript" src="../js/index.js"></script>
  9. </head>
  10. <body>
  11. <fieldset>
  12. <input type="text" name="email" id="email"/><br/>
  13. <input type="password" name="password" id="password"/>
  14. <span id="loginBtn">Cliquez ici pour vous identifier</span>
  15. <div id="error"></div>
  16. <span id="todoistRegister">ou <a href="http://todoist.com/Users/showRegister">Cliquez ici</a> pour vous créer un compte (ainsi qu'un projet ;))</span>
  17. </fieldset>
  18. </body>
  19. </html>
  20. <?php
  21. else:
  22. header('Location: getProjectsList.php');
  23. endif;