add supresion source

master
Bastien OLLIER 3 years ago
parent cdd04ef984
commit a333417c2c

@ -1,18 +1,28 @@
<!doctype html>
<link href="css/administration.css" rel="stylesheet" type="text/css">
<html>
<form action="index.php">
<input type="hidden" name="action" value="refreshData">
<input type="submit" value="refresh">
</form>
<div id="pageRight">
<div id="listSources">
<div>
<?php
foreach ($listeSources as $n){
echo '<form action="index.php?action=supprimerSource&idSource='.$n->getlink().'">';
echo '<form action="index.php?action=supprimerSource&source=' . $n->getlink() . '" method="POST">';
echo "<div class=source>";
echo "<div>";
echo "<p id=link>";
echo $n->getlink();
echo "</p>";
echo "</div>";
echo "<div>";
echo '<input type="submit" value="x">';
echo "</div>";
echo "</div>";
echo "</form>";
}
?>

Loading…
Cancel
Save