[Fusionforge-commits] r12413 - in trunk/src/plugins/mantisbt: action view www

Franck VILLAUME nerville at fusionforge.org
Mon Feb 28 10:50:25 CET 2011


Author: nerville
Date: 2011-02-28 10:50:23 +0100 (Mon, 28 Feb 2011)
New Revision: 12413

Modified:
   trunk/src/plugins/mantisbt/action/updateIssue.php
   trunk/src/plugins/mantisbt/view/addOrEditNote.php
   trunk/src/plugins/mantisbt/view/editIssue.php
   trunk/src/plugins/mantisbt/view/viewAttachment.php
   trunk/src/plugins/mantisbt/view/viewIssue.php
   trunk/src/plugins/mantisbt/view/viewIssues.php
   trunk/src/plugins/mantisbt/www/index.php
Log:
make it work ... numerous fix

Modified: trunk/src/plugins/mantisbt/action/updateIssue.php
===================================================================
--- trunk/src/plugins/mantisbt/action/updateIssue.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/action/updateIssue.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -1,7 +1,10 @@
 <?php
 /*
- * Copyright 2010, Franck Villaume - Capgemini
+ * MantisBT plugin
+ *
+ * Copyright 2010-2011, Franck Villaume - Capgemini
  * Copyright 2010, Antoine Mercadal - Capgemini
+ * http://fusionforge.org
  *
  * This file is part of FusionForge.
  *
@@ -20,7 +23,14 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-$clientSOAP = new SoapClient(forge_get_config('server_url','mantisbt')."/api/soap/mantisconnect.php?wsdl", array('trace'=>true, 'exceptions'=>true));
+global $mantisbt;
+global $mantisbtConf;
+global $username;
+global $password;
+global $group_id;
+global $idBug;
+
+$clientSOAP = new SoapClient($mantisbtConf['url']."/api/soap/mantisconnect.php?wsdl", array('trace'=>true, 'exceptions'=>true));
 $defect = $clientSOAP->__soapCall('mc_issue_get', array("username" => $username, "password" => $password, "issue_id" => $idBug));
 if ($defect->category != $_POST['categorie']) {
 	$defect->category = $_POST['categorie'];
@@ -150,7 +160,7 @@
 	$clientSOAP->__soapCall('mc_issue_update', array("username" => $username, "password" => $password, "issue_id" => $idBug, "issue" => $defect));
 } catch (SoapFault $soapFault) {
 	$error_msg = _('Task failed:').' '.$soapFault->faultstring;
-	session_redirect('plugins/mantisbt/?type=group&id='.$id.'&pluginname=mantisbt&idBug='.$idBug.'&view=viewIssue&error_msg='.urlencode($feedback));
+	session_redirect('plugins/mantisbt/?type=group&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$idBug.'&view=viewIssue&error_msg='.urlencode($feedback));
 }
 
 //TODO : est-ce vraiment utilise ?
@@ -173,6 +183,6 @@
 }
 
 $feedback = _('Task succeeded');
-session_redirect('plugins/mantisbt/?type=group&id='.$id.'&pluginname=mantisbt&idBug='.$idBug.'&view=viewIssue&feedback='.urlencode($feedback));
+session_redirect('plugins/mantisbt/?type=group&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$idBug.'&view=viewIssue&feedback='.urlencode($feedback));
 
-?>
+?>
\ No newline at end of file

Modified: trunk/src/plugins/mantisbt/view/addOrEditNote.php
===================================================================
--- trunk/src/plugins/mantisbt/view/addOrEditNote.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/view/addOrEditNote.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -23,11 +23,16 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
+global $mantisbt;
+global $mantisbtConf;
+global $username;
+global $password;
+
 $noteEdit;
 try {
     /* do not recreate $clientSOAP object if already created by other pages */
     if (!isset($clientSOAP))
