Ajout de la fonctionnalité d'upload de module.

This commit is contained in:
Chouchen
2010-09-27 14:37:14 +00:00
parent 734e6f4829
commit 5a8dbbb330
12 changed files with 78 additions and 138 deletions
+3 -18
View File
@@ -1,18 +1,3 @@
<?
$xmla = simplexml_load_file('../db/todoist.xml');
if($xmla->token== '' || $xmla->token == null)
header('Location: install-todoist.php');
if($xmla->name == '' || $xmla->name == null):?>
<html> ␍
<head>␍ ␍ <style>␍ .selectableProject{text-decoration:underline; color:blue; cursor:pointer;}␍ </style>
<title>Todoist : getProjects</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/getProjectsList.php?token=<?=$xmla->token?>"></script>␍
</head> ␍
<body> ␍
</body> ␍
</html> ␍
<? else:␍
header('Location: index.php');␍
endif;
<?$xmla = simplexml_load_file('../db/todoist.xml');␍if($xmla->token== '' || $xmla->token == null) header('Location: install-todoist.php');␍if($xmla->name == '' || $xmla->name == null):?>␍<html> ␍ <head> ␍ <style>␍ .selectableProject{text-decoration:underline; color:blue; cursor:pointer;}␍ </style>
<title>Todoist : getProjects</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/getProjectsList.php?token=<?=$xmla->token?>"></script>␍ </head> ␍ <body> ␍
</body> ␍ </html> ␍ <? else:␍ header('Location: ../../../');␍ endif;
@@ -1,7 +1,7 @@
<?
$xmla = simplexml_load_file('../db/todoist.xml');
if($xmla->token== '' || $xmla->token == null)
header('Location: ./');
header('Location: install-todoist.php');
if($xmla->id != '' || $xmla->id != null):
$token = $xmla->token;
$id = $xmla->id;?>