Add Todoist installation script (need to be styled)
This commit is contained in:
@@ -150,13 +150,13 @@ if($config = simplexml_load_file('db/config.xml')){
|
||||
<?}?>
|
||||
<?if($config_xml[6]->visibility == "true"){
|
||||
$xmla = simplexml_load_file('db/todoist.xml');
|
||||
echo '<div id="todoList"></div>';
|
||||
echo '<div id="todoList">';
|
||||
if($xmla->token== '' || $xmla->token == null || $xmla->id == '' || $xmla->id == null)
|
||||
echo 'Impossible de trouver votre configuration. Merci de bien vouloir la recommencer.';
|
||||
echo 'Impossible de trouver votre configuration. <a href="install-todoist.php">Cliquez ici</a> pour la mettre en place.</div>';
|
||||
else{
|
||||
$token = $xmla->token;
|
||||
$id = $xmla->id;?>
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="js/getUncompletedTasks.php?token=<?=$token?>&id=<?=$id?>"></script>
|
||||
<?}}?>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user