parent
734e6f4829
commit
5a8dbbb330
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
// Error reporting
|
||||
error_reporting(E_ALL^E_NOTICE);
|
||||
|
||||
// Escaping:
|
||||
$city = $_GET['city'];
|
||||
include '../class/AccueilModules.php';
|
||||
echo AccueilModules::updateModule('weather', array('city'=>$city));
|
||||
|
||||
?>
|
@ -1,12 +0,0 @@
|
||||
<div id="config">
|
||||
<form id="config_form" action="" method="post">
|
||||
<h3>Modules configuration</h3><br/>
|
||||
Clock module : <input type="radio" name="clock_group" value="true"<?if ($config_xml[0]->visibility == "true"){echo " checked";}?> />true <input type="radio" name="clock_group" value="false"<?if ($config_xml[0]->visibility == "false"){echo " checked";}?> />false<br/><br/>
|
||||
Meteo module : <input type="radio" name="meteo_group" value="true"<?if ($config_xml[1]->visibility == "true"){echo " checked";}?> />true <input type="radio" name="meteo_group" value="false"<?if ($config_xml[1]->visibility == "false"){echo " checked";}?> />false<br/><br/>
|
||||
Notes module : <input type="radio" name="notes_group" value="true"<?if ($config_xml[2]->visibility == "true"){echo " checked";}?> />true <input type="radio" name="notes_group" value="false"<?if ($config_xml[2]->visibility == "false"){echo " checked";}?> />false<br/><br/>
|
||||
Search module : <input type="radio" name="search_group" value="true"<?if ($config_xml[3]->visibility == "true"){echo " checked";}?> />true <input type="radio" name="search_group" value="false"<?if ($config_xml[3]->visibility == "false"){echo " checked";}?> />false<br/><br/>
|
||||
Links module : <input type="radio" name="links_group" value="true"<?if ($config_xml[4]->visibility == "true"){echo " checked";}?> />true <input type="radio" name="links_group" value="false"<?if ($config_xml[4]->visibility == "false"){echo " checked";}?> />false<br/><br/>
|
||||
Blogs module : <input type="radio" name="blogs_group" value="true"<?if ($config_xml[5]->visibility == "true"){echo " checked";}?> />true <input type="radio" name="blogs_group" value="false"<?if ($config_xml[5]->visibility == "false"){echo " checked";}?> />false<br/><br/>
|
||||
<a id="config-submit" href="" class="green-button">Enregistrer</a>
|
||||
</form>
|
||||
</div>
|
File diff suppressed because one or more lines are too long
@ -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;
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue