Add Todoist installation script (need to be styled)

This commit is contained in:
Chouchen
2010-09-15 09:54:20 +00:00
parent 08469447cb
commit 9f637b565d
6 changed files with 42 additions and 35 deletions

24
install-todoist.php Normal file
View File

@@ -0,0 +1,24 @@
<?
$xmla = simplexml_load_file('db/todoist.xml');
if($xmla->token == '' || $xmla->token == null):?>
<html>
<head>
<title>Todoist : Login</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</head>
<body>
<fieldset>
<input type="text" name="email" id="email"/><br/>
<input type="password" name="password" id="password"/>
<span id="loginBtn">Cliquez ici pour vous identifier</span>
<div id="error"></div>
</fieldset>
</body>
</html>
<?
else:
header('Location: getProjectsList.php');
endif;