Accueil/modules/todo/includes/getProjectsList.php

18 lines
707 B
PHP
Raw Normal View History

2010-09-14 23:38:29 +02:00
<?
2010-09-27 12:48:53 +02:00
$xmla = simplexml_load_file('../db/todoist.xml');
2010-09-14 23:38:29 +02:00
if($xmla->token== '' || $xmla->token == null)
header('Location: install-todoist.php');
2010-09-14 23:38:29 +02:00
if($xmla->name == '' || $xmla->name == null):?>
<html>
<head> <style> .selectableProject{text-decoration:underline; color:blue; cursor:pointer;} </style>
2010-09-14 23:38:29 +02:00
<title>Todoist : getProjects</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
2010-09-27 12:48:53 +02:00
<script type="text/javascript" src="../js/getProjectsList.php?token=<?=$xmla->token?>"></script>
2010-09-14 23:38:29 +02:00
</head>
<body>
</body>
</html>
<? else:
header('Location: index.php');
2010-09-14 23:38:29 +02:00
endif;