Valider 63d77df0 rédigé par esj's avatar esj
Parcourir les fichiers

utilisation, pour les cas automatisables, de la fonction...

utilisation, pour les cas automatisables, de la fonction http_php_script(script, args); 3e tour: action= avec des arguments
parent da697e6f
Chargement en cours
Chargement en cours
Chargement en cours
Chargement en cours
+1 −1
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -93,7 +93,7 @@ if ($new != "oui") {

if ($connect_statut=="0minirezo" OR $statut=="prop" OR $new == "oui") {
	if ($id_breve) $lien = "?id_breve=$id_breve";
	echo "<FORM ACTION='breves_voir.php3$lien' METHOD='post' name='formulaire'>";
	echo "<FORM action=" . http_php_script("breves_voir","$lien") . " METHOD='post' name='formulaire'>";

	echo "<INPUT TYPE='Hidden' NAME='modifier_breve' VALUE=\"oui\">";
	echo "<INPUT TYPE='Hidden' NAME='id_breve' VALUE=\"$id_breve\">";
+1 −1
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -109,7 +109,7 @@ if ($type == 'affich') {
  $logo = "annonce";
 }

echo "<form action='message.php3?id_message=$id_message' method='post'>";
echo "<form action=" . http_php_script("message","id_message=$id_message") . " method='post'>";

 debut_gauche();

+3 −3
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -430,7 +430,7 @@ if ($syndication == "oui" OR $syndication == "off" OR $syndication == "sus") {
		.".</div>\n";
		
		echo "<div align='right'>\n"
		. "<form method='post' action='sites.php3?id_syndic=$id_syndic'>"
		. "<form method='post' action=" . http_php_script("sites","id_syndic=$id_syndic") . ">"
		. "<input type='submit' name='reload' value=\""
		. attribut_html(_T('lien_mise_a_jour_syndication'))
		. "\" class='fondo' style='font-size:9px;' /></form></div>\n";
@@ -441,7 +441,7 @@ if ($syndication == "oui" OR $syndication == "off" OR $syndication == "sus") {
		debut_cadre_relief();
		echo "<u>"._T('syndic_options')."</u>"
			. aide('artsyn')."\n"
			. "<form method='POST' action='sites.php3?id_syndic=$id_syndic' class='verdana2'>\n";
			. "<form method='POST' action=" . http_php_script("sites","id_syndic=$id_syndic") . " class='verdana2'>\n";

		// modifier la moderation
		if ($moderation == 'oui' OR $moderation == 'non')
@@ -521,7 +521,7 @@ if ($syndication == "oui" OR $syndication == "off" OR $syndication == "sus") {
// Cas d'un site ayant un feedfinder detecte
else if (preg_match(',^select: (.*),', $url_syndic, $regs)) {
	echo "<br /><br />\n";
	echo "<form method='post' action='sites.php3?id_syndic=$id_syndic'>";
	echo "<form method='post' action=" . http_php_script("sites","id_syndic=$id_syndic") . ">";
	foreach (
		array('id_rubrique', 'nom_site', 'url_site', 'descriptif', 'statut')
	as $var) {