*
* Copyright 2010-2011, Franck Villaume - Capgemini
* Copyright 2010, Antoine Mercadal - Capgemini
+ * Copyright 2012, Franck Villaume - TrivialDev
* http://fusionforge.org
*
- * This file is part of FusionForge.
- *
- * FusionForge is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This file is part of FusionForge. FusionForge is free software;
+ * you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software
+ * Foundation; either version 2 of the Licence, or (at your option)
+ * any later version.
*
* FusionForge is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with FusionForge; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License along
+ * with FusionForge; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
global $mantisbt;
global $password;
global $gfplugins;
global $editable;
+global $group_id;
if (!isset($defect)) {
try {
}
}
+if ($defect->project->id != $mantisbtConf['id_mantisbt']) {
+ echo '<div class="warning" >'. _('Woops: wrong issue id').'</div>';
+ $errorPage = true;
+}
+
if (!isset($errorPage)) {
- include('jumpToIssue.php');
- echo "<h2 style='border-bottom: 1px solid black'>Détail du ticket #$idBug</h2>";
+ include('jumpToIssue.php');
+ echo '<h2>'._('Ticket').' #'.$idBug.'</h2>';
echo '<table>';
echo '<tr style="background-color: gray;">';
echo '<td width="14%" >'._('Category').'</td>';
echo '</tr>';
echo '</table>';
?>
-<style>
-.notice_title {
- background-color: #D7E0EB;
- padding: 10px;
- font-weight: bold;
- margin-bottom:0px;
- cursor: pointer;
- color: #4F93C3;
-}
-
-.notice_content {
- border: 1px solid #D7E0EB;
- padding: 10px;
- font-weight: bold;
- -moz-border-radius-bottomright: 8px;
- -moz-border-radius-bottomleft: 8px;
- -webkit-border-bottom-right-radius: 8px;
- -webkit-border-bottom-left-radius: 8px;
- margin-top:0px;
-}
-</style>
<script type="text/javascript">
- jQuery(document).ready(function() {
- jQuery("#expandable_edition").hide();
- });
-
+ jQuery(document).ready(function() {
+ jQuery("#expandable_edition").hide();
+ });
</script>
<?php
if ($editable) {
include($gfplugins.$mantisbt->name."/view/viewNote.php");
include($gfplugins.$mantisbt->name."/view/viewAttachment.php");
}
-?>
\ No newline at end of file
+?>