-        $clientSOAP = new SoapClient("http://".forget_get_config('server','mantisbt')."/api/soap/mantisconnect.php?wsdl", array('trace'=>true, 'exceptions'=>true));
+        $clientSOAP = new SoapClient($mantisbtConf['url']."/api/soap/mantisconnect.php?wsdl", array('trace'=>true, 'exceptions'=>true));
 
     $defect = $clientSOAP->__soapCall('mc_issue_get', array("username" => $username, "password" => $password, "issue_id" => $idBug));
     if ($view == "editNote"){
@@ -39,33 +44,30 @@
 	    }
     }
 } catch (SoapFault $soapFault) {
-    $msg = $soapFault->faultstring;
-    $errorPage = true;
+	echo '<div class="warning" >'. _('Technical error occurs during data retrieving:'). ' ' .$soapFault->faultstring.'</div>';
+	$errorPage = true;
 }
 
-if ($errorPage){
-    echo    '<div class="warning">Un problème est survenu lors de la récupération des données : '.$msg.'</div>';
-} else {
-    if($view == "editNote"){
-	    $labelboxTitle = 'Modifier la note';
-	    $actionform = 'updateNote';
-	    $labelButtonSubmit = 'Mettre à jour';
-    } else {
-	    $labelboxTitle = 'Ajouter la note';
-	    $actionform = 'addNote';
-	    $labelButtonSubmit = 'Valider';
-    }
+if (!isset($errorPage)){
+	if($view == "editNote"){
+		$labelboxTitle = 'Modifier la note';
+		$actionform = 'updateNote';
+		$labelButtonSubmit = 'Mettre à jour';
+	} else {
+		$labelboxTitle = 'Ajouter la note';
+		$actionform = 'addNote';
+		$labelButtonSubmit = 'Valider';
+	}
 
-    echo 		'<div align="center" id="add_edit_note">';
-    echo 		'<form Method="POST" Action="?type='.$type.'&id='.$id.'&pluginname='.$pluginname.'&idBug='.$defect->id.'&idNote='.$idNote.'&action='.$actionform.'&view=viewIssue">';
-    echo				'<table class="innertabs">';
-    echo 					'<tr>';
-    echo						'<td class="FullBox" ><textarea name="edit_texte_note" style="width:99%;" rows=12>'.$noteEdit->text.'</textarea></td>';
-    echo 					'</tr>';
-    echo				'</table>';
-    echo 				'<input type=button onclick="this.form.submit();this.disabled=true;" value="'.$labelButtonSubmit.'">';
-    echo 			'</form>';
-    echo 		'</div>';
+	echo 		'<div align="center" id="add_edit_note">';
+	echo 		'<form Method="POST" Action="?type='.$type.'&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$defect->id.'&idNote='.$idNote.'&action='.$actionform.'&view=viewIssue">';
+	echo				'<table class="innertabs">';
+	echo 					'<tr>';
+	echo						'<td class="FullBox" ><textarea name="edit_texte_note" style="width:99%;" rows=12>'.$noteEdit->text.'</textarea></td>';
+	echo 					'</tr>';
+	echo				'</table>';
+	echo 				'<input type=button onclick="this.form.submit();this.disabled=true;" value="'.$labelButtonSubmit.'">';
+	echo 			'</form>';
+	echo 		'</div>';
 }
-
 ?>

Modified: trunk/src/plugins/mantisbt/view/editIssue.php
===================================================================
--- trunk/src/plugins/mantisbt/view/editIssue.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/view/editIssue.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -81,8 +81,8 @@
     echo		'<tr>';
     echo 			'<td class="FullBox">';
     echo				'<select name="categorie" class="sirhen" >';
-    echo					"<option></option>";
-    echo                    '<option selected>'.$defect->category.'</option>';
+    echo					'<option></option>';
+    echo					'<option selected>'. (isset($defect->category)) ? '' : $defect->category .'</option>';
     foreach ($listCategories as $key => $category){
 	    echo			    '<option>'.$category.'</option>';
     }
@@ -90,7 +90,7 @@
     echo			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="severite" class="sirhen">';
-	echo    			    '<option selected>'.$defect->severity->name.'</option>';
+	echo    			    '<option selected>'. (isset($defect->severity->name)) ? '' : $defect->severity->name.'</option>';
     foreach ($listSeverities as $key => $severity){
 	    echo			    '<option>'.$severity->name.'</option>';
     }
@@ -98,7 +98,7 @@
     echo			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="reproductibilite" class="sirhen">';
-    echo			        '<option selected>'.$defect->reproducibility->name.'</option>';
+    echo			        '<option selected>'. (isset($defect->reproducibility->name)) ? '' : $defect->reproducibility->name.'</option>';
     foreach ($listReproducibilities as $key => $reproducibility){
 	    echo			    '<option>'.$reproducibility->name.'</option>';
     }
@@ -119,7 +119,7 @@
     echo		'<tr>';
     echo 			'<td class="FullBox">';
     echo				'<select name="reporter" class="sirhen">';
-	echo			        '<option selected>'.$defect->reporter->name.'</option>';
+	echo			        '<option selected>'. (isset($defect->reporter->name)) ? '' : $defect->reporter->name.'</option>';
     foreach ($listReporters as $key => $user){
 		echo			    '<option>'.$user->name.'</option>';
     }
@@ -127,7 +127,7 @@
     echo			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="handler" class="sirhen">';
-    echo			        '<option selected>'.$defect->handler->name.'</option>';
+    echo			        '<option selected>'. (isset($defect->handler->name)) ? '' : $defect->handler->name.'</option>';
     echo					'<option></option>';
     foreach ($listDevelopers as $key => $user){
 		echo			    '<option>'.$user->name.'</option>';
@@ -136,7 +136,7 @@
     echo			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="priorite" class="sirhen">';
-	echo			        '<option selected>'.$defect->priority->name.'</option>';
+	echo			        '<option selected>'. (isset($defect->priority->name)) ? '' : $defect->priority->name.'</option>';
     foreach ($listPriorities as $key => $priority){
 	    echo			    '<option>'.$priority->name.'</option>';
     }
@@ -144,7 +144,7 @@
     echo 			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="resolution" class="sirhen">';
-	echo			        '<option selected>'.$defect->resolution->name.'</option>';
+	echo			        '<option selected>'. (isset($defect->resolution->name)) ? '' : $defect->resolution->name.'</option>';
     foreach ($listResolutions as $key => $resolution){
 	    echo			    '<option>'.$resolution->name.'</option>';
     }
@@ -152,7 +152,7 @@
     echo 			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="etat" class="sirhen">';
-	echo			        '<option selected>'.$defect->status->name.'</option>';
+	echo			        '<option selected>'. (isset($defect->status->name)) ? '' : $defect->status->name.'</option>';
     foreach ($listStatus as $key => $status){
 		echo			    '<option>'.$status->name.'</option>';
     }
@@ -166,7 +166,7 @@
     echo		'</tr>';
     echo 			'<td class="FullBox">';
     echo				'<select name="version" class="sirhen">';
-	echo			        '<option selected>'.$defect->version.'</option>';
+	echo			        '<option selected>'. (isset($defect->version)) ? '' : $defect->version.'</option>';
     echo					'<option></option>';
     foreach ($listVersions as $key => $version){
 	    echo			    '<option>'.$version->name.'</option>';
@@ -175,7 +175,7 @@
     echo			'</td>';
     echo 			'<td class="FullBox">';
     echo				'<select name="fixed_in_version" class="sirhen">';
-	echo			        '<option selected>'.$defect->fixed_in_version.'</option>';
+	echo			        '<option selected>'. (isset($defect->fixed_in_version)) ? '' : $defect->fixed_in_version.'</option>';
     echo					'<option></option>';
     foreach ($listVersions as $key => $fixed_version){
 		echo			    '<option>'.$fixed_version->name.'</option>';
@@ -184,7 +184,7 @@
     echo			'</td>';
     echo 			'<td colspan="3" class="FullBox">';
     echo				'<select name="target_version" class="sirhen">';
-	echo			        '<option selected>'.$defect->target_version.'</option>';
+	echo			        '<option selected>'. (isset($defect->target_version)) ? '' : $defect->target_version.'</option>';
     echo					'<option></option>';
     foreach ($listVersionsMilestone as $key => $target_version){
 		echo			    '<option>'.$target_version->name.'</option>';

Modified: trunk/src/plugins/mantisbt/view/viewAttachment.php
===================================================================
--- trunk/src/plugins/mantisbt/view/viewAttachment.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/view/viewAttachment.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -23,42 +23,46 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
+global $mantisbt;
+global $mantisbtConf;
+global $username;
+global $password;
+global $group_id;
+
 if (empty($msg)) {
-    if (!isset($defect)){
-	    try{
-		    $clientSOAP = new SoapClient("http://".forge_get_config('server','mantisbt')."/api/soap/mantisconnect.php?wsdl", array('trace'=>true, 'exceptions'=>true));
-		    $defect = $clientSOAP->__soapCall('mc_issue_get', array("username" => $username, "password" => $password, "issue_id" => $idBug));
-	    }catch (SoapFault $soapFault) {
-		    $error_attachment = $soapFault->faultstring;
-		    $errorPage = true;
-	    }
-    }
+	if (!isset($defect)){
+		try{
+			$clientSOAP = new SoapClient($mantisbtConf['url']."/api/soap/mantisconnect.php?wsdl", array('trace'=>true, 'exceptions'=>true));
+			$defect = $clientSOAP->__soapCall('mc_issue_get', array("username" => $username, "password" => $password, "issue_id" => $idBug));
+		}catch (SoapFault $soapFault) {
+			echo '<div class="warning" >'. _('Technical error occurs during data retrieving:'). ' ' .$soapFault->faultstring.'</div>';
+			$errorPage = true;
+		}
+	}
 
-    if ($errorPage){
-	    echo 	'<div>Un problème est survenu lors de la récupération des données : '.$error_attachment.'</div>';
-    }else {
-        echo "<h2 style='border-bottom: 1px solid black'>Fichiers attachés</h2>";
-        $boxTitle = 'Fichiers attachés (<a style="color:#FFFFFF;font-size:0.8em" href="?type='.$type.'&id='.$id.'&pluginname='.$pluginname.'&idBug='.$idBug.'&view=addAttachment">Ajouter un fichier</a>)';
-	    if ($defect->attachments) {
-		    echo	'<table class="innertabs">';
-		    echo '<tr>';
-		    echo '<td class="FullBoxTitle">Nom du fichier</td>';
-		    echo '<td class="FullBoxTitle">Actions</td>';
-		    echo '</tr>';
-		    foreach ($defect->attachments as $key => $attachement){
-			    echo	'<tr>';
-			    echo		'<td class="FullBox">'.$attachement->filename.'</td>';
-			    echo 		'<td class="FullBox">';
-			    echo			'<input type=button value="Télécharger" onclick="window.location.href=\'getAttachment.php/'.$attachement->id.'/'.$attachement->filename.'\'">';
-			    echo			'<input type=button value="Supprimer" onclick="window.location.href=\'?type='.$type.'&id='.$id.'&pluginname='.$pluginname.'&idBug='.$idBug.'&idAttachment='.$attachement->id.'&action=deleteAttachment&view=viewIssue\'">';
-			    echo		'</td>';
-			    echo 	'</tr>';
-		    }
-            echo "</table>";
-	    } else {
-            echo "Il n'y a pas de fichier attaché pour ce ticket.";
-        }
-    }
+	if (!isset($errorPage)){
+		echo '<h2 style="border-bottom: 1px solid black">'._('Attached files').'</h2>';
+		$boxTitle = 'Fichiers attachés (<a style="color:#FFFFFF;font-size:0.8em" href="?type='.$type.'&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$idBug.'&view=addAttachment">Ajouter un fichier</a>)';
+		if (isset($defect->attachments) && count($defect->attachments) > 0) {
+			echo	'<table class="innertabs">';
+			echo '<tr>';
+			echo '<td class="FullBoxTitle">'._('Filename').'</td>';
+			echo '<td class="FullBoxTitle">'._('Actions').'</td>';
+			echo '</tr>';
+			foreach ($defect->attachments as $key => $attachement){
+				echo	'<tr>';
+				echo		'<td class="FullBox">'.$attachement->filename.'</td>';
+				echo 		'<td class="FullBox">';
+				echo			'<input type=button value="'._('Download').'" onclick="window.location.href=\'getAttachment.php/'.$attachement->id.'/'.$attachement->filename.'\'">';
+				echo			'<input type=button value="'._('Delete').'" onclick="window.location.href=\'?type='.$type.'&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$idBug.'&idAttachment='.$attachement->id.'&action=deleteAttachment&view=viewIssue\'">';
+				echo		'</td>';
+				echo 	'</tr>';
+			}
+		echo "</table>";
+		} else {
+			echo '<p class="warning">'._('No attached files for this ticket').'</p>';
+		}
+	}
 ?>
 <style>
 .notice_title {
@@ -82,12 +86,12 @@
 }
 </style>
 <script type="text/javascript">
-    $(document).ready(function() {
-        $("#expandable_file").hide();
-    });    
+    jQuery(document).ready(function() {
+        jQuery("#expandable_file").hide();
+    });
 
 </script>
-<p class="notice_title" onclick='$("#expandable_file").slideToggle(300)'>Ajouter un fichier</p>
+<p class="notice_title" onclick='jQuery("#expandable_file").slideToggle(300)'><?php echo _('Add file') ?></p>
 <div id='expandable_file' class="notice_content">
 <?php
     include("addAttachment.php");

Modified: trunk/src/plugins/mantisbt/view/viewIssue.php
===================================================================
--- trunk/src/plugins/mantisbt/view/viewIssue.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/view/viewIssue.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -56,15 +56,15 @@
 	echo 			'<td width="14%" class="FullBoxTitle">'._('Target').'</td>';
 	echo		'</tr>';
 	echo		'<tr>';
-	echo 			'<td class="FullBox">'.$defect->category.'</td>';
-	echo 			'<td class="FullBox">'.$defect->severity->name.'</td>';
-	echo 			'<td class="FullBox">'.$defect->reproducibility->name.'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->category)) ? '' : $defect->category .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->severity->name)) ? '' : $defect->severity->name .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->reproducibility->name)) ? '' : $defect->reproducibility->name .'</td>';
 	// TODO a revoir le problème des dates
 	date_default_timezone_set("UTC");
 	echo 			'<td class="FullBox">'.date("Y-m-d G:i",strtotime($defect->date_submitted)).'</td>';
 	echo 			'<td class="FullBox">'.date("Y-m-d G:i",strtotime($defect->last_updated)).'</td>';
-	echo 			'<td class="FullBox">'.$defect->version.'</td>';
-	echo 			'<td class="FullBox">'.$defect->target_version.'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->version)) ? '' : $defect->version .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->target_version)) ? '' : $defect->target_version .'</td>';
 	echo		'</tr>';
 	echo		'<tr>';
 	echo 			'<td class="FullBoxTitle">'._('Reporter').'</td>';
@@ -75,12 +75,12 @@
 	echo 			'<td class="FullBoxTitle">'._('Fixed in').'</td>';
 	echo		'</tr>';
 	echo		'<tr>';
-	echo 			'<td class="FullBox">'.$defect->reporter->name.'</td>';
-	echo 			'<td class="FullBox">'.$defect->handler->name.'</td>';
-	echo 			'<td class="FullBox">'.$defect->priority->name.'</td>';
-	echo 			'<td class="FullBox">'.$defect->resolution->name.'</td>';
-	echo 			'<td class="FullBox">'.$defect->status->name.'</td>';
-	echo 			'<td class="FullBox">'.$defect->fixed_in_version.'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->reporter->name)) ? '' : $defect->reporter->name .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->handler->name)) ? '' : $defect->handler->name .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->priority->name)) ? '' : $defect->priority->name .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->resolution->name)) ? '' : $defect->resolution->name .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->status->name)) ? '' : $defect->status->name .'</td>';
+	echo 			'<td class="FullBox">'. (isset($defect->fixed_in_version)) ? '' : $defect->fixed_in_version .'</td>';
 	echo		'</tr>';
 	echo	'</table>';
 	echo	'<br />';
@@ -126,7 +126,7 @@
     });
 
 </script>
-<p class="notice_title" onclick='$("#expandable_edition").slideToggle(300)'><?php echo _('Edit ticket') ?></p>
+<p class="notice_title" onclick='jQuery("#expandable_edition").slideToggle(300)'><?php echo _('Edit ticket') ?></p>
 <div id='expandable_edition' class="notice_content">
 <?php
 	if (!isset($errorPage)) {

Modified: trunk/src/plugins/mantisbt/view/viewIssues.php
===================================================================
--- trunk/src/plugins/mantisbt/view/viewIssues.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/view/viewIssues.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -481,7 +481,7 @@
 			}else{
 				echo		'<td class="InText"></td>';
 			}
-			echo		'<td class="InText"><a class="DataLink" href="?type='.$type.'&id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$bug['id'].'&view=viewIssue">'.sprintf($format,$bug['id']).'</a></td>';
+			echo		'<td class="InText"><a class="DataLink" href="?type='.$type.'&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&idBug='.$bug['id'].'&view=viewIssue">'.sprintf($format,$bug['id']).'</a></td>';
 			echo 		'<td class="InText">'.$bug['category'].'</td>';
 			echo 		'<td class="InText">'.$bug['project'].'</td>';
 			echo 		'<td class="InText">';

Modified: trunk/src/plugins/mantisbt/www/index.php
===================================================================
--- trunk/src/plugins/mantisbt/www/index.php	2011-02-27 22:44:13 UTC (rev 12412)
+++ trunk/src/plugins/mantisbt/www/index.php	2011-02-28 09:50:23 UTC (rev 12413)
@@ -106,6 +106,14 @@
 			$password = $mantisbtConf['soap_password'];
 		}
 
+		$sort = getStringFromRequest('sort');
+		$dir = getStringFromRequest('dir');
+		$idBug = getStringFromRequest('idBug');
+		$idNote = getStringFromRequest('idNote');
+		$idAttachment = getStringFromRequest('idAttachment');
+		$actionAttachment = getStringFromRequest('actionAttachment');
+		$page = getStringFromRequest('page');
+
 		switch ($action) {
 			case "updateIssue":
 			case "addNote":
@@ -126,14 +134,6 @@
 
 		$mantisbt->getHeader('project');
 		// URL analysis
-		$sort = getStringFromRequest('sort');
-		$dir = getStringFromRequest('dir');
-		$action = getStringFromRequest('action');
-		$idBug = getStringFromRequest('idBug');
-		$idNote = getStringFromRequest('idNote');
-		$idAttachment = getStringFromRequest('idAttachment');
-		$actionAttachment = getStringFromRequest('actionAttachment');
-		$page = getStringFromRequest('page');
 
 		// Si la variable $_GET['page'] existe...
 		if($page != null && $page != ''){




More information about the Fusionforge-commits mailing list